Ticket #44142: Portfile.2

File Portfile.2, 1.6 KB (added by mbrethen, 10 years ago)

Added portgroup bitbucket 1.0

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           active_variants 1.1
6PortGroup           bitbucket 1.0
7
8bitbucket.setup Coin3D coin 1.5.0 SoQt-
9bitbucket.tarball_from downloads
10name                SoQt
11categories          graphics devel
12platforms           darwin
13license             BSD
14maintainers         gmail.com:mark.brethen \
15                    openmaintainer
16
17description         SoQt is a Qt GUI component toolkit library for Coin.
18
19long_description    ${description}
20
21checksums           rmd160  04e9179954f7e3bfb5d1c595ad6c62215bc24ad2 \
22    sha256  f6a34b4c19e536c00f21aead298cdd274a7a0b03a31826fbe38fc96f3d82ab91
23
24depends_build-append port:pkgconfig \
25                     port:doxygen
26
27patchfiles          configure.patch framework-prefix.patch
28
29post-build {
30    reinplace -E {s|-arch [a-z0-9_]+||g} \
31        ${worksrcpath}/SoQt.pc \
32        ${worksrcpath}/soqt-default.cfg
33}
34
35platform darwin {
36    configure.args-append   --disable-debug \
37                            --disable-symbols \
38                            --disable-dependency-tracking \
39                            --enable-darwin-x11
40               
41    depends_lib-append      port:qt4-x11 \
42                            port:Coin
43       
44        variant aqua description {Install as a MacOS X framework without X11.} { 
45        configure.args-delete   --enable-darwin-x11
46            depends_lib-delete      port:qt4-x11
47            depends_lib-append      port:qt4-mac
48        require_active_variants Coin aqua
49    }
50}