[86620] trunk/dports/comms/telepathy-sofiasip
devans at macports.org
devans at macports.org
Sat Oct 29 17:33:20 PDT 2011
Revision: 86620
http://trac.macports.org/changeset/86620
Author: devans at macports.org
Date: 2011-10-29 17:33:16 -0700 (Sat, 29 Oct 2011)
Log Message:
-----------
telepathy-sofiasip: add python variants, default +python27.
Modified Paths:
--------------
trunk/dports/comms/telepathy-sofiasip/Portfile
Added Paths:
-----------
trunk/dports/comms/telepathy-sofiasip/files/
trunk/dports/comms/telepathy-sofiasip/files/patch-configure.diff
Modified: trunk/dports/comms/telepathy-sofiasip/Portfile
===================================================================
--- trunk/dports/comms/telepathy-sofiasip/Portfile 2011-10-29 22:33:59 UTC (rev 86619)
+++ trunk/dports/comms/telepathy-sofiasip/Portfile 2011-10-30 00:33:16 UTC (rev 86620)
@@ -5,6 +5,7 @@
name telepathy-sofiasip
version 0.6.8
+revision 1
license LGPL-2.1
categories comms
maintainers devans openmaintainer
@@ -25,15 +26,28 @@
checksums sha1 d33ae7e0ccdde876f216b4643e51217affc94b1b \
rmd160 da5cec2d281625a862910b1e0240811d1b58675a
+patchfiles patch-configure.diff
+
depends_build port:pkgconfig \
port:gtk-doc
depends_lib port:telepathy-glib \
- port:sofia-sip \
- port:py26-twisted
+ port:sofia-sip
-configure.python ${prefix}/bin/python2.6
+variant python26 conflicts python27 description {Use Python 2.6} {
+ depends_lib-append port:py26-twisted
+ configure.python ${prefix}/bin/python2.6
+}
+variant python27 conflicts python26 description {Use Python 2.7} {
+ depends_lib-append port:py27-twisted
+ configure.python ${prefix}/bin/python2.7
+}
+
+if {![variant_isset python26]} {
+ default_variants +python27
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\]\\.\[0-9\]+)${extract.suffix}
Added: trunk/dports/comms/telepathy-sofiasip/files/patch-configure.diff
===================================================================
--- trunk/dports/comms/telepathy-sofiasip/files/patch-configure.diff (rev 0)
+++ trunk/dports/comms/telepathy-sofiasip/files/patch-configure.diff 2011-10-30 00:33:16 UTC (rev 86620)
@@ -0,0 +1,14 @@
+--- configure.orig 2011-10-29 13:07:08.000000000 -0700
++++ configure 2011-10-29 13:08:09.000000000 -0700
+@@ -11921,9 +11921,9 @@
+
+
+
+- PYTHON_PREFIX='${prefix}'
++ PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
+
+- PYTHON_EXEC_PREFIX='${exec_prefix}'
++ PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
+
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111029/b0b57f1d/attachment.html>
More information about the macports-changes
mailing list