pkgsrc/x11/py-qwt-qt4/Makefile
wiz 1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2016/08/28 15:48:37 wiz Exp $
DISTNAME= PyQwt-5.2.0
PKGNAME= ${PYPKGPREFIX}-qwt-qt4-${DISTNAME:S/PyQwt-//}
PKGREVISION= 3
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}
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # 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"