# $Id: Portfile 79683 2011-06-23 14:53:27Z mmoll@macports.org $

PortSystem 1.0
PortGroup  cmake 1.0

set realname        pyside
name                py26-${realname}
version             1.0.4
categories          python devel
maintainers         openmaintainer mmoll
description         LGPL-licensed Python bindings for Qt
long_description    The PySide project provides LGPL-licensed Python bindings \
                    for the Qt cross-platform application and UI framework. \
                    PySide Qt bindings allow both free open source and \
                    proprietary software development and ultimately aim to \
                    support all of the platforms as Qt itself.
homepage            http://www.pyside.org/
platforms           darwin
license             LGPL
master_sites        http://www.pyside.org/files/

checksums           md5     868181813ee7648674a9b2ead8267ea8 \
                    rmd160  87815a88fa400d2c29db3c3ec3332b75903d8244 \
                    sha1    3fd082ddb1e29f81b37585fdf375a4e983b2006f
distname            ${realname}-qt4.7+${version}
use_bzip2           yes
depends_lib-append  port:qt4-mac port:generatorrunner port:py26-shiboken port:python26
configure.args-append -DBUILD_TESTS:BOOL=FALSE \
                    -DSITE_PACKAGE=${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     ${realname}-qt4.7\\+(\[0-9.\]+)\\.tar\\.bz2
