[127086] trunk/dports/xfce/Terminal/Portfile

devans at macports.org devans at macports.org
Mon Oct 20 12:10:52 PDT 2014


Revision: 127086
          https://trac.macports.org/changeset/127086
Author:   devans at macports.org
Date:     2014-10-20 12:10:52 -0700 (Mon, 20 Oct 2014)
Log Message:
-----------
Terminal: register app in desktop database and update hicolor icon cache post-activate (#45352. maintainer timeout.

Modified Paths:
--------------
    trunk/dports/xfce/Terminal/Portfile

Modified: trunk/dports/xfce/Terminal/Portfile
===================================================================
--- trunk/dports/xfce/Terminal/Portfile	2014-10-20 19:01:34 UTC (rev 127085)
+++ trunk/dports/xfce/Terminal/Portfile	2014-10-20 19:10:52 UTC (rev 127086)
@@ -5,7 +5,7 @@
 
 name            Terminal
 version         0.4.5
-revision        2
+revision        3
 categories      xfce
 platforms       darwin
 license         GPL-2+
@@ -23,8 +23,14 @@
 
 depends_build   port:intltool port:pkgconfig
 depends_lib     port:exo port:vte-gtk2-compat port:dbus port:gtk2 \
-                path:include/glib-2.0/gio/gio.h:glib2 port:hicolor-icon-theme
+                path:include/glib-2.0/gio/gio.h:glib2 port:hicolor-icon-theme \
+                port:desktop-file-utils
 
 configure.args  --enable-dbus
 
 patchfiles      patch-terminal-Makefile.in
+
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141020/93dd9cf0/attachment.html>


More information about the macports-changes mailing list