[85412] trunk/dports/comms/farsight2/Portfile
devans at macports.org
devans at macports.org
Thu Oct 13 06:26:58 PDT 2011
Revision: 85412
http://trac.macports.org/changeset/85412
Author: devans at macports.org
Date: 2011-10-13 06:26:58 -0700 (Thu, 13 Oct 2011)
Log Message:
-----------
farsight2: update to version 0.0.31, replace variant python with python26 python27.
Modified Paths:
--------------
trunk/dports/comms/farsight2/Portfile
Modified: trunk/dports/comms/farsight2/Portfile
===================================================================
--- trunk/dports/comms/farsight2/Portfile 2011-10-13 13:25:00 UTC (rev 85411)
+++ trunk/dports/comms/farsight2/Portfile 2011-10-13 13:26:58 UTC (rev 85412)
@@ -4,7 +4,7 @@
PortSystem 1.0
name farsight2
-version 0.0.30
+version 0.0.31
license LGPL-2.1
description Farsight - Audio/Video Communications Framework
long_description \
@@ -19,8 +19,8 @@
homepage http://farsight.freedesktop.org/wiki/
master_sites http://farsight.freedesktop.org/releases/${name}/
-checksums sha1 8cbaf1d7cf2eba292e72a1ebf4eb4404d91e0be3 \
- rmd160 d6ef735bcb400d21f7124771cb17ec34a4262606
+checksums sha1 7471a1c8207c821b22e4f79c2a159f41140331de \
+ rmd160 ce4a5de114c7a0abf83c78e488bd0da623bf7ea9
depends_build port:pkgconfig \
port:gtk-doc
@@ -30,16 +30,24 @@
patchfiles patch-python-pyfarsightmodule.c.diff \
patch-configure.diff
-configure.python ${prefix}/bin/python2.6
configure.args --disable-gupnp \
--disable-python \
--disable-silent-rules \
--disable-valgrind
-variant python description {Enable bulding of Python bindings} {
+#
+# upgrade old python variant to python27
+#
+
+if {[variant_isset python]} {
+ default_variants +python27
+}
+
+variant python26 conflicts python27 description {Enable Python 2.6 bindings} {
configure.args-delete --disable-python
depends_lib-append port:py26-gst-python
+ configure.python ${prefix}/bin/python2.6
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
set python_pkg_config_path ${python_prefix}/lib/pkgconfig
configure.args-append --with-pkg-config-path=${python_pkg_config_path}
@@ -47,6 +55,17 @@
PATH=${python_prefix}/bin:$env(PATH)
}
+variant python27 conflicts python26 description {Enable Python 2.7 bindings} {
+ configure.args-delete --disable-python
+ depends_lib-append port:py27-gst-python
+ configure.python ${prefix}/bin/python2.7
+ set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
+ set python_pkg_config_path ${python_prefix}/lib/pkgconfig
+ configure.args-append --with-pkg-config-path=${python_pkg_config_path}
+ build.env-append PKG_CONFIG_PATH=${python_pkg_config_path} \
+ PATH=${python_prefix}/bin:$env(PATH)
+}
+
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111013/6ca63652/attachment-0001.html>
More information about the macports-changes
mailing list