[135543] trunk/dports/gnome/libwnck
devans at macports.org
devans at macports.org
Sat Apr 25 16:59:38 PDT 2015
Revision: 135543
https://trac.macports.org/changeset/135543
Author: devans at macports.org
Date: 2015-04-25 16:59:38 -0700 (Sat, 25 Apr 2015)
Log Message:
-----------
libwnck: reconfigure using upstream autogen.sh for intltool 0.51 compatibility, disable maintainer mode, requires gtk2 +x11 not gtk3.
Modified Paths:
--------------
trunk/dports/gnome/libwnck/Portfile
Added Paths:
-----------
trunk/dports/gnome/libwnck/files/
trunk/dports/gnome/libwnck/files/autogen.sh
Modified: trunk/dports/gnome/libwnck/Portfile
===================================================================
--- trunk/dports/gnome/libwnck/Portfile 2015-04-25 22:45:17 UTC (rev 135542)
+++ trunk/dports/gnome/libwnck/Portfile 2015-04-25 23:59:38 UTC (rev 135543)
@@ -28,28 +28,31 @@
depends_build port:pkgconfig \
port:intltool \
- port:gnome-doc-utils \
- port:gnome-common
+ port:gtk-doc \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:startup-notification \
port:gtk2 \
port:xorg-libXres
-require_active_variants gtk3 x11
+require_active_variants gtk2 x11
gobject_introspection yes
-# update m4/intltool.m4 and autoreconf
+# reconfigure using upstream 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 --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib \
+ --disable-maintainer-mode \
--disable-silent-rules
livecheck.type gnome
Added: trunk/dports/gnome/libwnck/files/autogen.sh
===================================================================
--- trunk/dports/gnome/libwnck/files/autogen.sh (rev 0)
+++ trunk/dports/gnome/libwnck/files/autogen.sh 2015-04-25 23:59:38 UTC (rev 135543)
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="libwnck"
+REQUIRED_AUTOMAKE_VERSION=1.9
+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."
+ exit 1
+}
+
+. gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150425/3d9a5ff6/attachment.html>
More information about the macports-changes
mailing list