Ticket #44671: Coin.diff
File Coin.diff, 3.9 KB (added by mbrethen, 10 years ago) |
---|
-
Portfile
old new 6 6 7 7 bitbucket.setup Coin3D coin 3.1.3 Coin- 8 8 name Coin 9 revision 59 revision 6 10 10 license BSD 11 11 description cross platform C++ OpenGL scene graph library 12 12 long_description Coin is a high-level 3D graphics library with a \ … … 14 14 structures to render real-time graphics suitable for mostly all \ 15 15 kinds of scientific and engineering visualization applications. 16 16 17 conflicts Coin-framework 17 18 categories graphics devel 18 19 platforms darwin 19 20 maintainers css … … 22 23 checksums rmd160 e57fd6a4876a06874429f9ad6b96f166f5609362 \ 23 24 sha256 583478c581317862aa03a19f14c527c3888478a06284b9a46a0155fa5886d417 24 25 25 depends_lib port:mesa\26 depends_lib-append port:qt4-mac \ 26 27 port:simage \ 27 port:xorg-libsm \ 28 port:xorg-libXext \ 29 port:xorg-libXt 28 port:fontconfig \ 29 port:freetype \ 30 port:zlib \ 31 port:bzip2 30 32 31 33 patchfiles configure.patch \ 32 34 for.patch \ … … 35 37 patch-include-Inventor-C-base-math-undefs.h.diff \ 36 38 patch-Info.plist.in.diff 37 39 38 configure.args --with-simage=${prefix} \ 39 --mandir=${prefix}/share/man 40 configure.args-append \ 41 --disable-debug \ 42 --disable-symbols \ 43 --disable-dependency-tracking \ 44 --without-framework 40 45 41 46 post-build { 42 47 reinplace -E {s|-arch [a-z0-9_]+||g} \ … … 44 49 ${worksrcpath}/coin-default.cfg 45 50 } 46 51 47 platform darwin { 48 configure.args-append --disable-framework --enable-darwin-x11 52 if {${name} == ${subport}} { 49 53 50 variant aqua conflicts manpages description {Install as an OS X framework without X11.} { 51 patchfiles-append framework-prefix.patch 52 53 configure.args-replace --disable-framework --with-framework-prefix=${frameworks_dir} 54 configure.args-replace --enable-darwin-x11 --without-x 55 56 depends_lib-delete port:xorg-libsm \ 57 port:xorg-libXext \ 58 port:xorg-libXt 59 } 60 } 61 62 variant devel description {Activate developer features, including debug libraries.} { 63 configure.args-append --enable-next-minor --enable-debug 64 } 65 66 variant manpages description {Include API documentation in manpages.} { 67 depends_build-append port:doxygen 68 configure.args-append --enable-man --mandir=${prefix}/share/man 69 post-destroot { 70 file rename ${destroot}${prefix}/share/man/man3/threads.3 \ 71 ${destroot}${prefix}/share/man/man3/threads-coin.3 72 file rename ${destroot}${prefix}/share/man/man3/manips.3 \ 73 ${destroot}${prefix}/share/man/man3/manips-coin.3 54 variant manpages description {Include API documentation in manpages.} { 55 depends_build-append port:doxygen 56 configure.args-append --enable-man --mandir=${prefix}/share/man 57 post-destroot { 58 file rename ${destroot}${prefix}/share/man/man3/threads.3 \ 59 ${destroot}${prefix}/share/man/man3/threads-coin.3 60 file rename ${destroot}${prefix}/share/man/man3/manips.3 \ 61 ${destroot}${prefix}/share/man/man3/manips-coin.3 62 } 74 63 } 75 64 } 76 65 77 variant threadsafe description {Allow threadsafe scene graph traversals.} { 78 configure.args-append --enable-threadsafe 66 subport Coin-framework { 67 conflicts Coin 68 patchfiles-append framework-prefix.patch 69 configure.args-replace --without-framework \ 70 --with-framework-prefix=${frameworks_dir} 79 71 }