Ticket #38861: patch-Portfile.diff
File patch-Portfile.diff, 2.3 KB (added by mamoll (Mark Moll), 12 years ago) |
---|
-
Portfile
5 5 PortGroup cmake 1.0 6 6 7 7 name cgal 8 version 4.1 9 # revision 1 8 version 4.2 10 9 license LGPL-3+ GPL-3+ 11 10 categories gis science 12 11 maintainers vince … … 25 24 homepage http://www.cgal.org/ 26 25 27 26 fetch.ignore_sslcert yes 28 master_sites https://gforge.inria.fr/frs/download.php/3 164027 master_sites https://gforge.inria.fr/frs/download.php/32359 29 28 30 29 distname CGAL-${version} 31 checksums rmd160 183e1842ab0d30061fc5670f762e6f70d1d003fb\32 sha256 878d4c3e579d886c2de05e04e8dc2cc9ebf094c5700ca4187521ef0fb673658e30 checksums rmd160 90ebc257eb0f84c3d2ee8063e2f4881e5b933091 \ 31 sha256 a14268c5dae86e4f2f5c9fd0c12c5fcd36cfd9db2b5e3af34e04a7233bac820d 33 32 33 # currently, the 4.2 bz2 tar ball is actually compressed with gzip 34 #use_bzip2 yes 34 35 35 use_bzip2 yes36 37 36 worksrcdir CGAL-${version} 38 37 depends_lib-append port:boost \ 39 38 port:mpfr \ … … 41 40 port:gmp \ 42 41 port:eigen3 43 42 44 #patchfiles patch-CGAL_SetupBoost.cmake.diff 45 46 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="lib/cmake" \ 43 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="share/CGAL/cmake" \ 47 44 -DWITH_CGAL_Qt3:BOOL=OFF \ 48 45 -DWITH_CGAL_Qt4:BOOL=OFF \ 49 46 -DBoost_DIR:PATH=${prefix} \ … … 53 50 # gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug> 54 51 compiler.blacklist-append gcc-4.0 55 52 56 # TODO: base should do this: http://trac.macports.org/ticket/3254257 if {[info exists portconfigure::compiler_name_map(${configure.compiler})]} {58 depends_build-append port:$portconfigure::compiler_name_map(${configure.compiler})59 60 # base 2.1.x ignores the argument and just use ${configure.compiler}61 if {[portconfigure::arch_flag_supported ${configure.compiler}]} {62 depends_skip_archcheck-append $portconfigure::compiler_name_map(${configure.compiler})63 }64 65 if {[string match macports-gcc* ${configure.compiler}]} {66 depends_lib-append port:$portconfigure::compiler_name_map(${configure.compiler})67 }68 }69 70 53 variant demos description {Create demos} requires qt4 { 71 54 depends_lib-append port:libQGLViewer \ 72 55 port:ipe \