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

Last change on this file since 20382 was 20382, checked in by blair@…, 13 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 20382 2006-11-02 21:38:50Z blair@macports.org $
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.