Ticket #65875: Portfile

File Portfile, 1.3 KB (added by Schamschula (Marius Schamschula), 20 months ago)
Line 
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
3PortSystem      1.0
4PortGroup       muniversal 1.0
5
6name            cln
7conflicts       puppet
8version         1.3.6
9revision        0
10categories      math
11platforms       darwin
12maintainers     {mps @Schamschula} openmaintainer
13license         GPL-2+
14description     Class Library for Numbers
15long_description    \
16                CLN is a C++ library providing a rich library of     \
17                numeric functions.
18
19use_bzip2       yes
20
21homepage        http://www.ginac.de/CLN/
22master_sites    ${homepage}
23
24checksums       rmd160  901ed4dc8f5a258beb4646fba8973bc7a0b32b44 \
25                sha256  f492530e8879bda529009b6033e1923c8f4aae843149fc28c667c20b094d984a \
26                size    1330815
27
28#use_autoreconf  yes
29
30depends_lib     port:gmp
31
32compiler.cxx_standard 2011
33
34if {${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
44test.run        yes
45test.target     check
46
47livecheck.type  regex
48livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}