source: trunk/dports/comms/farsight2/Portfile @ 71857

Last change on this file since 71857 was 71857, checked in by devans@…, 9 years ago

various GNOME related ports: update comments concerning universal variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 71857 2010-09-24 17:42:03Z devans@macports.org $
3
4PortSystem 1.0
5
6name            farsight2
7version         0.0.21
8description     Farsight - Audio/Video Communications Framework
9long_description \
10                The Farsight project is an effort to create a framework \
11                to deal with all known audio/video conferencing protocols. \
12                On one side it offers a generic API that makes it possible \
13                to write plugins for different streaming protocols, on the \
14                other side it offers an API for clients to use those plugins.
15maintainers     devans openmaintainer
16categories      comms
17platforms       darwin
18homepage        http://farsight.freedesktop.org/wiki/
19master_sites    http://farsight.freedesktop.org/releases/${name}/
20
21checksums       md5     5898612c389f3538a4160e677c03087a \
22                sha1    baf51f52eeeb81214b376ce1b9f33a22ccac7298 \
23                rmd160  198feb04be765cae836c09cc3492842e1788e56b
24
25depends_build   port:pkgconfig \
26                port:gtk-doc
27
28depends_lib     port:libnice
29
30patchfiles      patch-python-pyfarsightmodule.c.diff \
31                patch-configure.diff
32
33post-patch      {
34                    reinplace "s|__MP_PYTHON_PREFIX__|${frameworks_dir}/Python.framework/Versions/2.6|" ${worksrcpath}/configure
35                }
36
37configure.python ${prefix}/bin/python2.6
38
39configure.args  --disable-gupnp \
40                --disable-python \
41                --disable-silent-rules \
42                --disable-valgrind
43
44#
45# py26-gst-python -> py26-cairo -> py26-numpy is not universal
46#
47
48if {[variant_isset python]} {
49        universal_variant no
50}
51
52variant python description {Enable bulding of Python bindings} {
53                configure.args-delete       --disable-python
54                depends_lib-append          port:py26-gst-python
55                set python_pkg_config_path  ${frameworks_dir}/Python.framework/Versions/2.6/lib/pkgconfig
56                configure.args-append       --with-pkg-config-path=${python_pkg_config_path}
57                build.env-append            PKG_CONFIG_PATH=${python_pkg_config_path}
58}
59
60livecheck.type  regex
61livecheck.url   ${master_sites}
62livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.