[134304] trunk/dports/x11/gtk-engines2

devans at macports.org devans at macports.org
Sat Mar 21 14:57:11 PDT 2015


Revision: 134304
          https://trac.macports.org/changeset/134304
Author:   devans at macports.org
Date:     2015-03-21 14:57:11 -0700 (Sat, 21 Mar 2015)
Log Message:
-----------
gtk-engines2: reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/x11/gtk-engines2/Portfile

Added Paths:
-----------
    trunk/dports/x11/gtk-engines2/files/autogen.sh

Modified: trunk/dports/x11/gtk-engines2/Portfile
===================================================================
--- trunk/dports/x11/gtk-engines2/Portfile	2015-03-21 21:53:05 UTC (rev 134303)
+++ trunk/dports/x11/gtk-engines2/Portfile	2015-03-21 21:57:11 UTC (rev 134304)
@@ -30,7 +30,11 @@
                 rmd160  941b71cd2346a349d89f68962c2ce28e3520297c
 
 depends_build   port:intltool \
-                port:pkgconfig
+                port:pkgconfig \
+                port:gnome-common \
+                port:autoconf \
+                port:automake \
+                port:libtool
 
 depends_lib     port:gtk2
 
@@ -38,11 +42,14 @@
                 patch-remove-lua-engine.diff \
                 no-test.patch
 
-# autoreconf to reconfigure with our intltool.m4
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
-use_autoreconf  yes
-autoreconf.args -fvi
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
 
+configure.cmd   ./autogen.sh
+
 configure.args  --enable-animation
 
 # no further version updates expected

Added: trunk/dports/x11/gtk-engines2/files/autogen.sh
===================================================================
--- trunk/dports/x11/gtk-engines2/files/autogen.sh	                        (rev 0)
+++ trunk/dports/x11/gtk-engines2/files/autogen.sh	2015-03-21 21:57:11 UTC (rev 134304)
@@ -0,0 +1,20 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gtk-engines"
+
+(test -f $srcdir/Makefile.am) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common"
+    exit 1
+}
+
+. gnome-autogen.sh --enable-gtk-doc $*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150321/01d11b04/attachment.html>


More information about the macports-changes mailing list