Revision
117440
Author
devans@macports.org
Date
2014-02-26 01:39:48 -0800 (Wed, 26 Feb 2014)

Log Message

seahorse: replace in-tree intltool.m4 with our version, autoreconf to correct intltool configuration, build deps.

Modified Paths

Diff

Modified: trunk/dports/gnome/seahorse/Portfile (117439 => 117440)


--- trunk/dports/gnome/seahorse/Portfile	2014-02-26 09:03:30 UTC (rev 117439)
+++ trunk/dports/gnome/seahorse/Portfile	2014-02-26 09:39:48 UTC (rev 117440)
@@ -26,7 +26,9 @@
 
 depends_build   port:pkgconfig \
                 port:intltool \
-                port:itstool
+                port:itstool \
+                port:yelp-tools \
+                port:gnome-common
 
 depends_lib     port:desktop-file-utils \
                 port:gtk3 \
@@ -47,6 +49,15 @@
 patchfiles      patch-gkr-seahorse-gkr-actions.c.diff \
                 patch-gkr-seahorse-gkr-backend.c.diff
 
+# update m4/intltool.m4 and autoreconf
+
+pre-configure {
+    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+}
+
+use_autoreconf  yes
+autoreconf.args -fvi
+
 post-activate {
     system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications"
     system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"