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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup muniversal 1.0 |
---|
5 | |
---|
6 | name cln |
---|
7 | conflicts puppet |
---|
8 | version 1.3.6 |
---|
9 | revision 0 |
---|
10 | categories math |
---|
11 | platforms darwin |
---|
12 | maintainers {mps @Schamschula} openmaintainer |
---|
13 | license GPL-2+ |
---|
14 | description Class Library for Numbers |
---|
15 | long_description \ |
---|
16 | CLN is a C++ library providing a rich library of \ |
---|
17 | numeric functions. |
---|
18 | |
---|
19 | use_bzip2 yes |
---|
20 | |
---|
21 | homepage http://www.ginac.de/CLN/ |
---|
22 | master_sites ${homepage} |
---|
23 | |
---|
24 | checksums rmd160 901ed4dc8f5a258beb4646fba8973bc7a0b32b44 \ |
---|
25 | sha256 f492530e8879bda529009b6033e1923c8f4aae843149fc28c667c20b094d984a \ |
---|
26 | size 1330815 |
---|
27 | |
---|
28 | #use_autoreconf yes |
---|
29 | |
---|
30 | depends_lib port:gmp |
---|
31 | |
---|
32 | compiler.cxx_standard 2011 |
---|
33 | |
---|
34 | if {${build_arch} eq "arm64"} { |
---|
35 | patchfiles-append \ |
---|
36 | patch-src-base-cl_low.h.diff \ |
---|
37 | patch-src-base-low-cl_low_div.cc.diff \ |
---|
38 | patch-src-base-low-cl_low_mul.cc.diff |
---|
39 | |
---|
40 | configure.cppflags-append \ |
---|
41 | "-DNO_ASM" |
---|
42 | } |
---|
43 | |
---|
44 | test.run yes |
---|
45 | test.target check |
---|
46 | |
---|
47 | livecheck.type regex |
---|
48 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|