Ticket #17021: py25-pyqwt_Portfile

File py25-pyqwt_Portfile, 1.3 KB (added by michaelld (Michael Dickens), 16 years ago)

Portfile for py25-pyqwt, copied and updated from the py-pyqwt Portfile; may or not work.

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 39661 2008-08-28 17:32:27Z erickt@macports.org $
3
4PortSystem      1.0
5
6name            py25-pyqwt
7version         5.1.0
8revision        1
9platforms       macosx
10categories      python devel
11maintainers     erickt openmaintainer
12description     PyQwt is a set of Python bindings for the Qwt toolkit
13long_description ${description}
14homepage        http://pyqwt.sourceforge.net
15master_sites    sourceforge:pyqwt
16distname        PyQwt-${version}
17
18checksums       md5 c9d662a0d4fc95cec75d3c526e4e748a \
19                sha1 d1b55e4a7400889e1d0831f8d6f3b692fc37aecb \
20                rmd160 e8bbf154a9e30894977494829bf379a807fdf1e9
21
22depends_lib     port:py25-pyqt4 port:qwt
23
24configure.cmd   cd configure && ${prefix}/bin/python2.5 ./configure.py
25
26configure.pre_args -I ${prefix}/include -I ${prefix}/include/qwt -I ${prefix}/include/python2.5 -L ${prefix}/lib --disable-numarray --disable-numeric --disable-numpy
27
28build.target
29
30variant numpy description "Use numpy as array-object" {
31    depends_lib-append port:py25-numpy
32    configure.pre_args -I ${prefix}/include -I ${prefix}/include/qwt -I ${prefix}/include/python2.5 -L ${prefix}/lib --disable-numarray --disable-numeric
33}