Ticket #21547: Portfile

File Portfile, 1.5 KB (added by dechaume@…, 15 years ago)
Line 
1# $Id: Portfile 46465 2009-02-05 08:54:01Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    py26-numarray
7version                 1.5.2
8categories              python devel math
9platforms               darwin
10maintainers             nomaintainer
11description             array manipulation and computational library for python
12long_description \
13    Numarray provides array manipulation and computational \
14        capabilities similar to those found in IDL, Matlab, or \
15        Octave. Using numarray, it is possible to write many \
16        efficient numerical data processing applications \
17        directly in Python without using any C, C++ or Fortran code.
18
19homepage                http://www.stsci.edu/resources/software_hardware/numarray
20master_sites    sourceforge:numpy
21distname                numarray-${version}
22checksums               sha1 17f6c4bb5f0d97e93923b8ca4f55fccc1ee985e9
23
24#
25# py26-numarray does not understand setup.py --no-user-cfg from PortGroup
26#
27
28build.cmd               ${python.bin} setup.py
29build.args              --gencode
30
31destroot.cmd            ${python.bin} setup.py
32
33variant smp description {Specify this to try to exploit multiple processors. A work in progress ...} {
34        build.args              --smp
35        destroot.args   --smp
36}
37
38post-destroot {
39        xinstall -m 644 -W ${worksrcpath} Doc/Announce.txt \
40                Doc/Repackaging.txt Doc/INSTALL.txt Doc/Design.txt \
41                Doc/UsersGuide.txt LICENSE.txt README.txt \
42                ${destroot}${prefix}/share/doc/${name}
43        file delete ${destroot}${prefix}/share/doc/${name}/examples
44        file copy ${worksrcpath}/Examples \
45                ${destroot}${prefix}/share/doc/${name}/examples
46}
47
48livecheck.regex "<title>Old Numarray (.*) released.*</title>"