4150812b27
ok'd a while back at pkgsrcCon by agc and wiz
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2004/07/22 09:15:59 recht Exp $
|
|
#
|
|
|
|
DISTNAME= PyQt-x11-gpl-3.11
|
|
PKGNAME= ${PYPKGPREFIX}-qt3-base-3.11
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyQt/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.riverbankcomputing.co.uk/pyqt/
|
|
COMMENT= Python binding for qt3
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_X11= yes
|
|
USE_LIBTOOL= yes
|
|
USE_GNU_TOOLS+= make
|
|
USE_LANGUAGES= c c++
|
|
BUILDLINK_DEPENDS.qt3-tools= qt3-tools>=3.1.2nb2
|
|
|
|
CONFIGURE_ARGS= -b ${PREFIX}/bin
|
|
CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
|
|
CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 23pth 22pth 21pth
|
|
PY_PATCHPLIST= yes
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
SUBST_CLASSES+= pyversfx
|
|
SUBST_STAGE.pyversfx= pre-configure
|
|
SUBST_FILES.pyversfx= pyuic3/pyuic.sbf pylupdate3/pylupdate.sbf
|
|
SUBST_SED.pyversfx= -e "s|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g"
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../x11/py-qt3-sip/buildlink3.mk"
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
.include "../../x11/qt3-tools/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|