[107546] trunk/dports/graphics/inkscape/Portfile

devans at macports.org devans at macports.org
Tue Jul 2 14:04:21 PDT 2013


Revision: 107546
          https://trac.macports.org/changeset/107546
Author:   devans at macports.org
Date:     2013-07-02 14:04:21 -0700 (Tue, 02 Jul 2013)
Log Message:
-----------
inkscape: update desktop database post activate.

Modified Paths:
--------------
    trunk/dports/graphics/inkscape/Portfile

Modified: trunk/dports/graphics/inkscape/Portfile
===================================================================
--- trunk/dports/graphics/inkscape/Portfile	2013-07-02 20:53:41 UTC (rev 107545)
+++ trunk/dports/graphics/inkscape/Portfile	2013-07-02 21:04:21 UTC (rev 107546)
@@ -6,7 +6,7 @@
 name            inkscape
 conflicts       inkscape-devel
 version         0.48.4
-revision        10
+revision        11
 license         GPL-2 LGPL-2.1
 maintainers     devans
 categories      graphics gnome
@@ -34,7 +34,8 @@
                 port:intltool \
                 path:bin/perl:perl5
 
-depends_lib     port:popt \
+depends_lib     port:desktop-file-utils \
+                port:popt \
                 path:lib/libgc.dylib:boehmgc \
                 port:gsl \
                 port:gtkmm \
@@ -111,7 +112,8 @@
 }
 
 post-activate {
-        system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+   system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+   system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
 }
 
 livecheck.type          regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130702/7793b0e5/attachment.html>


More information about the macports-changes mailing list