source: trunk/dports/science/chemical-mime-data/Portfile

Last change on this file was 136197, checked in by devans@…, 2 years ago

chemical-mime-data: increment revision to fix locale install path.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 136197 2015-05-11 23:06:44Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                chemical-mime-data
7version             0.1.94
8revision            2
9
10categories          science chemistry
11platforms           darwin freebsd linux
12maintainers         nomaintainer
13license             LGPL-2
14supported_archs     noarch
15
16description         data files to support various chemical MIME types
17
18long_description    The chemical-mime-data package is a collection of data files to add support for various \
19                    chemical MIME types on Linux/UNIX desktops.
20
21homepage            http://chemical-mime.sourceforge.net/
22master_sites        sourceforge:project/chemical-mime/chemical-mime-data/${version}
23use_bzip2           yes
24
25checksums           rmd160  542274f991297e54f7ff881d0b49b8562fdb494c \
26                    sha256  4907cdf60e9edca0a453f6f24e9179ae9da085b67168e932ba44a4280316bff1
27
28depends_build       port:pkgconfig \
29                    port:intltool \
30                    port:gettext \
31                    port:ImageMagick \
32                    port:libxslt \
33                    port:autoconf \
34                    port:automake \
35                    port:libtool
36
37depends_lib         port:gtk3 \
38                    port:shared-mime-info
39
40# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
41
42post-patch {
43    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
44}
45
46configure.cmd       ./autogen.sh && ./configure
47
48configure.args      --disable-update-database \
49                    --without-gnome-mime
50
51post-activate {
52    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
53    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
54}
55
56livecheck.regex     "/${name}/(\[a-zA-Z0-9\.\]+\.\[a-zA-Z0-9\.\]+)/"
Note: See TracBrowser for help on using the repository browser.