1 # $NetBSD: Makefile.common,v 1.12 2009/06/17 07:11:03 hasso Exp $
3 # used by x11/py-qt3-base/Makefile
4 # used by x11/py-qt3-modules/Makefile
5 # used by x11/py-qt3-qscintilla/Makefile
7 # XXX: when updating version, be sure to update distinfo for both
8 # XXX: PyQt-mac-gpl and PyQt-x11-gpl in py-qt3-qscintilla,
9 # XXX: py-qt3-base, and py-qt3-modules.
12 CATEGORIES= x11 python
13 MASTER_SITES= http://www.riverbankcomputing.com/static/Downloads/PyQt3/
15 MAINTAINER= pkgsrc-users@NetBSD.org
16 HOMEPAGE= http://www.riverbankcomputing.com/software/pyqt/intro
18 .include "../../mk/bsd.prefs.mk"
20 .if ${OPSYS} == "Darwin"
21 DISTNAME= PyQt-mac-gpl-${PYQT_VERSION}
23 DISTNAME= PyQt-x11-gpl-${PYQT_VERSION}
30 CONFIGURE_ARGS+= -b ${PREFIX}/bin
31 CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
32 CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
35 PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
38 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
39 ${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
41 .include "../../lang/python/extension.mk"