[126890] trunk/dports/science/chemical-mime-data/Portfile

devans at macports.org devans at macports.org
Thu Oct 16 15:02:22 PDT 2014


Revision: 126890
          https://trac.macports.org/changeset/126890
Author:   devans at macports.org
Date:     2014-10-16 15:02:22 -0700 (Thu, 16 Oct 2014)
Log Message:
-----------
chemical-mime-data: update mime database, hicolor icon cache in post-activate rather than during build, don't install outdated GNOME 2.4 mime data, update dependencies, fix livecheck.

Modified Paths:
--------------
    trunk/dports/science/chemical-mime-data/Portfile

Modified: trunk/dports/science/chemical-mime-data/Portfile
===================================================================
--- trunk/dports/science/chemical-mime-data/Portfile	2014-10-16 21:56:33 UTC (rev 126889)
+++ trunk/dports/science/chemical-mime-data/Portfile	2014-10-16 22:02:22 UTC (rev 126890)
@@ -5,6 +5,7 @@
 
 name                chemical-mime-data
 version             0.1.94
+revision            1
 
 categories          science chemistry
 platforms           darwin freebsd linux
@@ -27,15 +28,19 @@
 depends_build       port:pkgconfig \
                     port:intltool \
                     port:gettext \
-                    port:gnome-mime-data \
-                    port:shared-mime-info \
-                    port:ImageMagick \
                     port:libxslt
 
+depends_lib         port:gtk3 \
+                    port:shared-mime-info
+
 patchfiles          patch-configure.diff
 
-post-destroot {
-    foreach f {XMLnamespaces aliases generic-icons globs globs2 icons magic mime.cache subclasses treemagic types version} {
-        delete ${destroot}${prefix}/share/mime/${f}
-    }
+configure.args      --disable-update-database \
+                    --without-gnome-mime
+
+post-activate {
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+    system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
 }
+
+livecheck.regex     "/${name}/(\[a-zA-Z0-9\.\]+\.\[a-zA-Z0-9\.\]+)/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141016/d25a34ef/attachment.html>


More information about the macports-changes mailing list