source: trunk/dports/math/mapm/Portfile

Last change on this file was 125984, checked in by mf2k@…, 3 years ago

add aop ctris cyrus-imapd cyrus-sasl2 fbg FreeSOLID gift GTorrentViewer latex2rtf logsurfer lurker mapm netwag netwib netwox rtf2latex rtf2latex2e tcl-tls toppler xmfract: Ports abandoned by jmpp. (#44809)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 125984 2014-10-01 14:38:59Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name    mapm
6version    4.9.5
7revision   1
8categories    math science
9platforms       darwin
10license       BSD-old
11maintainers     nomaintainer
12
13description    A Portable Arbitrary Precision Math Library in C.
14long_description    MAPM is a set of functions that allow the user \
15                    to perform math to any level of accuracy that is desired. \
16                    The precision of a number is only limited by 'INT_MAX' \
17                    and available memory.
18
19homepage    http://www.tc.umn.edu/~ringx004/mapm-main.html
20master_sites    http://www.tc.umn.edu/~ringx004
21checksums    md5 a92ff86b6240f78f882661e0b1c11920 \
22             sha1 99dab13404ee30e7a830204da0a66cbae265a8b5 \
23             rmd160 f4e39962410ea4f9a0d85a3e07b7421e9795d6cb
24
25use_configure    no
26use_parallel_build  yes
27
28worksrcdir   ${name}_${version}
29build.args   -f makefile.osx \
30             CC=${configure.cc}
31
32destroot {
33    xinstall -m 755 -W ${worksrcpath} \
34        calc primenum validate \
35        ${destroot}${prefix}/bin
36    xinstall -m 644 ${worksrcpath}/m_apm.h ${destroot}${prefix}/include
37    xinstall -m 644 ${worksrcpath}/libmapm.a ${destroot}${prefix}/lib
38    xinstall -d -m 755 \
39        ${destroot}${prefix}/share/${name} \
40        ${destroot}${prefix}/share/doc/${name}
41    foreach item {DOCS MULTI_THREAD PI_DEMO README} {
42        copy ${worksrcpath}/${item} ${destroot}${prefix}/share/${name}
43    }
44    ln -s ../${name}/DOCS ${destroot}${prefix}/share/doc/${name}
45}
Note: See TracBrowser for help on using the repository browser.