source: trunk/dports/python/py25-pyqwt/Portfile @ 49940

Last change on this file since 49940 was 49940, checked in by macsforever2000@…, 8 years ago

Use numpy only by default because it is preferred. See <http://pyqwt.sourceforge.net/doc5/installation.html#source-code-installation>. Added workaround for python25 framework bug.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 49940 2009-04-20 16:30:47Z macsforever2000@macports.org $
2
3PortSystem      1.0
4
5name            py25-pyqwt
6version         5.1.0
7revision        1
8platforms       macosx
9categories      python devel
10maintainers     nomaintainer
11description     PyQwt is a set of Python bindings for the Qwt toolkit
12long_description ${description}
13homepage        http://pyqwt.sourceforge.net
14master_sites    sourceforge:pyqwt
15distname        PyQwt-${version}
16
17checksums       md5 c9d662a0d4fc95cec75d3c526e4e748a \
18                sha1 d1b55e4a7400889e1d0831f8d6f3b692fc37aecb \
19                rmd160 e8bbf154a9e30894977494829bf379a807fdf1e9
20
21depends_lib     port:qt4-mac \
22                port:qwt \
23                port:python25 \
24                port:py25-numpy
25
26worksrcdir      ${worksrcdir}/configure
27
28configure.cmd   ${prefix}/bin/python2.5 configure.py
29configure.pre_args -I ${prefix}/include -I ${prefix}/include/qwt -I ${prefix}/include/python2.5 -L ${prefix}/lib --disable-numarray --disable-numeric
30
31build.target
32
33post-destroot {
34    # Workaround for python25 framework bug (#16334)
35        move ${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5 \
36                ${destroot}${prefix}/lib/python2.5
37}
Note: See TracBrowser for help on using the repository browser.