Changeset 142747 for trunk/dports/gis


Ignore:
Timestamp:
Nov 21, 2015, 5:18:10 PM (4 years ago)
Author:
vince@…
Message:

cgal: bump to 4.7 and move to github port. Qt5 disabled because I can’t build it on my computer. To be enabled later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/cgal/Portfile

    r138268 r142747  
    33
    44PortSystem          1.0
    5 PortGroup           cmake 1.0
     5PortGroup           cmake   1.0
     6PortGroup           github  1.0
    67
    7 name                cgal
    8 version             4.6.1
    9 license             LGPL-3+ GPL-3+
    10 categories          gis science
    11 maintainers         vince
    128description         Computational Geometry Algorithm Library
    139long_description    \
     
    2420homepage            http://www.cgal.org/
    2521
    26 fetch.ignore_sslcert     yes
    27 master_sites        https://gforge.inria.fr/frs/download.php/file/34900/
     22github.setup        CGAL cgal 4.7 releases%2FCGAL-
     23github.tarball_from releases
     24name                cgal
     25license             LGPL-3+ GPL-3+
     26categories          gis science
     27maintainers         vince
    2828
    29 distname            CGAL-${version}
    30 checksums           rmd160  cb6bfa388540f22e79e3d0468b6626fc52853b94 \
    31                     sha256  33bd82871ccbaf16dc509f78f3f91dd35d44197cad64bffa63a1671a1812351a
    3229
    33 use_xz              yes
     30checksums           rmd160  d8260dfd9456b37edf4d28cdd67d7fd069c8ae57 \
     31                    sha256  1be058fe9fc4d8331b48daf8beb114a049fd4970220d8a570ff709b7789dacae
    3432
    3533worksrcdir          CGAL-${version}
     
    4139
    4240configure.args-append   -DCGAL_INSTALL_CMAKE_DIR="share/CGAL/cmake" \
    43                         -DWITH_CGAL_Qt3:BOOL=OFF \
    44                         -DWITH_CGAL_Qt4:BOOL=OFF \
     41                        -DWITH_CGAL_Qt5:BOOL=OFF \
    4542                        -DBoost_DIR:PATH=${prefix} \
    4643                        -DWITH_Eigen3:BOOL=ON \
     
    4946# gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug>
    5047compiler.blacklist-append gcc-4.0
    51 
    52 variant perf description    {optimize code for current arch} {
    53     configure.compiler      macports-clang-3.5
    54     configure.optflags      -O3 -pipe -march=native
    55 }
    5648
    5749variant debug description {Build with debug symbols} {
     
    6456}
    6557
    66 variant qt4 description {Build with Qt4 bindings} {
    67     PortGroup               qt4 1.0
     58variant qt5 description {Build with Qt5 bindings} {
     59    PortGroup               qt5 1.0
    6860
    69     configure.args-delete   -DWITH_CGAL_Qt3:BOOL=OFF \
    70                             -DWITH_CGAL_Qt4:BOOL=OFF
     61    configure.args-delete   -DWITH_CGAL_Qt5:BOOL=OFF
    7162}
    7263
Note: See TracChangeset for help on using the changeset viewer.