# -*- 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 compiler_blacklist_versions 1.0 cmake.out_of_source yes name qhull set vyear 2015 set vext 2 version ${vyear}.${vext} revision 1 categories math platforms darwin maintainers mmoll license Permissive description Programs and library for computing convex hulls. long_description \ Qhull computes the convex hull, Delaunay triangulation, Voronoi \ diagram, halfspace intersection about a point, furthest-site \ Delaunay triangulation, and furthest-site Voronoi diagram. The \ software runs in 2-d, 3-d, 4-d, and higher dimensions. Qhull \ implements the Quickhull algorithm for computing the convex hull. \ It handles roundoff errors from floating point arithmetic. Qhull \ also computes volumes, surface areas, and approximations to the \ convex hull. homepage http://www.qhull.org master_sites ${homepage}/download distname ${name}-${vyear}-src-7.${vext}.0 extract.suffix .tgz checksums rmd160 1176d0477771294eb096cf6ed2d26cb8186b8613 \ sha256 78b010925c3b577adc3d58278787d7df08f7c8fb02c3490e375eab91bb58a436 worksrcdir ${name}-${version} variant perf { configure.optflags -O3 -pipe -march=native } # See https://trac.macports.org/ticket/51486 compiler.blacklist *gcc-4.2 {*gcc-4.[0-6]} {clang < 137} configure.args-append -DDOC_INSTALL_DIR=share/doc/qhull -DMAN_INSTALL_DIR=share/man/man1 post-destroot { ln -s ${prefix}/include/libqhull ${destroot}${prefix}/include/qhull ln -s ${prefix}/include/libqhull/libqhull.h ${destroot}${prefix}/include/libqhull/qhull.h ln -s ${prefix}/lib/libqhullstatic.a ${destroot}${prefix}/lib/libqhull.a } livecheck.type regex livecheck.url ${master_sites} livecheck.regex Download: Qhull (\[0-9.\]+) for Unix test.run yes