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

Last change on this file since 38077 was 38077, checked in by ryandesign@…, 11 years ago

In all openmaintainer and nomaintainer ports and my ports, depend on glib2 via a path in ${prefix} so that either glib2 or glib2-devel can satisfy the dependency

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 38077 2008-07-05 21:37:56Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            shared-mime-info
6version         0.40
7maintainers     nomaintainer
8categories      devel
9platforms       darwin
10description     Database of common types.
11
12long_description \
13    The core database of common types and the \
14    update-mime-database command used to extend it.
15
16homepage        http://freedesktop.org/wiki/Software/shared-mime-info
17master_sites    http://people.freedesktop.org/~hadess/
18use_bzip2       yes
19
20checksums       md5 b86a0aa5e87a307ede576088c6450a29 \
21                sha1 3d73f96c99fa9576db845bfaf2a6156f7a916668 \
22                rmd160 a0ca15090e440ee2d7d9be396b9a7f500d8bda5f
23
24depends_build   port:pkgconfig \
25                port:perl5.8 \
26                port:p5-xml-parser
27
28depends_lib     port:gettext \
29                path:${prefix}/lib/pkgconfig/glib-2.0.pc:glib2 \
30                port:libiconv \
31                port:libxml2 \
32                port:zlib
33
34configure.args  --disable-update-mimedb
35
36configure.cppflags-append   -L${prefix}/lib
37configure.cflags-append     -no-cpp-precomp -flat_namespace -undefined suppress -L${prefix}/lib
38
39post-activate {
40    ui_debug "Updating MIME database..."
41    system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
42}
43
44livecheck.check regex
45livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.