[108022] trunk/dports/gnome/liferea/Portfile

devans at macports.org devans at macports.org
Wed Jul 10 13:27:17 PDT 2013


Revision: 108022
          https://trac.macports.org/changeset/108022
Author:   devans at macports.org
Date:     2013-07-10 13:27:17 -0700 (Wed, 10 Jul 2013)
Log Message:
-----------
liferea: update desktop database, hicolor icon cache, gconf schemas post activate, dependencies, use notes.

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

Modified: trunk/dports/gnome/liferea/Portfile
===================================================================
--- trunk/dports/gnome/liferea/Portfile	2013-07-10 20:15:18 UTC (rev 108021)
+++ trunk/dports/gnome/liferea/Portfile	2013-07-10 20:27:17 UTC (rev 108022)
@@ -22,10 +22,18 @@
 checksums           md5     b5a2c0803eec5d0aff0b9ca4114eaf16 \
                     sha1    f24dbd0e81c5a8309f0d19853211fc02ff818477 \
                     rmd160  77b384595a757983ab9d3f8ed91d824628991670
-depends_build       port:intltool port:pkgconfig
-depends_lib         port:gtk2 port:gconf port:libxml2 port:libxslt \
-                    port:sqlite3 port:webkit-gtk port:libglade2
+depends_build       port:intltool \
+                    port:pkgconfig
 
+depends_lib         port:desktop-file-utils \
+                    port:gtk2 \
+                    port:gconf \
+                    port:libxml2 \
+                    port:libxslt \
+                    port:sqlite3 \
+                    port:webkit-gtk \
+                    port:libglade2
+
 configure.args      --disable-lua
 
 variant lua description {LUA scripting support} {
@@ -41,12 +49,19 @@
 }
 
 post-activate {
-    ui_msg "The date/time format has changed. If you want to override the"
-    ui_msg "new one, you need to run"
-    ui_msg "  gconftool-2 -s -t string /apps/liferea/date-format <format>"
-    ui_msg "where <format> is the format in strftime syntax."
+    system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
+    system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
+    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
+        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
 }
 
+notes {
+    The date/time format has changed. If you want to override the
+    new one, you need to run
+        gconftool-2 -s -t string /apps/liferea/date-format <format>
+    where <format> is the format in strftime syntax.
+}
+
 livecheck.type      regex
 livecheck.url       https://sourceforge.net/projects/liferea/files/Liferea%20Stable/
 livecheck.regex     "Click to enter (\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130710/74638d7d/attachment.html>


More information about the macports-changes mailing list