[134443] trunk/dports/gnome/totem-pl-parser

devans at macports.org devans at macports.org
Wed Mar 25 11:28:17 PDT 2015


Revision: 134443
          https://trac.macports.org/changeset/134443
Author:   devans at macports.org
Date:     2015-03-25 11:28:17 -0700 (Wed, 25 Mar 2015)
Log Message:
-----------
totem-pl-parser: reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/gnome/totem-pl-parser/Portfile

Added Paths:
-----------
    trunk/dports/gnome/totem-pl-parser/files/autogen.sh

Modified: trunk/dports/gnome/totem-pl-parser/Portfile
===================================================================
--- trunk/dports/gnome/totem-pl-parser/Portfile	2015-03-25 18:13:44 UTC (rev 134442)
+++ trunk/dports/gnome/totem-pl-parser/Portfile	2015-03-25 18:28:17 UTC (rev 134443)
@@ -25,7 +25,11 @@
 
 depends_build       port:pkgconfig \
                     port:intltool \
-                    port:gnome-common
+                    port:gtk-doc \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:libsoup \
                     port:libarchive \
@@ -34,18 +38,17 @@
                     port:libxml2 \
                     port:gmime
 
+gobject_introspection yes
+
 patchfiles          patch-plparse-plparser.symbols.diff
 
-gobject_introspection yes
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
-# update m4/intltool.m4 and autoreconf
-
-pre-configure {
-    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
-use_autoreconf      yes
-autoreconf.args     -fvi
+configure.cmd       ./autogen.sh
 
 configure.args      --enable-libarchive \
                     --enable-libgcrypt \

Added: trunk/dports/gnome/totem-pl-parser/files/autogen.sh
===================================================================
--- trunk/dports/gnome/totem-pl-parser/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/totem-pl-parser/files/autogen.sh	2015-03-25 18:28:17 UTC (rev 134443)
@@ -0,0 +1,21 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="totem-pl-parser"
+REQUIRED_M4MACROS=introspection.m4
+
+(test -f $srcdir/configure.ac) || {
+    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_PKG_CONFIG_VERSION=0.17.1 REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 . gnome-autogen.sh "$@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150325/41641651/attachment.html>


More information about the macports-changes mailing list