# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup cmake 1.0 PortGroup github 1.0 description Computational Geometry Algorithm Library long_description \ The goal of the ${description} is to provide easy access to\ efficient and reliable geometric algorithms in the\ form of a C++ library. CGAL is used in various areas\ needing geometric computation, such as: computer\ graphics, scientific visualization, computer aided\ design and modeling, geographic information systems,\ molecular biology, medical imaging, robotics and\ motion planning, mesh generation, numerical methods... platforms darwin github.setup CGAL cgal 4.9 releases%2FCGAL- github.tarball_from releases name cgal license LGPL-3+ GPL-3+ categories gis science maintainers vince use_xz yes homepage http://www.cgal.org/ checksums rmd160 d30c38a7530f74850ab14380fa08bb6bc6a85b96 \ sha256 63ac5df71f912f34f2f0f2e54a303578df51f4ec2627db593a65407d791f9039 worksrcdir CGAL-${version} depends_lib-append port:boost \ port:mpfr \ port:zlib \ port:gmp \ port:eigen3 configure.args-append -DCGAL_INSTALL_CMAKE_DIR="share/CGAL/cmake" \ -DWITH_CGAL_Qt5:BOOL=OFF \ -DBoost_DIR:PATH=${prefix} \ -DWITH_Eigen3:BOOL=ON \ -DWITH_ZLIB:BOOL=ON # gcc 4.0 is too old to compile CGAL properly; see compiler.blacklist-append gcc-4.0 variant debug description {Build with debug symbols} { configure.args-delete -DCMAKE_BUILD_TYPE=Release configure.args-append -DCMAKE_BUILD_TYPE=Debug post-destroot { eval exec dsymutil [glob ${destroot}${prefix}/lib/*.dylib] } } variant qt5 description {Build with Qt5 bindings} { PortGroup qt5 1.0 configure.args-delete -DWITH_CGAL_Qt5:BOOL=OFF } livecheck.type regex livecheck.url ${homepage} livecheck.regex CGAL (\[0-9.\]+)\ released