[135653] trunk/dports/gnome/gdl

devans at macports.org devans at macports.org
Tue Apr 28 19:05:48 PDT 2015


Revision: 135653
          https://trac.macports.org/changeset/135653
Author:   devans at macports.org
Date:     2015-04-28 19:05:47 -0700 (Tue, 28 Apr 2015)
Log Message:
-----------
gdl: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.

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

Added Paths:
-----------
    trunk/dports/gnome/gdl/files/autogen.sh

Modified: trunk/dports/gnome/gdl/Portfile
===================================================================
--- trunk/dports/gnome/gdl/Portfile	2015-04-29 01:34:19 UTC (rev 135652)
+++ trunk/dports/gnome/gdl/Portfile	2015-04-29 02:05:47 UTC (rev 135653)
@@ -27,7 +27,11 @@
 
 depends_build       port:pkgconfig \
                     port:intltool \
-                    port:gtk-doc
+                    port:gtk-doc \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:gtk2 \
                     port:libxml2
@@ -35,10 +39,13 @@
 patchfiles          returns.patch \
                     patch_glib_2.30_G_CONST_RETURN.diff
 
-# reconfigure with our intltool.m4
+# reconfigure using upstream 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
+
 # this is the last stable version of gdl that provides gdl-2.0
 livecheck.type      none

Added: trunk/dports/gnome/gdl/files/autogen.sh
===================================================================
--- trunk/dports/gnome/gdl/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/gdl/files/autogen.sh	2015-04-29 02:05:47 UTC (rev 135653)
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME=gdl
+
+(test -f $srcdir/configure.in \
+  && test -f $srcdir/autogen.sh \
+  && test -d $srcdir/gdl) || {
+    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 from the GNOME SVN"
+    exit 1
+}
+
+REQUIRED_AUTOMAKE_VERSION=1.9 GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150428/60cdcb54/attachment.html>


More information about the macports-changes mailing list