source: trunk/dports/devel/shared-mime-info/Portfile

Last change on this file was 153500, checked in by devans@…, 14 months ago

shared-mime-info: disable silent rules.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 153500 2016-10-03 02:07:04Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                shared-mime-info
7version             1.7
8maintainers         nomaintainer
9categories          devel
10license             GPL-2+
11platforms           darwin
12description         Database of common types.
13
14long_description    The core database of common types and the \
15                    update-mime-database command used to extend it.
16
17homepage            https://www.freedesktop.org/wiki/Software/shared-mime-info/
18master_sites        https://people.freedesktop.org/~hadess/
19use_xz              yes
20
21checksums           rmd160  45e289f50f3695366e29f4687f0de4d1042e7509 \
22                    sha256  eacc781cfebaa2074e43cf9521dc7ab4391ace8a4712902b2841669c83144d2e
23
24depends_build       port:pkgconfig \
25                    port:intltool \
26                    port:autoconf \
27                    port:automake \
28                    port:libtool
29
30depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
31                    port:libxml2
32
33# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
34
35post-patch {
36    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
37}
38
39configure.cmd       ./autogen.sh
40
41use_parallel_build  no
42
43configure.args      --disable-silent-rules \
44                    --disable-update-mimedb
45
46post-activate {
47    ui_debug "Updating MIME database..."
48    system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
49}
50
51livecheck.type      regex
52livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.