pkgsrc/x11/py-qwt-qt4/Makefile
mef 3dacff0ce6 Import py27-qwt-qt4-5.2.0 as x11/py-qwt-qt4.
PyQwt is a set of Python bindings for the Qwt C++ class
library which extends the Qt framework with widgets for
scientific and engineering applications. It provides a widget
to plot 2-dimensional data and various widgets to display and
control bounded or unbounded floating point values.
2014-10-02 03:47:28 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.1 2014/10/02 03:47:28 mef Exp $
DISTNAME= PyQwt-5.2.0
PKGNAME= ${PYPKGPREFIX}-qwt-qt4-${DISTNAME:S/PyQwt-//}
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyqwt/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pyqwt.sourceforge.net/
COMMENT= Python bindings for the Qwt QT4 C++ class library
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
HAS_CONFIGURE= yes
BUILD_DIRS= configure
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
# Following line rescues from 'Unresolved dependency with pbulk'
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-Numeric
REPLACE_PYTHON+=qt4lib/PyQt4/Qwt5/grace.py
REPLACE_PYTHON+=qt4lib/PyQt4/Qwt5/qplt.py
do-configure:
(cd ${WRKSRC}/configure &&\
${PKGSRC_SETENV} ${CONFIGURE_ENV} ${PYTHONBIN}\
configure.py -Q ../qwt-5.2)
.include "../../lang/python/application.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../math/py-numarray/buildlink3.mk"
.include "../../math/py-Numeric/buildlink3.mk"
.include "../../x11/py-qt4/buildlink3.mk"
.include "../../x11/py-sip/buildlink3.mk"
.include "../../x11/qwt-qt4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"