# -*- 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: Portfile 140302 2015-09-16 19:13:58Z devans@macports.org $ PortSystem 1.0 name shared-mime-info version 1.5 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 http://freedesktop.org/wiki/Software/shared-mime-info master_sites http://people.freedesktop.org/~hadess/ use_xz yes checksums rmd160 05f9bd9388d0b3f18a3c36af11b549bc92509d09 \ sha256 d6412840eb265bf36e61fd7b6fc6bea21b0f58cb22bed16f2ccccdd54bea4180 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-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+)*)