[107896] trunk/dports/devel/glade/Portfile

devans at macports.org devans at macports.org
Mon Jul 8 13:08:10 PDT 2013


Revision: 107896
          https://trac.macports.org/changeset/107896
Author:   devans at macports.org
Date:     2013-07-08 13:08:10 -0700 (Mon, 08 Jul 2013)
Log Message:
-----------
glade: update desktop database, hicolor icon cache post activate.

Modified Paths:
--------------
    trunk/dports/devel/glade/Portfile

Modified: trunk/dports/devel/glade/Portfile
===================================================================
--- trunk/dports/devel/glade/Portfile	2013-07-08 20:00:17 UTC (rev 107895)
+++ trunk/dports/devel/glade/Portfile	2013-07-08 20:08:10 UTC (rev 107896)
@@ -31,7 +31,8 @@
 depends_lib     port:gtk3 \
                 port:libxml2
 
-depends_run     port:hicolor-icon-theme \
+depends_run     port:desktop-file-utils \
+                port:hicolor-icon-theme \
                 port:devhelp
 
 patchfiles      patch-configure.diff
@@ -68,4 +69,9 @@
     default_variants +python27
 }
 
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
+}
+
 livecheck.type  gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130708/8952ad93/attachment.html>


More information about the macports-changes mailing list