[39328] trunk/dports/net/gajim
rene at macports.org
rene at macports.org
Mon Aug 18 02:39:26 PDT 2008
Revision: 39328
http://trac.macosforge.org/projects/macports/changeset/39328
Author: rene at macports.org
Date: 2008-08-18 02:39:25 -0700 (Mon, 18 Aug 2008)
Log Message:
-----------
net/gajim: Use reinplace to prevent hardcoded /opt/local.
Modified Paths:
--------------
trunk/dports/net/gajim/Portfile
Removed Paths:
-------------
trunk/dports/net/gajim/files/
Modified: trunk/dports/net/gajim/Portfile
===================================================================
--- trunk/dports/net/gajim/Portfile 2008-08-18 09:22:27 UTC (rev 39327)
+++ trunk/dports/net/gajim/Portfile 2008-08-18 09:39:25 UTC (rev 39328)
@@ -24,6 +24,17 @@
sha1 66c3c2aba9cea8e0e48581e87e412b445040ac15 \
rmd160 77ddba3f06c1b4dc80c0c3efe1951cbb0fac07e0
+post-patch {
+ # Force usage of MacPorts python
+ reinplace "s|@PYTHON@|${prefix}/bin/python2.5|" \
+ ${worksrcpath}/scripts/gajim-remote.in
+ reinplace "s|@PYTHON@|${prefix}/bin/python2.5|" \
+ ${worksrcpath}/scripts/gajim.in
+ reinplace "s|\$(PYTHON_INCLUDES)|-I${prefix}/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5|" \
+ ${worksrcpath}/src/Makefile.in
+
+}
+
depends_lib port:gettext \
port:gtk2 \
port:py25-gtk \
@@ -33,10 +44,6 @@
port:py25-socket-ssl \
port:dbus-python25
-patchfiles patch-scripts-gajim.in.diff \
- patch-scripts-gajim-remote.in.diff \
- patch-src-Makefile.in.diff
-
configure.args --disable-trayicon \
--enable-idle \
--disable-gtkspell \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080818/e987067f/attachment.html
More information about the macports-changes
mailing list