[108015] trunk/dports/gnome/gnome-photo-print/Portfile

devans at macports.org devans at macports.org
Wed Jul 10 12:51:13 PDT 2013


Revision: 108015
          https://trac.macports.org/changeset/108015
Author:   devans at macports.org
Date:     2013-07-10 12:51:13 -0700 (Wed, 10 Jul 2013)
Log Message:
-----------
gnome-photo-print: update desktop database, hicolor icon cache post activate, dependencies, license.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-photo-print/Portfile

Modified: trunk/dports/gnome/gnome-photo-print/Portfile
===================================================================
--- trunk/dports/gnome/gnome-photo-print/Portfile	2013-07-10 19:46:45 UTC (rev 108014)
+++ trunk/dports/gnome/gnome-photo-print/Portfile	2013-07-10 19:51:13 UTC (rev 108015)
@@ -6,6 +6,7 @@
 name            gnome-photo-print
 set gname       gpp
 version         0.7.0
+license         GPL-2
 description     Gnome Photo Printer is intended for printing photos in an easy way.
 long_description \
                 ${description}
@@ -24,10 +25,16 @@
                 port:pkgconfig
 
 depends_lib     port:libgnomeprintui \
-                port:libgnomeui
+                port:libgnomeui \
+                port:desktop-file-utils
 
 configure.args  --mandir=${prefix}/share/man
 configure.cppflags-append "-L${prefix}/lib"
 
+post-activate {
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+}
+
 livecheck.type  regex
 livecheck.regex "${gname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130710/ddc3cda8/attachment.html>


More information about the macports-changes mailing list