pkgsrc/x11/py-qt3-base/Makefile
reed 7962aa7c12 Forgot this in previous commit.
Split out shared parts of PyQt packages to Makefile.common.
I did this so I could get Darwin support which requires a
Mac-specific source.

Also capitalize Qt3 in COMMENT.

I tested a few packages using PyQt running on Mac OS X over remote X11
and it still worked (even though no X11 support, but I guess the Qt3's
X11 works for this).
2005-07-01 01:35:10 +00:00

28 lines
782 B
Makefile

# $NetBSD: Makefile,v 1.17 2005/07/01 01:35:10 reed Exp $
#
.include "../../x11/py-qt3-base/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-qt3-base-${PYQT_VERSION}
COMMENT= Python binding for Qt3
BUILDLINK_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
PLIST_SRC+= ${PKGDIR}/PLIST.common_end
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-qt3-sip/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"