Ticket #24234: Portfile-cln.diff
File Portfile-cln.diff, 2.4 KB (added by danmichaelo+macports@…, 15 years ago) |
---|
-
Portfile
old new 1 # -*- 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 1 2 # $Id: Portfile 54602 2009-07-30 06:29:03Z toby@macports.org $ 2 3 3 PortSystem 1.04 PortSystem 1.0 4 5 5 name cln 6 version 1.2.2 7 categories math 8 platforms darwin 9 maintainers gwright 10 description Class Library for Numbers 11 long_description \ 12 CLN is a C++ library providing a rich library of \ 13 numeric functions. 14 15 use_bzip2 yes 16 17 homepage http://www.ginac.de/CLN/ 18 master_sites ${homepage} 19 20 checksums md5 6b479281fec86314b4c7a9357bd83ef8 \ 21 sha1 2d2a5d3e383a3043c5bf68299a466685ef4ec8ec \ 22 rmd160 e53ceebede73fb3f97ca85aeba1c821e1e7d3c38 6 name cln 7 version 1.3.1 8 categories math 9 platforms darwin 10 maintainers gwright 11 12 description CLN is a C++ library for numeric computations 13 14 long_description CLN is a library for efficient computations with \ 15 all kinds of numbers in arbitrary precision. 16 17 homepage http://www.ginac.de/CLN/ 18 master_sites ${homepage} 19 use_bzip2 yes 20 checksums md5 ede584cb1cafa66d56f42a3cf420469d \ 21 sha1 351506da9bd7b0b3cefd3a5424823797fb589acc \ 22 rmd160 bc3be659dfccafb6029af2bf761decceb51fbf4e 23 23 24 depends_lib 24 depends_lib port:gmp 25 25 26 26 platform darwin 7 { 27 28 29 27 pre-fetch { 28 error "cln is not supported on Panther (OS X 10.3.x)" 29 } 30 30 } 31 31 32 configure.cflags-delete -O233 configure.cflags-append -O 32 configure.cflags-delete -O3 33 configure.cflags-append -O2 34 34 35 configure.args --with-gmp=${prefix}/lib \ 36 --infodir=${prefix}/share/info \ 37 --mandir=${prefix}/share/man 35 configure.args --with-gmp=${prefix}/lib \ 36 --infodir=${prefix}/share/info \ 37 --mandir=${prefix}/share/man 38 39 universal_variant no 40 default_variants +test 38 41 39 default_variants +test40 42 variant test description {run testsuite} { 41 test.runyes42 test.targetcheck43 43 test.run yes 44 test.target check 45 } 44 46