[134445] trunk/dports/gnome/zenity

devans at macports.org devans at macports.org
Wed Mar 25 11:42:53 PDT 2015


Revision: 134445
          https://trac.macports.org/changeset/134445
Author:   devans at macports.org
Date:     2015-03-25 11:42:53 -0700 (Wed, 25 Mar 2015)
Log Message:
-----------
zenity: reconfigure using autogen.sh for intltool 0.51 compatibility.

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

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

Modified: trunk/dports/gnome/zenity/Portfile
===================================================================
--- trunk/dports/gnome/zenity/Portfile	2015-03-25 18:41:45 UTC (rev 134444)
+++ trunk/dports/gnome/zenity/Portfile	2015-03-25 18:42:53 UTC (rev 134445)
@@ -23,23 +23,26 @@
                 sha256  6b57ec6c456af17714dc366e63dabb8bbe0577878b61907805f0186d4d2b892f
 
 depends_build   port:pkgconfig \
+                port:intltool \
+                port:gtk-doc \
+                port:yelp-tools \
+                port:itstool \
                 port:gnome-common \
-                port:yelp-tools \
-                port:intltool \
-                port:itstool
+                port:autoconf \
+                port:automake \
+                port:libtool
 
 depends_lib     port:gtk3 \
                 port:libnotify \
                 path:lib/pkgconfig/webkitgtk-3.0.pc:webkit-gtk3
 
-# 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  --disable-silent-rules
 

Added: trunk/dports/gnome/zenity/files/autogen.sh
===================================================================
--- trunk/dports/gnome/zenity/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/zenity/files/autogen.sh	2015-03-25 18:42:53 UTC (rev 134445)
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="zenity"
+
+(test -f $srcdir/configure.ac \
+  && test -f $srcdir/ChangeLog \
+  && test -d $srcdir/src) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level zenity 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/20150325/0c13ea53/attachment.html>


More information about the macports-changes mailing list