# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: PortSystem 1.0 PortGroup python 1.0 name py-gst010-python python.versions 27 python.default_version 27 version 0.10.22 revision 0 license LGPL categories python gnome multimedia maintainers springermac openmaintainer description GStreamer python bindings set my_name gst-python long_description ${my_name} allows python programs built with the gnome toolkit to use gstreamer for multimedia input/output homepage http://gstreamer.freedesktop.org/modules/gst-python.html platforms darwin master_sites http://gstreamer.freedesktop.org/src/${my_name}/ distname ${my_name}-${version} dist_subdir py-gst010-python use_bzip2 yes checksums rmd160 6c4e43c5464297e0d45aa89f3cb82ed424caa283 \ sha256 8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178 # pre-declare provided subports foreach py_ver ${python.versions} { subport py${py_ver}-gst010-python {} } if {${name} ne ${subport}} { depends_build port:pkgconfig depends_lib port:py${python.version}-pygtk \ port:gstreamer010-gst-plugins-base #gst-python does not use setup.py, so python arguments are passed to configure use_configure yes configure.pkg_config_path ${python.prefix}/lib/pkgconfig configure.python ${python.bin} build.cmd make build.target all destroot.cmd ${build.cmd} destroot.destdir DESTDIR=${destroot} } livecheck.url http://gstreamer.freedesktop.org/src/${my_name}/ livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"