[107999] trunk/dports/editors/leafpad/Portfile

devans at macports.org devans at macports.org
Wed Jul 10 10:01:52 PDT 2013


Revision: 107999
          https://trac.macports.org/changeset/107999
Author:   devans at macports.org
Date:     2013-07-10 10:01:52 -0700 (Wed, 10 Jul 2013)
Log Message:
-----------
leafpad: update desktop database, hicolor icon cache post activate, description, license.

Modified Paths:
--------------
    trunk/dports/editors/leafpad/Portfile

Modified: trunk/dports/editors/leafpad/Portfile
===================================================================
--- trunk/dports/editors/leafpad/Portfile	2013-07-10 16:57:46 UTC (rev 107998)
+++ trunk/dports/editors/leafpad/Portfile	2013-07-10 17:01:52 UTC (rev 107999)
@@ -5,7 +5,8 @@
 
 name            leafpad
 version         0.8.17
-description     A simple GTK texteditor.
+license         GPL-2
+description     A simple GTK+ 2 text editor that emphasizes simplicity.
 long_description \
                 ${description}
 maintainers     nomaintainer
@@ -21,4 +22,10 @@
 depends_build   port:pkgconfig
 
 depends_lib     port:gtk2 \
-                port:freetype
+                port:freetype \
+                port:desktop-file-utils
+
+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: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130710/c59ad0e4/attachment-0001.html>


More information about the macports-changes mailing list