Ticket #25530: Portfile.diff
File Portfile.diff, 2.4 KB (added by raphael-st (Raphael Straub), 14 years ago) |
---|
-
Portfile
2 2 # $Id: Portfile 69266 2010-06-29 07:11:59Z michaelld@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup cmake 1.0 5 6 6 7 name cgal 7 version 3.6 8 revision 2 8 version 3.6.1 9 9 license LGPL - QPL 10 10 categories gis science 11 11 maintainers vince … … 24 24 homepage http://www.cgal.org/ 25 25 26 26 fetch.ignore_sslcert yes 27 master_sites https://gforge.inria.fr/frs/download.php/2 668827 master_sites https://gforge.inria.fr/frs/download.php/27222/ 28 28 29 29 distname CGAL-${version} 30 checksums md5 78dbaf85df0a53ca0e87308d9cbf671e\31 sha1 d9fb363ed373f55050a3954481623d72c0656690\32 rmd160 263f98b0d8b8d52dc0f615709bbb3218c924e842 30 checksums md5 c84e11327bbdd8d83e2abd17c5293b5b \ 31 sha1 5e38aba6b01f56faf03868f8e93f14004bd340f9 \ 32 rmd160 a856ef1db560c68fec81a34bc64164331c603738 33 33 34 depends_lib port:cmake35 34 depends_lib-append port:boost \ 36 port:mpfr 37 38 configure.cmd cmake . 39 40 # Configuration 41 # Start with no configure arguments: override defaults 42 configure.pre_args 43 configure.args 44 configure.cflags 45 configure.cxxflags 46 47 configure.args-append -DCMAKE_INSTALL_PREFIX=${prefix} 48 configure.args-append -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib 49 configure.args-append -DCMAKE_BUILD_TYPE=Release 50 configure.args-append -DBUILD_SHARED_LIBS=TRUE 51 configure.args-append -DCMAKE_C_COMPILER=${configure.cc} 52 configure.args-append -DCMAKE_CXX_COMPILER=${configure.cxx} 53 54 variant universal { 55 configure.universal_args-delete --disable-dependency-tracking 56 configure.args-append -DCGAL_CXX_FLAGS=${configure.universal_args} 57 configure.args-append -DCGAL_MODULE_LINKER_FLAGS=${configure.universal_args} 58 configure.args-append -DCGAL_SHARED_LINKER_FLAGS=${configure.universal_args} 59 configure.args-append -DCGAL_EXE_LINKER_FLAGS=${configure.universal_args} 60 61 configure.universal_args 62 } 35 port:mpfr \ 36 port:zlib \ 37 port:gmp 63 38 64 39 variant demos description {Create demos} { 65 40 depends_lib-append port:qt4-mac … … 67 42 configure.args-append -DWITH_examples=TRUE 68 43 configure.args-append -DWITH_demos=TRUE 69 44 } 70 71 build.target