2009-02-01 08:29:04 +00:00
|
|
|
PortSystem 1.0
|
|
|
|
|
|
|
|
|
|
name mapm
|
|
|
|
|
version 4.9.5
|
2009-02-02 03:03:21 +00:00
|
|
|
revision 1
|
2009-02-01 08:29:04 +00:00
|
|
|
categories math science
|
|
|
|
|
platforms darwin
|
2012-07-05 22:04:15 +00:00
|
|
|
license BSD-old
|
2014-10-01 14:38:59 +00:00
|
|
|
maintainers nomaintainer
|
2009-02-01 08:29:04 +00:00
|
|
|
|
|
|
|
|
description A Portable Arbitrary Precision Math Library in C.
|
2009-02-02 03:03:21 +00:00
|
|
|
long_description MAPM is a set of functions that allow the user \
|
2009-02-01 08:29:04 +00:00
|
|
|
to perform math to any level of accuracy that is desired. \
|
|
|
|
|
The precision of a number is only limited by 'INT_MAX' \
|
|
|
|
|
and available memory.
|
|
|
|
|
|
|
|
|
|
homepage http://www.tc.umn.edu/~ringx004/mapm-main.html
|
|
|
|
|
master_sites http://www.tc.umn.edu/~ringx004
|
|
|
|
|
checksums md5 a92ff86b6240f78f882661e0b1c11920 \
|
|
|
|
|
sha1 99dab13404ee30e7a830204da0a66cbae265a8b5 \
|
|
|
|
|
rmd160 f4e39962410ea4f9a0d85a3e07b7421e9795d6cb
|
|
|
|
|
|
|
|
|
|
use_configure no
|
2009-02-02 03:03:21 +00:00
|
|
|
use_parallel_build yes
|
2009-02-01 08:29:04 +00:00
|
|
|
|
|
|
|
|
worksrcdir ${name}_${version}
|
2009-02-02 03:03:21 +00:00
|
|
|
build.args -f makefile.osx \
|
|
|
|
|
CC=${configure.cc}
|
2009-02-01 08:29:04 +00:00
|
|
|
|
|
|
|
|
destroot {
|
2009-02-02 03:03:21 +00:00
|
|
|
xinstall -m 755 -W ${worksrcpath} \
|
|
|
|
|
calc primenum validate \
|
|
|
|
|
${destroot}${prefix}/bin
|
|
|
|
|
xinstall -m 644 ${worksrcpath}/m_apm.h ${destroot}${prefix}/include
|
|
|
|
|
xinstall -m 644 ${worksrcpath}/libmapm.a ${destroot}${prefix}/lib
|
|
|
|
|
xinstall -d -m 755 \
|
|
|
|
|
${destroot}${prefix}/share/${name} \
|
|
|
|
|
${destroot}${prefix}/share/doc/${name}
|
|
|
|
|
foreach item {DOCS MULTI_THREAD PI_DEMO README} {
|
|
|
|
|
copy ${worksrcpath}/${item} ${destroot}${prefix}/share/${name}
|
2009-02-01 08:29:04 +00:00
|
|
|
}
|
2009-02-02 03:03:21 +00:00
|
|
|
ln -s ../${name}/DOCS ${destroot}${prefix}/share/doc/${name}
|
2009-02-01 08:29:04 +00:00
|
|
|
}
|