Ticket #33649: Portfile-cgal-qt4-debug.patch
File Portfile-cgal-qt4-debug.patch, 2.2 KB (added by seanfarley (Sean Farley), 13 years ago) |
---|
-
Portfile
5 5 PortGroup cmake 1.0 6 6 7 7 name cgal 8 version 3.99 license LGPL- 2.1 QPL Commercial8 version 4.0 9 license LGPL-3+ GPL-3+ 10 10 categories gis science 11 11 maintainers vince 12 12 description Computational Geometry Algorithm Library … … 24 24 homepage http://www.cgal.org/ 25 25 26 26 fetch.ignore_sslcert yes 27 master_sites https://gforge.inria.fr/frs/download.php/ 29125/27 master_sites https://gforge.inria.fr/frs/download.php/30387/ 28 28 29 29 distname CGAL-${version} 30 checksums rmd160 0a5a929ecedeeac3833ec90f802b7f5ac069ad47\31 sha256 241194ad9487d62d1287f863eab3adbbfd0836e2bebcd50c9fc21d473f947ba430 checksums rmd160 57b3112a511a5c811e1382dfe7cac3b8600c9b56 \ 31 sha256 dde1431f56537890666dc6a396bcd591f04397998dfbe20c2897c4ed74da5099 32 32 33 33 depends_lib-append port:boost \ 34 34 port:mpfr \ 35 35 port:zlib \ 36 36 port:gmp 37 37 38 patchfiles patch-src-config.h.diff 38 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="${prefix}/lib/cmake" \ 39 -DWITH_CGAL_Qt3:BOOL=OFF \ 40 -DWITH_CGAL_Qt4:BOOL=OFF 39 41 40 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="${prefix}/lib/cmake"41 42 42 # gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug> 43 43 # And the demos don't compile with llvm-gcc-4.2 or clang 44 44 if {${configure.compiler} == "gcc-4.0" || [variant_isset demos]} { … … 89 89 copy ${worksrcpath}/examples ${destroot}${prefix}/share/${name} 90 90 } 91 91 } 92 93 variant debug description {Build with debug symbols} { 94 configure.args-append -DCMAKE_BUILD_TYPE=Debug 95 96 post-destroot { 97 eval exec dsymutil [glob ${destroot}${prefix}/lib/*.dylib] 98 } 99 } 100 101 variant qt4 description {Build with Qt4 bindings} { 102 depends_lib-append port:qt4-mac 103 configure.args-delete -DWITH_CGAL_Qt3:BOOL=OFF \ 104 -DWITH_CGAL_Qt4:BOOL=OFF 105 } 106 107 livecheck.type regex 108 livecheck.url ${homepage} 109 livecheck.regex CGAL-(\[0-9.\]+)\ is\ released