| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup active_variants 1.1 |
|---|
| 6 | PortGroup bitbucket 1.0 |
|---|
| 7 | |
|---|
| 8 | bitbucket.setup Coin3D coin 1.5.0 SoQt- |
|---|
| 9 | bitbucket.tarball_from downloads |
|---|
| 10 | name SoQt |
|---|
| 11 | categories graphics devel |
|---|
| 12 | platforms darwin |
|---|
| 13 | license BSD |
|---|
| 14 | maintainers gmail.com:mark.brethen \ |
|---|
| 15 | openmaintainer |
|---|
| 16 | |
|---|
| 17 | description SoQt is a Qt GUI component toolkit library for Coin. |
|---|
| 18 | |
|---|
| 19 | long_description ${description} |
|---|
| 20 | |
|---|
| 21 | checksums rmd160 04e9179954f7e3bfb5d1c595ad6c62215bc24ad2 \ |
|---|
| 22 | sha256 f6a34b4c19e536c00f21aead298cdd274a7a0b03a31826fbe38fc96f3d82ab91 |
|---|
| 23 | |
|---|
| 24 | depends_build-append port:pkgconfig \ |
|---|
| 25 | port:doxygen |
|---|
| 26 | |
|---|
| 27 | patchfiles configure.patch framework-prefix.patch |
|---|
| 28 | |
|---|
| 29 | post-build { |
|---|
| 30 | reinplace -E {s|-arch [a-z0-9_]+||g} \ |
|---|
| 31 | ${worksrcpath}/SoQt.pc \ |
|---|
| 32 | ${worksrcpath}/soqt-default.cfg |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | platform 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 | } |
|---|