[142747] trunk/dports/gis/cgal/Portfile
vince at macports.org
vince at macports.org
Sat Dec 12 07:03:55 PST 2015
Revision: 142747
https://trac.macports.org/changeset/142747
Author: vince at macports.org
Date: 2015-11-21 09:18:10 -0800 (Sat, 21 Nov 2015)
Log 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.
Modified Paths:
--------------
trunk/dports/gis/cgal/Portfile
Modified: trunk/dports/gis/cgal/Portfile
===================================================================
--- trunk/dports/gis/cgal/Portfile 2015-11-21 16:43:37 UTC (rev 142746)
+++ trunk/dports/gis/cgal/Portfile 2015-11-21 17:18:10 UTC (rev 142747)
@@ -2,13 +2,9 @@
# $Id$
PortSystem 1.0
-PortGroup cmake 1.0
+PortGroup cmake 1.0
+PortGroup github 1.0
-name cgal
-version 4.6.1
-license LGPL-3+ GPL-3+
-categories gis science
-maintainers vince
description Computational Geometry Algorithm Library
long_description \
The goal of the CGAL is to provide easy access to\
@@ -23,14 +19,16 @@
platforms darwin
homepage http://www.cgal.org/
-fetch.ignore_sslcert yes
-master_sites https://gforge.inria.fr/frs/download.php/file/34900/
+github.setup CGAL cgal 4.7 releases%2FCGAL-
+github.tarball_from releases
+name cgal
+license LGPL-3+ GPL-3+
+categories gis science
+maintainers vince
-distname CGAL-${version}
-checksums rmd160 cb6bfa388540f22e79e3d0468b6626fc52853b94 \
- sha256 33bd82871ccbaf16dc509f78f3f91dd35d44197cad64bffa63a1671a1812351a
-use_xz yes
+checksums rmd160 d8260dfd9456b37edf4d28cdd67d7fd069c8ae57 \
+ sha256 1be058fe9fc4d8331b48daf8beb114a049fd4970220d8a570ff709b7789dacae
worksrcdir CGAL-${version}
depends_lib-append port:boost \
@@ -40,8 +38,7 @@
port:eigen3
configure.args-append -DCGAL_INSTALL_CMAKE_DIR="share/CGAL/cmake" \
- -DWITH_CGAL_Qt3:BOOL=OFF \
- -DWITH_CGAL_Qt4:BOOL=OFF \
+ -DWITH_CGAL_Qt5:BOOL=OFF \
-DBoost_DIR:PATH=${prefix} \
-DWITH_Eigen3:BOOL=ON \
-DWITH_ZLIB:BOOL=ON
@@ -49,11 +46,6 @@
# gcc 4.0 is too old to compile CGAL properly; see <http://www.cgal.org/FAQ.html#mac_optimization_bug>
compiler.blacklist-append gcc-4.0
-variant perf description {optimize code for current arch} {
- configure.compiler macports-clang-3.5
- configure.optflags -O3 -pipe -march=native
-}
-
variant debug description {Build with debug symbols} {
configure.args-delete -DCMAKE_BUILD_TYPE=Release
configure.args-append -DCMAKE_BUILD_TYPE=Debug
@@ -63,11 +55,10 @@
}
}
-variant qt4 description {Build with Qt4 bindings} {
- PortGroup qt4 1.0
+variant qt5 description {Build with Qt5 bindings} {
+ PortGroup qt5 1.0
- configure.args-delete -DWITH_CGAL_Qt3:BOOL=OFF \
- -DWITH_CGAL_Qt4:BOOL=OFF
+ configure.args-delete -DWITH_CGAL_Qt5:BOOL=OFF
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/a80c6c7c/attachment.html>
More information about the macports-changes
mailing list