1 # $NetBSD: Makefile,v 1.37 2013/01/26 21:36:56 adam Exp $
4 .
include "../../x11/py-qt3-base/Makefile.common"
6 PKGNAME
= ${PYPKGPREFIX}-qt3-base-
${PYQT_VERSION}
9 COMMENT
= Python binding for Qt3
11 BUILDLINK_API_DEPENDS.qt3-tools
+= qt3-tools
>=3.1.2nb2
13 PLIST_SRC
= ${PKGDIR}/PLIST.common
14 .if
${OPSYS} == "Darwin"
15 PLIST_SRC
+= ${PKGDIR}/PLIST.Darwin
17 PLIST_SRC
+= ${PKGDIR}/PLIST.X11
20 SUBST_CLASSES
+= pyversfx
21 SUBST_STAGE.pyversfx
= pre-configure
22 SUBST_FILES.pyversfx
= pyuic3
/pyuic.sbf pylupdate3
/pylupdate.sbf
23 SUBST_SED.pyversfx
= -e
"s|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g"
25 .
include "../../x11/py-sip/buildlink3.mk"
26 .
include "../../x11/qt3-libs/buildlink3.mk"
27 .
include "../../x11/qt3-tools/buildlink3.mk"
28 # ${PYSITELIB}/qt.so depends on libqassistantclient.so
29 # which is part of qt3-tools, so we need a runtime dependency
31 BUILDLINK_DEPMETHOD.qt3-tools
= full
32 .
include "../../mk/bsd.pkg.mk"