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

Last change on this file since 144854 was 140308, checked in by devans@…, 4 years ago

shared-mime-info: update to version 1.5.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 140308 2015-09-16 22:12:25Z devans@macports.org $
3
4PortSystem          1.0
5
6name                shared-mime-info
7version             1.5
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            http://freedesktop.org/wiki/Software/shared-mime-info
18master_sites        http://people.freedesktop.org/~hadess/
19use_xz              yes
20
21checksums           rmd160  05f9bd9388d0b3f18a3c36af11b549bc92509d09 \
22                    sha256  d6412840eb265bf36e61fd7b6fc6bea21b0f58cb22bed16f2ccccdd54bea4180
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-update-mimedb
44
45post-activate {
46    ui_debug "Updating MIME database..."
47    system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
48}
49
50livecheck.type      regex
51livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.