source: trunk/dports/python/py-fpconst/Portfile @ 5325

Last change on this file since 5325 was 5325, checked in by mww, 17 years ago

prefer xinstall over file copy/mkdir

  • Property svn:eol-style set to native
File size: 1.0 KB
Line 
1# $Id: Portfile,v 1.2 2004/02/08 13:24:55 mww Exp $
2
3PortSystem 1.0
4
5name            py-fpconst
6version         0.6.0
7categories      python
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     IEEE 754 floating point special handling for Python
11long_description        This python module implements constants and functions \
12                        for working with IEEE754 double-precision special \
13                        values. It provides constants for Not-a-Number (NaN), \
14                        Positive Infinity (Inf), and Negative Infinity (-Inf), \
15                        as well as functions to test for these values.
16
17homepage        http://www.analytics.washington.edu/Zope/projects/fpconst
18master_sites    ${homepage}
19distname        fpconst-${version}
20checksums       md5 5eaf8e8d1978ca4bbead5b3f163b23a1
21
22depends_lib     bin:python:python
23
24use_configure   no
25
26build.cmd       python setup.py
27build.target    build
28
29destroot.cmd    python setup.py
30destroot.destdir        --prefix=${destroot}${prefix}
31
32post-destroot   {
33        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
34        xinstall -m 644 -W ${worksrcpath} pep-0754.txt README \
35                ${destroot}${prefix}/share/doc/${name}
36}
Note: See TracBrowser for help on using the repository browser.