Files
Lawrence VelázquezandMojca Miklavec 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

44 lines
1.4 KiB
Plaintext

PortSystem 1.0
name mapm
version 4.9.5
revision 1
categories math science
platforms darwin
license BSD-old
maintainers nomaintainer
description A Portable Arbitrary Precision Math Library in C.
long_description MAPM is a set of functions that allow the user \
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
use_parallel_build yes
worksrcdir ${name}_${version}
build.args -f makefile.osx \
CC=${configure.cc}
destroot {
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}
}
ln -s ../${name}/DOCS ${destroot}${prefix}/share/doc/${name}
}