Ticket #26829: Portfile

File Portfile, 1.8 KB (added by dsdale24@…, 14 years ago)

py27-pyqwt Portfile

Line 
1# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 69216 2010-06-29 01:56:20Z michaelld@macports.org $
3
4PortSystem       1.0
5
6name               py27-pyqwt
7version            5.2.0
8revision           1
9
10platforms          macosx
11categories         python devel
12maintainers        macsforever2000 michaelld
13
14description        PyQwt is a set of Python bindings for the Qwt toolkit
15long_description   PyQwt is a set of Python bindings for the Qwt C++ class library which extends \
16                   the Qt framework with widgets for scientific and engineering applications. It \
17                   provides a widget to plot 2-dimensional data and various widgets to display \
18                   and control bounded or unbounded floating point values.
19
20homepage           http://pyqwt.sourceforge.net
21master_sites       sourceforge:pyqwt
22distname           PyQwt-${version}
23dist_subdir        python
24
25checksums          md5     fcd6c6029090d473dcc9df497516eae7 \
26                   sha1    797f37c63dec660272f6a8ccfd16a017df0ad640 \
27                   rmd160  e4c8a63d623d974cd500e29fbc62255746ca7feb
28
29depends_lib        port:py27-pyqt4 \
30                   port:py27-numpy
31
32worksrcdir         ${worksrcdir}/configure
33
34configure.cmd      ${prefix}/bin/python2.7 configure.py
35configure.pre_args -I ${prefix}/include -I ${prefix}/include/qwt -I ${prefix}/include/python2.6 -L ${prefix}/lib --disable-numarray --disable-numeric
36configure.universal_args-delete --disable-dependency-tracking
37
38build.target
39
40variant qwt conflicts qwt52 description {Use qwt} {
41    depends_lib-append  port:qwt
42}
43
44variant qwt52 conflicts qwt description {Use qwt52} {
45    depends_lib-append  port:qwt52
46}
47
48if {![variant_isset qwt] && ![variant_isset qwt52]} {
49    default_variants    +qwt52
50}