Changeset 99241
- Timestamp:
- Oct 30, 2012, 8:44:20 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/gis/cgal/Portfile
r96188 r99241 6 6 7 7 name cgal 8 version 4. 0.28 version 4.1 9 9 # revision 1 10 10 license LGPL-3+ GPL-3+ … … 26 26 27 27 fetch.ignore_sslcert yes 28 master_sites https://gforge.inria.fr/frs/download.php/31175/28 master_sites https://gforge.inria.fr/frs/download.php/31640 29 29 30 30 distname CGAL-${version} 31 checksums rmd160 1d11da6d1d78ae22cc113f7378d66247cf5afae2 \ 32 sha256 f125ed9d484e1e58d351f173aad184ce7a0d13c3f79205e69d819789727cfb2a 31 checksums rmd160 183e1842ab0d30061fc5670f762e6f70d1d003fb \ 32 sha256 878d4c3e579d886c2de05e04e8dc2cc9ebf094c5700ca4187521ef0fb673658e 33 34 35 use_bzip2 yes 33 36 34 37 worksrcdir CGAL-${version} … … 39 42 port:eigen3 40 43 41 patchfiles patch-CGAL_SetupBoost.cmake.diff44 #patchfiles patch-CGAL_SetupBoost.cmake.diff 42 45 43 46 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="lib/cmake" \ 44 47 -DWITH_CGAL_Qt3:BOOL=OFF \ 45 -DWITH_CGAL_Qt4:BOOL=OFF 48 -DWITH_CGAL_Qt4:BOOL=OFF \ 49 -DBoost_DIR:PATH=${prefix} \ 50 -DWITH_Eigen3:BOOL=ON \ 51 -DCGAL_EIGEN3_ENABLED:BOOL=ON \ 52 -DWITH_ZLIB:BOOL=ON 46 53 47 54 # gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug> 48 # CGAL does not compile with CLANG49 55 50 56 if {${configure.compiler} == "gcc-4.0"} { … … 54 60 configure.compiler apple-gcc-4.2 55 61 } 56 } elseif {[string match "*clang*" ${configure.cc}]} { 57 configure.compiler llvm-gcc-4.2 58 } 62 } 63 #elseif {[string match "*clang*" ${configure.cc}]} { 64 # configure.compiler llvm-gcc-4.2 65 #} 59 66 60 67 variant demos description {Create demos} requires qt4 { … … 65 72 patchfiles-append patch-CMakeLists.txt.diff 66 73 67 configure.args-append -DWITH_examples=TRUE 68 configure.args-append -DWITH_demos=TRUE 74 configure.args-append -DWITH_examples:BOOL=ON 75 configure.args-append -DWITH_demos:BOOL=ON 76 configure.args-append -DWITH_QGLViewer:BOOL=ON 77 configure.args-append -DWITH_OpenGL:BOOL=ON 69 78 70 79 # MacPorts installs IPE version 7; make sure to use it. 71 configure.args-append -DWITH_IPE_7 =TRUE80 configure.args-append -DWITH_IPE_7:BOOL=ON 72 81 73 82 # include Qt's CMake defines, just in case
Note: See TracChangeset
for help on using the changeset viewer.