[134691] users/devans/GNOME-3/stable/dports/gnome/libgnomekbd

devans at macports.org devans at macports.org
Fri Apr 3 06:11:31 PDT 2015


Revision: 134691
          https://trac.macports.org/changeset/134691
Author:   devans at macports.org
Date:     2015-04-03 06:11:31 -0700 (Fri, 03 Apr 2015)
Log Message:
-----------
GNOME-3/stable: libgnomekbd, reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/files/
    users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/files/autogen.sh

Modified: users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile	2015-04-03 13:10:29 UTC (rev 134690)
+++ users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/Portfile	2015-04-03 13:11:31 UTC (rev 134691)
@@ -26,7 +26,10 @@
 
 depends_build       port:pkgconfig \
                     port:intltool \
-                    port:gnome-common
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:desktop-file-utils \
                     port:gtk3 \
@@ -34,14 +37,13 @@
 
 gobject_introspection yes
 
-# update m4/intltool.m4 and autoreconf
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
-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      --without-x \
                     --disable-schemas-compile \

Added: users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/files/autogen.sh
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/files/autogen.sh	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/libgnomekbd/files/autogen.sh	2015-04-03 13:11:31 UTC (rev 134691)
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="libgnomekbd"
+
+(test -f $srcdir/configure.in \
+  && test -f $srcdir/autogen.sh \
+  && test -d $srcdir/libgnomekbd) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level $PKG_NAME directory"
+    exit 1
+}
+
+DIE=0
+
+if ! which gnome-autogen.sh ; then
+  echo "You need to install the gnome-common module and make"
+  echo "sure the gnome-autogen.sh script is in your \$PATH."
+  exit 1
+fi
+
+REQUIRED_AUTOMAKE_VERSION=1.9 . gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150403/c57f9d9d/attachment-0001.html>


More information about the macports-changes mailing list