# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name shared-mime-info version 1.7 maintainers nomaintainer categories devel license GPL-2+ platforms darwin description Database of common types. long_description The core database of common types and the \ update-mime-database command used to extend it. homepage https://www.freedesktop.org/wiki/Software/shared-mime-info/ master_sites https://people.freedesktop.org/~hadess/ use_xz yes checksums rmd160 45e289f50f3695366e29f4687f0de4d1042e7509 \ sha256 eacc781cfebaa2074e43cf9521dc7ab4391ace8a4712902b2841669c83144d2e depends_build port:pkgconfig \ port:intltool \ port:autoconf \ port:automake \ port:libtool depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:libxml2 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh use_parallel_build no configure.args --disable-silent-rules \ --disable-update-mimedb post-activate { ui_debug "Updating MIME database..." system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime" } livecheck.type regex livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)