[117800] users/devans/dports/print/denemo
devans at macports.org
devans at macports.org
Thu Mar 13 00:04:53 PDT 2014
Revision: 117800
https://trac.macports.org/changeset/117800
Author: devans at macports.org
Date: 2014-03-13 00:04:53 -0700 (Thu, 13 Mar 2014)
Log Message:
-----------
devans/dports: denemo, reconfigure with our intltool.m4 using upstream autogen.sh, patches, dependencies.
Modified Paths:
--------------
users/devans/dports/print/denemo/Portfile
Added Paths:
-----------
users/devans/dports/print/denemo/files/autogen.sh
users/devans/dports/print/denemo/files/patch-configure.ac.diff
Modified: users/devans/dports/print/denemo/Portfile
===================================================================
--- users/devans/dports/print/denemo/Portfile 2014-03-13 07:03:50 UTC (rev 117799)
+++ users/devans/dports/print/denemo/Portfile 2014-03-13 07:04:53 UTC (rev 117800)
@@ -26,13 +26,17 @@
sha256 b795ae6450622a457b46d28b133f857a56d58746c50a6f8131c94dbe14331b0d
depends_build port:intltool \
- port:pkgconfig
+ port:pkgconfig \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:aubio \
port:evince \
port:fluidsynth \
port:gettext \
port:gtksourceview3 \
+ port:gtk3 \
port:guile \
port:jack \
port:librsvg \
@@ -42,9 +46,18 @@
depends_run port:qtplay
-patchfiles patch-configure.diff \
- patch-src-prefops.c.diff
+patchfiles patch-configure.ac.diff
+# patch-src-prefops.c.diff
+# use upstream autogen.sh to reconfigure with our intltool.m4
+
+post-patch {
+ xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
+ reinplace "s|/usr/|${prefix}/|" ${worksrcpath}/autogen.sh
+}
+
+configure.cmd ./autogen.sh && ./configure
+
configure.args --enable-evince \
--enable-fluidsynth \
--enable-gtk3 \
Added: users/devans/dports/print/denemo/files/autogen.sh
===================================================================
--- users/devans/dports/print/denemo/files/autogen.sh (rev 0)
+++ users/devans/dports/print/denemo/files/autogen.sh 2014-03-13 07:04:53 UTC (rev 117800)
@@ -0,0 +1,7 @@
+#!/bin/sh
+aclocal $ACLOCAL_FLAGS -I build -I /usr/share/aclocal && \
+autoheader && \
+glibtoolize --force && \
+intltoolize --copy --force --automake && \
+automake --add-missing --gnu && \
+autoconf
Added: users/devans/dports/print/denemo/files/patch-configure.ac.diff
===================================================================
--- users/devans/dports/print/denemo/files/patch-configure.ac.diff (rev 0)
+++ users/devans/dports/print/denemo/files/patch-configure.ac.diff 2014-03-13 07:04:53 UTC (rev 117800)
@@ -0,0 +1,10 @@
+--- configure.ac.orig 2014-03-12 23:12:37.000000000 -0700
++++ configure.ac 2014-03-12 23:12:54.000000000 -0700
+@@ -21,7 +21,6 @@
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"],
+ [The domain to use with gettext])
+-AM_GLIB_GNU_GETTEXT
+ LOCALEDIR=[${datadir}/locale]
+ AC_SUBST(LOCALEDIR)
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140313/afdb7803/attachment-0001.html>
More information about the macports-changes
mailing list