[134432] trunk/dports/gnome/gnome-icon-theme

devans at macports.org devans at macports.org
Wed Mar 25 09:31:34 PDT 2015


Revision: 134432
          https://trac.macports.org/changeset/134432
Author:   devans at macports.org
Date:     2015-03-25 09:31:34 -0700 (Wed, 25 Mar 2015)
Log Message:
-----------
gnome-icon-theme: reconfigure using autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/gnome/gnome-icon-theme/Portfile

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

Modified: trunk/dports/gnome/gnome-icon-theme/Portfile
===================================================================
--- trunk/dports/gnome/gnome-icon-theme/Portfile	2015-03-25 16:19:00 UTC (rev 134431)
+++ trunk/dports/gnome/gnome-icon-theme/Portfile	2015-03-25 16:31:34 UTC (rev 134432)
@@ -23,21 +23,23 @@
 checksums           rmd160  90cde65cc4459f9fdc2b9ab480951c78465a2582 \
                     sha256  359e720b9202d3aba8d477752c4cd11eced368182281d51ffd64c8572b4e503a
 
-depends_build       port:intltool \
-                    port:pkgconfig \
+depends_build       port:pkgconfig \
+                    port:intltool \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
                     port:icon-naming-utils \
                     port:gtk3
     
 supported_archs     noarch
 
-# update m4/intltool.m4 and autoreconf
+# reconfigure using autogen.sh for intltool 0.51 compatibility
 
 post-patch {
-    copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
-use_autoreconf      yes
-autoreconf.args     -fi
+configure.cmd       ./autogen.sh
 
 configure.env-append \
                     GTK_UPDATE_ICON_CACHE=${prefix}/bin/gtk-update-icon-cache-3.0

Added: trunk/dports/gnome/gnome-icon-theme/files/autogen.sh
===================================================================
--- trunk/dports/gnome/gnome-icon-theme/files/autogen.sh	                        (rev 0)
+++ trunk/dports/gnome/gnome-icon-theme/files/autogen.sh	2015-03-25 16:31:34 UTC (rev 134432)
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="adwaita-icon-theme"
+REQUIRED_AUTOMAKE_VERSION=1.9
+
+(test -f $srcdir/configure.ac \
+  && test -f $srcdir/index.theme.in.in \
+  && test -d $srcdir/src) || {
+    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 GNOME git"
+    exit 1
+}
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150325/abb3d66a/attachment.html>


More information about the macports-changes mailing list