[86619] trunk/dports/comms/telepathy-farsight/Portfile

devans at macports.org devans at macports.org
Sat Oct 29 15:33:59 PDT 2011


Revision: 86619
          http://trac.macports.org/changeset/86619
Author:   devans at macports.org
Date:     2011-10-29 15:33:59 -0700 (Sat, 29 Oct 2011)
Log Message:
-----------
telepathy-farsight: update homepage, description, license, add python variants, default +python27.

Modified Paths:
--------------
    trunk/dports/comms/telepathy-farsight/Portfile

Modified: trunk/dports/comms/telepathy-farsight/Portfile
===================================================================
--- trunk/dports/comms/telepathy-farsight/Portfile	2011-10-29 22:32:08 UTC (rev 86618)
+++ trunk/dports/comms/telepathy-farsight/Portfile	2011-10-29 22:33:59 UTC (rev 86619)
@@ -5,18 +5,18 @@
 
 name            telepathy-farsight
 version         0.0.19
-license         LGPL-2.1
+revision        1
+license         LGPL-2.1+
 description     The ${name} component of Telepathy - a Flexible Communications Framework
 long_description \
-                The ${name} component of Telepathy - a Flexible Communications Framework. \
-                The Telepathy project is building a unified framework for many \
-                different kinds of real-time communications. It uses the D-Bus \
-                messaging system to provide a simple interface for client applications, \
-                allowing them to quickly take advantage of Telepathy's benefits.
+                ${description} \
+                Telepathy-farsight is a GObject-based C library that uses Telepathy GLib, Farsight and GStreamer \
+                to implement media streaming for channels with the MediaSignalling interface.
+
 maintainers     devans openmaintainer
 categories      comms
 platforms       darwin
-homepage        http://telepathy.freedesktop.org/wiki/
+homepage        http://telepathy.freedesktop.org/wiki/Telepathy-Farsight
 master_sites    http://telepathy.freedesktop.org/releases/${name}/
 
 checksums       sha1    15357e24346c6a67f9d3c609184367babc0f0019 \
@@ -35,19 +35,36 @@
                     reinplace "s|__MP_PYTHON_PREFIX__|${frameworks_dir}/Python.framework/Versions/2.6|" ${worksrcpath}/configure
                 }
 
-configure.python ${prefix}/bin/python2.6
 
 configure.args  --disable-python \
                 --disable-silent-rules
 
-variant python description {Enable building of Python bindings} {
+variant python26 conflicts python27 description {Enable building of Python 2.6 bindings} {
                 configure.args-delete       --disable-python
                 depends_lib-append          port:py26-gst-python
                 set python_pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
                 configure.pkg_config_path   ${python_pkg_config_path}
+                configure.python            ${prefix}/bin/python2.6
                 build.env-append            PKG_CONFIG_PATH=${python_pkg_config_path}
 }
 
+variant python27 conflicts python26 description {Enable building of Python 2.7 bindings} {
+                configure.args-delete       --disable-python
+                depends_lib-append          port:py27-gst-python
+                set python_pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.7/lib/pkgconfig
+                configure.pkg_config_path   ${python_pkg_config_path}
+                configure.python            ${prefix}/bin/python2.7
+                build.env-append            PKG_CONFIG_PATH=${python_pkg_config_path}
+}
+
+#
+# upgrade old python variant to python27 which is now a default variant
+#
+
+if {[variant_isset python] || ![variant_isset python26]}  {
+    default_variants +python27
+}
+
 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/20111029/537df2f8/attachment-0001.html>


More information about the macports-changes mailing list