[108201] trunk/dports/gnome/alacarte/Portfile

devans at macports.org devans at macports.org
Mon Jul 15 18:59:58 PDT 2013


Revision: 108201
          https://trac.macports.org/changeset/108201
Author:   devans at macports.org
Date:     2013-07-15 18:59:58 -0700 (Mon, 15 Jul 2013)
Log Message:
-----------
alacarte: add runtime dependencies, notes concerning required environment variables.

Modified Paths:
--------------
    trunk/dports/gnome/alacarte/Portfile

Modified: trunk/dports/gnome/alacarte/Portfile
===================================================================
--- trunk/dports/gnome/alacarte/Portfile	2013-07-15 23:18:43 UTC (rev 108200)
+++ trunk/dports/gnome/alacarte/Portfile	2013-07-16 01:59:58 UTC (rev 108201)
@@ -35,6 +35,9 @@
                 port:gtk2 \
                 port:gnome-menus
 
+depends_run     port:gnome-settings-daemon \
+                port:yelp
+
 patchfiles      patch-Makefile.in.diff \
                 patch-configure.diff
 
@@ -61,6 +64,15 @@
     file rename ${destroot}${prefix}/bin/alacarte.py ${destroot}${prefix}/bin/alacarte
 }
 
+notes {
+    Be sure to set the following environment variables:
+
+        export XDG_DATA_DIRS=${prefix}/share
+        export XDG_CONFIG_DIRS=${prefix}/etc/xdg
+
+    Alacarte needs them to find installed applications and menus to edit.
+}
+
 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/20130715/54a402d4/attachment.html>


More information about the macports-changes mailing list