[122908] trunk/dports/xfce/xfce4-dev-tools
afb at macports.org
afb at macports.org
Fri Aug 1 15:27:14 PDT 2014
Revision: 122908
https://trac.macports.org/changeset/122908
Author: afb at macports.org
Date: 2014-08-01 15:27:14 -0700 (Fri, 01 Aug 2014)
Log Message:
-----------
xfce4-dev-tools: make sure to use prefix tools for xdt-autogen, add dependencies
Modified Paths:
--------------
trunk/dports/xfce/xfce4-dev-tools/Portfile
Added Paths:
-----------
trunk/dports/xfce/xfce4-dev-tools/files/
trunk/dports/xfce/xfce4-dev-tools/files/patch-xdt-autogen.in
Modified: trunk/dports/xfce/xfce4-dev-tools/Portfile
===================================================================
--- trunk/dports/xfce/xfce4-dev-tools/Portfile 2014-08-01 22:10:55 UTC (rev 122907)
+++ trunk/dports/xfce/xfce4-dev-tools/Portfile 2014-08-01 22:27:14 UTC (rev 122908)
@@ -5,6 +5,7 @@
name xfce4-dev-tools
version 4.6.0
+revision 1
categories xfce devel
platforms darwin
license GPL-2+
@@ -17,7 +18,12 @@
sha1 a5a5cbc9e5f84f4939e53e3327c51f4b749c38a2 \
rmd160 ff2a5e9c7bd637efdc76b126f8854b934d4862ba
+supported_archs noarch
use_bzip2 yes
-depends_lib port:gtk-doc port:intltool
+depends_lib port:glib2 port:gtk-doc port:intltool
+depends_run port:autoconf port:libtool port:automake \
+ bin:svn:subversion bin:git:git
+patchfiles patch-xdt-autogen.in
+post-patch { reinplace "s|@@PREFIX@@|${prefix}|" scripts/xdt-autogen.in }
Added: trunk/dports/xfce/xfce4-dev-tools/files/patch-xdt-autogen.in
===================================================================
--- trunk/dports/xfce/xfce4-dev-tools/files/patch-xdt-autogen.in (rev 0)
+++ trunk/dports/xfce/xfce4-dev-tools/files/patch-xdt-autogen.in 2014-08-01 22:27:14 UTC (rev 122908)
@@ -0,0 +1,18 @@
+--- scripts/xdt-autogen.in.orig 2009-02-25 07:32:08.000000000 +0100
++++ scripts/xdt-autogen.in 2014-08-02 00:12:04.000000000 +0200
+@@ -135,6 +135,15 @@ if test x"$1" = x"clean"; then
+ exit 0
+ fi
+
++# MacPorts: default to prefix
++test -z "${XDT_PROG_AUTOCONF}" && XDT_PROG_AUTOCONF=@@PREFIX@@/bin/autoconf
++test -z "${XDT_PROG_INTLTOOLIZE}" && XDT_PROG_INTLTOOLIZE=@@PREFIX@@/bin/intltoolize
++test -z "${XDT_PROG_LIBTOOLIZE}" && XDT_PROG_LIBTOOLIZE=@@PREFIX@@/bin/glibtoolize
++test -z "${XDT_PROG_GLIB_GETTEXTIZE}" && XDT_PROG_GLIB_GETTEXTIZE=@@PREFIX@@/bin/glib-gettextize
++test -z "${XDT_PROG_GTKDOCIZE}" && XDT_PROG_GTKDOCIZE=@@PREFIX@@/bin/gtkdocize
++test -z "${XDT_PROG_ACLOCAL}" && XDT_PROG_ACLOCAL=@@PREFIX@@/bin/aclocal
++test -z "${XDT_PROG_AUTOHEADER}" && XDT_PROG_AUTOHEADER=@@PREFIX@@/bin/autoheader
++test -z "${XDT_PROG_AUTOMAKE}" && XDT_PROG_AUTOMAKE=@@PREFIX@@/bin/automake
+
+ ##
+ ## Check for autoconf, first trying autoconf-2.59, then autoconf-2.58, then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140801/ff7a8f43/attachment.html>
More information about the macports-changes
mailing list