# $NetBSD: Makefile,v 1.2 2015/02/21 23:35:42 ryoon Exp $ DISTNAME= PyQt-gpl-${PYQT_VERSION} PKGNAME= ${PYPKGPREFIX}-qt5-${PYQT_VERSION} PKGREVISION= 1 PYQT_VERSION= 5.4 CATEGORIES= x11 python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyqt/} MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Python binding for Qt5 HOMEPAGE= http://www.riverbankcomputing.com/software/pyqt/intro USE_LIBTOOL= yes USE_TOOLS+= gmake pkg-config USE_LANGUAGES= c c++ CONFIGURE_ARGS+= -b ${PREFIX}/bin CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB} CONFIGURE_ARGS+= -q ${QTDIR}/bin/qmake CONFIGURE_ARGS+= --confirm-license CONFIGURE_ARGS+= --qsci-api CONFIGURE_ARGS+= --sip ${BUILDLINK_PREFIX.py-sip}/bin/sip${PYVERSSUFFIX} CONFIGURE_ARGS+= --verbose INSTALL_ENV+= INSTALL_ROOT=${DESTDIR} PY_PATCHPLIST= yes PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} SUBST_CLASSES+= install SUBST_STAGE.install= post-configure SUBST_SED.install+= -e 's,INSTALL_FILE = ,INSTALL_FILE = libtool --mode=install ,' SUBST_SED.install+= -e 's,\(TARGET[A-Z ]*\)= lib,\1= ,' SUBST_MESSAGE.install= Fixing installation target and file name. SUBST_FILES.install+= Qt/Makefile SUBST_FILES.install+= QtCore/Makefile SUBST_FILES.install+= QtDBus/Makefile SUBST_FILES.install+= QtDesigner/Makefile SUBST_FILES.install+= QtGui/Makefile SUBST_FILES.install+= QtHelp/Makefile SUBST_FILES.install+= QtMultimedia/Makefile SUBST_FILES.install+= QtMultimediaWidgets/Makefile SUBST_FILES.install+= QtNetwork/Makefile SUBST_FILES.install+= QtOpenGL/Makefile SUBST_FILES.install+= QtPositioning/Makefile SUBST_FILES.install+= QtPrintSupport/Makefile SUBST_FILES.install+= QtQml/Makefile SUBST_FILES.install+= QtQuick/Makefile SUBST_FILES.install+= QtSensors/Makefile SUBST_FILES.install+= QtSql/Makefile SUBST_FILES.install+= QtSvg/Makefile SUBST_FILES.install+= QtTest/Makefile SUBST_FILES.install+= QtWebKit/Makefile SUBST_FILES.install+= QtWebKitWidgets/Makefile SUBST_FILES.install+= QtWidgets/Makefile SUBST_FILES.install+= QtXmlPatterns/Makefile SUBST_FILES.install+= _QOpenGLFunctions_2_0/Makefile do-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${PYTHONBIN} configure.py ${CONFIGURE_ARGS} .include "../../lang/python/extension.mk" .include "../../sysutils/dbus-python-common/buildlink3.mk" BUILDLINK_API_DEPENDS.py-sip+= ${PYPKGPREFIX}-sip>=4.16.4 .include "../../x11/py-sip/buildlink3.mk" .include "../../x11/qt5-dbus/buildlink3.mk" .include "../../x11/qt5-qtbase/buildlink3.mk" .include "../../x11/qt5-qtdeclarative/buildlink3.mk" .include "../../x11/qt5-qtlocation/buildlink3.mk" .include "../../x11/qt5-qtmultimedia/buildlink3.mk" .include "../../x11/qt5-qtsensors/buildlink3.mk" .include "../../x11/qt5-qtsvg/buildlink3.mk" .include "../../x11/qt5-qttools/buildlink3.mk" .include "../../x11/qt5-qtwebkit/buildlink3.mk" .include "../../x11/qt5-qtxmlpatterns/buildlink3.mk" .include "../../mk/bsd.pkg.mk"