Ticket #42356: Portfile

File Portfile, 1.2 KB (added by pgf, 11 years ago)
Line 
1# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-mpmath
7version             0.18
8revision            0
9categories-append   math
10license             BSD
11maintainers         nomaintainer
12description         Arbitrary-precision floating-point library for Python
13long_description \
14   Mpmath is a pure-Python library for arbitrary-precision floating-point \
15   arithmetic that implements an extensive set of mathematical functions.
16
17platforms           darwin
18supported_archs     noarch
19
20homepage            http://code.google.com/p/mpmath/
21master_sites        googlecode:mpmath
22distname            mpmath-${version}
23
24checksums           md5     e2e7a7932969f52f25b7e19d8f0438bd \
25                    sha1    b103be6ab76aa2747f5b5d46b9a097b97a191dee \
26                    rmd160  83979e4e4b9c11158d2a94c52302620ad94d63e5
27
28python.versions     25 26 27
29
30if {${name} ne ${subport}} {
31    post-destroot {
32       xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
33       xinstall -m 644 -W ${worksrcpath} CHANGES LICENSE \
34          ${destroot}${prefix}/share/doc/${subport}
35    }
36}