Ticket #31053: Portfile.diff

File Portfile.diff, 1.7 KB (added by tenomoto (Takeshi Enomoto), 13 years ago)
  • Portfile

     
    55PortGroup           cmake 1.0
    66
    77name                qhull
    8 version             2011.1
    9 revision            1
     8version             2011.2
    109categories          math
    1110platforms           darwin
    1211maintainers         mmoll
     
    2726master_sites        ${homepage}/download
    2827distname            ${name}-${version}-src
    2928extract.suffix      .tgz
    30 checksums           md5     a65061cf2a6e6581182f4df0f3667a8e \
    31                     sha1    3639b52e99bc0837fb2670d3a8a4bac3f0347ab8 \
    32                     rmd160  4689ece746c1125757f1d0e162bbe95d3864ba5b
     29checksums           md5     4f4bac7769a5b1e0c6470ea457e2d4d2 \
     30                    sha1    627825d741753573e3589dae1640b7bfc4efbc0b \
     31                    rmd160  db1e2a810b52cd1291d48515c3816f21ee501171
    3332patchfiles          patch-CMakeLists.txt.diff \
    3433                    patch-QhullPointSet.h.diff
    3534# last patch is for g++-4.0 / Leopard, see #31053
     
    3736configure.args-append   -DDOC_INSTALL_DIR=share/doc/qhull -DMAN_INSTALL_DIR=share/man/man1
    3837post-destroot {
    3938    ln -s ${prefix}/include/libqhull ${destroot}${prefix}/include/qhull
     39    ln -s ${prefix}/include/libqhull/libqhull.h ${destroot}${prefix}/include/libqhull/qhull.h
     40#    ln -s ${prefix}/include/libqhull/qhull.h-deprecated ${destroot}${prefix}/include/libqhull/qhull.h
     41    ln -s ${prefix}/lib/libqhull6.dylib ${destroot}${prefix}/lib/libqhull.dylib
     42    ln -s ${prefix}/lib/libqhullstatic.a ${destroot}${prefix}/lib/libqhull.a
    4043}
    4144livecheck.type      regex
    4245livecheck.url       ${master_sites}