source: trunk/dports/python/py-numeric/Portfile @ 15038

Last change on this file since 15038 was 15038, checked in by mww, 14 years ago

update to 24.2

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.19 2005/11/13 23:50:52 mww Exp $
2
3PortSystem 1.0
4PortGroup python24 1.0
5
6name                    py-numeric
7version                 24.2
8categories              python devel math
9maintainers             mww@opendarwin.org
10platforms               darwin
11description             fast numerical array language for python
12long_description        Numerical Python adds a fast, compact, \
13                                multidimensional array language facility to Python.
14
15homepage                http://www.pfdubois.com/numpy/
16master_sites    sourceforge:numpy freebsd sourceforge:numpy
17distname                Numeric-${version}
18checksums               md5 2ae672656e06716a149acb048cca3093
19
20platform darwin 8 {
21        build.env       CC=/usr/bin/gcc-4.0
22}
23
24platform macosx {
25        patch {
26                file copy -force ${filespath}/customize.py-macosx ${worksrcpath}/customize.py
27        }
28}
29
30platform puredarwin {
31        patch {
32                file copy -force ${filespath}/customize.py-puredarwin ${worksrcpath}/customize.py
33        }
34}
35
36test.run                yes
37test.env                PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
38test.cmd                ${python.bin} Test/test.py
39test.target
40
41set doc                 ${destroot}${prefix}/share/doc/${name}
42post-destroot {
43        xinstall -d -m 755 ${doc}/dotblas ${doc}/MA ${doc}/RNG
44        xinstall -W ${worksrcpath} README changes.txt ${doc}
45        xinstall -m 644 ${worksrcpath}/Packages/dotblas/doc/README.html \
46                ${doc}/dotblas
47        xinstall -m 644 -W ${worksrcpath}/Packages/MA Legal.htm changes.txt \
48                ${doc}/MA
49        xinstall -m 644 ${worksrcpath}/Packages/RNG/Legal.htm ${doc}/RNG
50        file copy ${worksrcpath}/Demo ${doc}
51        file copy ${worksrcpath}/Packages/MA/Demo ${doc}/MA
52}
53
Note: See TracBrowser for help on using the repository browser.