[136238] trunk/dports/gnome/conglomerate
devans at macports.org
devans at macports.org
Tue May 12 15:00:34 PDT 2015
Revision: 136238
https://trac.macports.org/changeset/136238
Author: devans at macports.org
Date: 2015-05-12 15:00:34 -0700 (Tue, 12 May 2015)
Log Message:
-----------
conglomerate: reconfigure using upstream autogen.sh for intltool 0.51 compatibility. disable regeneration of gtk docs, increment revision to rebuild.
Modified Paths:
--------------
trunk/dports/gnome/conglomerate/Portfile
Added Paths:
-----------
trunk/dports/gnome/conglomerate/files/autogen.sh
Modified: trunk/dports/gnome/conglomerate/Portfile
===================================================================
--- trunk/dports/gnome/conglomerate/Portfile 2015-05-12 20:40:54 UTC (rev 136237)
+++ trunk/dports/gnome/conglomerate/Portfile 2015-05-12 22:00:34 UTC (rev 136238)
@@ -5,7 +5,7 @@
name conglomerate
version 0.9.1
-revision 2
+revision 3
license GPL-2+
description Conglomerate aims to be an XML editor that everyone can use.
long_description ${description}
@@ -20,9 +20,14 @@
depends_build port:pkgconfig \
port:intltool \
port:gnome-doc-utils \
- port:gtk-doc
+ port:gtk-doc \
+ port:gnome-common \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:desktop-file-utils \
+ port:rarian \
port:libgnomeui \
port:libgnomeprintui \
port:gtksourceview \
@@ -36,7 +41,16 @@
patchfiles patch-src-cong-language.c.diff
+# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
+
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+}
+
+configure.cmd ./autogen.sh
+
configure.args --enable-printing \
+ --disable-gtk-doc \
--disable-schemas-install
post-activate {
Added: trunk/dports/gnome/conglomerate/files/autogen.sh
===================================================================
--- trunk/dports/gnome/conglomerate/files/autogen.sh (rev 0)
+++ trunk/dports/gnome/conglomerate/files/autogen.sh 2015-05-12 22:00:34 UTC (rev 136238)
@@ -0,0 +1,26 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="Conglomerate"
+
+(test -f $srcdir/configure.in \
+ && test -f $srcdir/src/main.c) || {
+ 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 the 'gnome-common' package"
+ echo "or get it from the GNOME CVS."
+ exit 1
+}
+
+# Ensure that we always configure with --enable-werror when building from CVS:
+#REQUIRED_AUTOMAKE_VERSION="1.7" \
+#USE_GNOME2_MACROS=1 . gnome-autogen.sh "$@" --enable-werror
+USE_GNOME2_MACROS=1 . gnome-autogen.sh "$@"
+
+# last line of autogen.sh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150512/4aab1ad7/attachment.html>
More information about the macports-changes
mailing list