Ticket #17551: patch-Portfile.diff

File patch-Portfile.diff, 1.8 KB (added by cssdev, 16 years ago)

Updated dependencies and added variant descriptions

  • Portfile

     
    11# $Id$
    22
    33PortSystem              1.0
     4
    45name                    Coin
    56version                 2.5.0
     7revision                1
    68description             cross platform C++ OpenGL scene graph library
    79long_description        Coin is a high-level 3D graphics library with a   \
    810        C++ Application Programming Interface. Coin uses scene-graph data \
     
    1719checksums               md5 1e7cb6afa69f6eed034a64021f7d1bfc \
    1820                        sha1 19dc61398d843bff120aec9c640ea814c827b577
    1921
    20 depends_build           lib:libX11.6:XFree86 bin:doxygen:doxygen
    21 depends_lib             port:simage
     22depends_lib             port:simage \
     23                        lib:libSM.6:xorg-libsm \
     24                        lib:libXext.6:xorg-libXext
    2225
    2326use_configure           yes
    2427configure.args          --with-simage=${prefix} --mandir=${prefix}/share/man
     
    3033variant aqua requires darwin {
    3134        configure.args-delete   --without-framework --enable-darwin-x11
    3235        configure.args-append   --with-framework=${destroot}/Library/Frameworks  --without-x
    33         depends_build-delete    lib:libX11.6:XFree86
     36        depends_lib-delete      lib:libSM.6:xorg-libsm \
     37                                lib:libXext.6:xorg-libXext
    3438}
    3539
    36 variant devel {
     40variant devel description {Activate developer features, including debug libraries.} {
    3741        configure.args-append   --enable-next-minor --enable-debug
    3842}
    3943
    40 variant manpages {
    41         depends_build-append    bin:doxygen:doxygen
     44variant manpages description {Include API documentation in manpages.} {
     45        depends_build-append    port:doxygen
    4246        configure.args-append   --enable-man --mandir=${prefix}/share/man
    4347        post-destroot {
    4448                file rename ${destroot}${prefix}/share/man/man3/threads.3 \
     
    4852        }
    4953}
    5054
    51 variant threadsafe {
     55variant threadsafe description {Allow threadsafe scene graph traversals.} {
    5256        configure.args-append   --enable-threadsafe
    5357}