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

PortSystem 1.0
PortGroup  cmake 1.0

set realname        shiboken
name                py26-${realname}
version             1.0.4
categories          python devel
maintainers         openmaintainer mmoll
description         Plugin for generatorrunner that generates python bindings \
                    for C++ libraries
long_description    Shiboken is a plugin (front-end) for generatorrunner that \
                    generates python bindings for C++ libraries using CPython \
                    source code.
homepage            http://www.pyside.org/docs/shiboken/
platforms           darwin
master_sites        http://www.pyside.org/files/

checksums           md5     2711facf2cae40e7ab9a184621f99e4d \
                    rmd160  d7f1f500728f8d9a27b67972728689f8c3be801f \
                    sha1    e8fd075da86c34bcf02a771a51340f7aed257518
distname            ${realname}-${version}
use_bzip2           yes
depends_lib-append  port:qt4-mac port:apiextractor port:generatorrunner port:python26
configure.args-append -DBUILD_TESTS:BOOL=FALSE \
                    -DPYTHON_EXECUTABLE=${prefix}/bin/python2.6 \
                    -DPYTHON_LIBRARY=${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.dylib \
                    -DPYTHON_INCLUDE_DIRS=${prefix}/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6

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