Files

40 lines
1.3 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup muniversal 1.1
name mpdecimal
version 4.0.1
revision 0
categories math
license BSD
maintainers {mps @Schamschula} openmaintainer
description mpdecimal is a package for correctly-rounded arbitrary precision \
decimal floating point arithmetic.
long_description {*}${description}
homepage https://www.bytereef.org/mpdecimal/
master_sites https://www.bytereef.org/software/mpdecimal/releases/
checksums rmd160 3712de2215f4fe72ebbe5de27a8dfcad0442115c \
sha256 96d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8 \
size 316268
#patchfiles no-rpath.patch
build.target default
compiler.cxx_standard 2011
compiler.thread_local_storage yes
muniversal.arch_flag no
muniversal.arch_compiler yes
# https://trac.macports.org/ticket/71164
configure.env-append \
"LDXXFLAGS=${configure.cxxflags} ${configure.ldflags}"
livecheck.type regex
livecheck.url ${homepage}/download.html
livecheck.regex ${name}-(\[0-9.\]+)[quotemeta ${extract.suffix}]