[134303] trunk/dports/gnome/gnome-js-common

devans at macports.org devans at macports.org
Sat Mar 21 14:53:05 PDT 2015


Revision: 134303
          https://trac.macports.org/changeset/134303
Author:   devans at macports.org
Date:     2015-03-21 14:53:05 -0700 (Sat, 21 Mar 2015)
Log Message:
-----------
gnome-js-common: reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-js-common/Portfile

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

Modified: trunk/dports/gnome/gnome-js-common/Portfile
===================================================================
--- trunk/dports/gnome/gnome-js-common/Portfile	2015-03-21 21:52:09 UTC (rev 134302)
+++ trunk/dports/gnome/gnome-js-common/Portfile	2015-03-21 21:53:05 UTC (rev 134303)
@@ -30,11 +30,18 @@
 depends_build   port:pkgconfig \
                 port:intltool \
                 port:gettext \
-                path:lib/pkgconfig/glib-2.0.pc:glib2
+                path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                port:gnome-common \
+                port:autoconf \
+                port:automake \
+                port:libtool
 
-# autoreconf to re-configure with MacPorts 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
+
 livecheck.type  gnome-with-unstable

Added: trunk/dports/gnome/gnome-js-common/files/autogen.sh
===================================================================
--- trunk/dports/gnome/gnome-js-common/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/gnome-js-common/files/autogen.sh	2015-03-21 21:53:05 UTC (rev 134303)
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gnome-js-common"
+
+which gnome-autogen.sh || {
+    echo "You need to install gnome-common and make"
+    echo "sure the gnome-autogen.sh script is in your \$PATH."
+    exit 1
+}
+
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150321/93808320/attachment.html>


More information about the macports-changes mailing list