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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name py27-pyqwt |
---|
7 | version 5.2.0 |
---|
8 | revision 1 |
---|
9 | |
---|
10 | platforms macosx |
---|
11 | categories python devel |
---|
12 | maintainers macsforever2000 michaelld |
---|
13 | |
---|
14 | description PyQwt is a set of Python bindings for the Qwt toolkit |
---|
15 | long_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 | |
---|
20 | homepage http://pyqwt.sourceforge.net |
---|
21 | master_sites sourceforge:pyqwt |
---|
22 | distname PyQwt-${version} |
---|
23 | dist_subdir python |
---|
24 | |
---|
25 | checksums md5 fcd6c6029090d473dcc9df497516eae7 \ |
---|
26 | sha1 797f37c63dec660272f6a8ccfd16a017df0ad640 \ |
---|
27 | rmd160 e4c8a63d623d974cd500e29fbc62255746ca7feb |
---|
28 | |
---|
29 | depends_lib port:py27-pyqt4 \ |
---|
30 | port:py27-numpy |
---|
31 | |
---|
32 | worksrcdir ${worksrcdir}/configure |
---|
33 | |
---|
34 | configure.cmd ${prefix}/bin/python2.7 configure.py |
---|
35 | configure.pre_args -I ${prefix}/include -I ${prefix}/include/qwt -I ${prefix}/include/python2.6 -L ${prefix}/lib --disable-numarray --disable-numeric |
---|
36 | configure.universal_args-delete --disable-dependency-tracking |
---|
37 | |
---|
38 | build.target |
---|
39 | |
---|
40 | variant qwt conflicts qwt52 description {Use qwt} { |
---|
41 | depends_lib-append port:qwt |
---|
42 | } |
---|
43 | |
---|
44 | variant qwt52 conflicts qwt description {Use qwt52} { |
---|
45 | depends_lib-append port:qwt52 |
---|
46 | } |
---|
47 | |
---|
48 | if {![variant_isset qwt] && ![variant_isset qwt52]} { |
---|
49 | default_variants +qwt52 |
---|
50 | } |
---|