34 lines
970 B
Makefile
34 lines
970 B
Makefile
# $NetBSD: Makefile,v 1.35 2011/11/01 06:03:05 sbd Exp $
|
|
#
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../x11/py-qt3-base/Makefile.common"
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-qt3-base-${PYQT_VERSION}
|
|
PKGREVISION= 8
|
|
|
|
COMMENT= Python binding for Qt3
|
|
|
|
BUILDLINK_API_DEPENDS.qt3-tools+= qt3-tools>=3.1.2nb2
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.common
|
|
.if ${OPSYS} == "Darwin"
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.Darwin
|
|
.else
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.X11
|
|
.endif
|
|
|
|
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"
|
|
|
|
.include "../../x11/py-sip/buildlink3.mk"
|
|
.include "../../x11/qt3-libs/buildlink3.mk"
|
|
.include "../../x11/qt3-tools/buildlink3.mk"
|
|
# ${PYSITELIB}/qt.so depends on libqassistantclient.so
|
|
# which is part of qt3-tools, so we need a runtime dependency
|
|
# XXX split this pkg?
|
|
BUILDLINK_DEPMETHOD.qt3-tools= full
|
|
.include "../../mk/bsd.pkg.mk"
|