[135622] trunk/dports/security/gnomint

devans at macports.org devans at macports.org
Mon Apr 27 23:23:37 PDT 2015


Revision: 135622
          https://trac.macports.org/changeset/135622
Author:   devans at macports.org
Date:     2015-04-27 23:23:37 -0700 (Mon, 27 Apr 2015)
Log Message:
-----------
gnomint: reconfigure using upstream autogen.sh for intltool 0.51 compatibility.

Modified Paths:
--------------
    trunk/dports/security/gnomint/Portfile

Added Paths:
-----------
    trunk/dports/security/gnomint/files/autogen.sh

Modified: trunk/dports/security/gnomint/Portfile
===================================================================
--- trunk/dports/security/gnomint/Portfile	2015-04-28 05:52:02 UTC (rev 135621)
+++ trunk/dports/security/gnomint/Portfile	2015-04-28 06:23:37 UTC (rev 135622)
@@ -25,7 +25,11 @@
                     sha256  6186ca6073e912bad5e0b026bc704430098a54392f3741d62929cc6fca3c38b0
 
 depends_build       port:intltool \
-                    port:pkgconfig
+                    port:pkgconfig \
+                    port:gnome-common \
+                    port:autoconf \
+                    port:automake \
+                    port:libtool
 
 depends_lib         port:gconf \
                     port:gettext \
@@ -41,4 +45,10 @@
                     patch-src-Makefile.am.diff \
                     patch-src-import.c.diff
 
-use_autoreconf      yes
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+
+post-patch {
+    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
+configure.cmd       ./autogen.sh

Added: trunk/dports/security/gnomint/files/autogen.sh
===================================================================
--- trunk/dports/security/gnomint/files/autogen.sh	                        (rev 0)
+++ trunk/dports/security/gnomint/files/autogen.sh	2015-04-28 06:23:37 UTC (rev 135622)
@@ -0,0 +1,24 @@
+#!/bin/bash
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="gnoMint"
+AUTOCONF=autoconf
+REQUIRED_AUTOCONF_VERSION=2.59
+AUTOMAKE=automake-1.9
+REQUIRED_AUTOMAKE_VERSION=1.9
+
+(test -f $srcdir/configure.in \
+  && test -d $srcdir/src \
+  && test -f $srcdir/src/main.c) || {
+    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+    echo " top-level gnoMint directory"
+    exit 1
+}
+
+gnome_autogen=`which gnome-autogen.sh`
+test -z "$gnome_autogen"
+
+USE_GNOME2_MACROS=1 . $gnome_autogen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150427/5ef45bc0/attachment.html>


More information about the macports-changes mailing list