Ticket #27694: Portfile

File Portfile, 1.5 KB (added by chicagotripp (Altoine Barker), 14 years ago)

py27-gst-python Portfile

Line 
1PortSystem          1.0
2
3name                py27-gst-python
4version             0.10.20
5categories          python gnome multimedia
6maintainers         rmstonecipher elelay openmaintainer
7description         GStreamer python bindings
8set my_name         gst-python
9long_description    ${my_name} allows python programs built with the gnome toolkit to use gstreamer for multimedia input/output
10homepage            http://gstreamer.freedesktop.org/modules/gst-python.html
11platforms           darwin
12master_sites        http://gstreamer.freedesktop.org/src/${my_name}/
13distname            ${my_name}-${version}
14use_bzip2           yes
15checksums           md5     d706ea52819305f698d80343a583b03b \
16                    sha1    378b96087f7b6037e6f4da1a431081aad46c3902 \
17                    rmd160  558e3cec6b6b73a065f139f0e5f2c7478e49844a
18depends_lib         port:py27-gtk \
19                    port:gst-plugins-base
20
21#gst-python does not use setup.py, so python arguments are passed to configure
22set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
23configure.pre_args-delete   --prefix=${prefix}
24configure.pre_args-append   --prefix=${python_prefix}
25configure.args-append       --includedir=${python_prefix}/include/python2.7
26configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
27configure.python            ${prefix}/bin/python2.7
28
29livecheck.url       http://gstreamer.freedesktop.org/src/${my_name}/
30livecheck.regex     "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"