[107309] trunk/dports/gnome/gedit/Portfile

devans at macports.org devans at macports.org
Tue Jun 25 08:49:15 PDT 2013


Revision: 107309
          https://trac.macports.org/changeset/107309
Author:   devans at macports.org
Date:     2013-06-25 08:49:15 -0700 (Tue, 25 Jun 2013)
Log Message:
-----------
gedit: dependencies, update desktop database post activate.

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

Modified: trunk/dports/gnome/gedit/Portfile
===================================================================
--- trunk/dports/gnome/gedit/Portfile	2013-06-25 15:14:29 UTC (rev 107308)
+++ trunk/dports/gnome/gedit/Portfile	2013-06-25 15:49:15 UTC (rev 107309)
@@ -5,7 +5,7 @@
 
 name            gedit
 version         2.30.4
-revision        6
+revision        7
 license         GPL-2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 description     GNOME editor.
@@ -24,7 +24,8 @@
 depends_build   port:gtk-doc \
                 port:intltool \
                 port:gnome-doc-utils \
-                port:pkgconfig
+                port:pkgconfig \
+                port:desktop-file-utils
 
 depends_lib     port:gconf \
                 port:iso-codes \
@@ -32,6 +33,9 @@
                 port:xorg-libsm \
                 port:rarian
 
+depends_run     port:gnome-settings-daemon \
+                port:yelp
+
 use_bzip2       yes
 
 patchfiles      patch-configure.diff
@@ -66,9 +70,10 @@
 }
 
 post-activate    {
-        system "${prefix}/bin/scrollkeeper-update"
-        system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
-             gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
+    system "${prefix}/bin/scrollkeeper-update"
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
 }
 
 livecheck.type  gnome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130625/b5d9ccfe/attachment.html>


More information about the macports-changes mailing list