b3b724c760
to 2.3+ but was now disallowing 2.6.
41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
# $NetBSD: Makefile.common,v 1.13 2009/07/22 09:19:37 wiz Exp $
|
|
#
|
|
# used by x11/py-qt3-base/Makefile
|
|
# used by x11/py-qt3-modules/Makefile
|
|
# used by x11/py-qt3-qscintilla/Makefile
|
|
#
|
|
# XXX: when updating version, be sure to update distinfo for both
|
|
# XXX: PyQt-mac-gpl and PyQt-x11-gpl in py-qt3-qscintilla,
|
|
# XXX: py-qt3-base, and py-qt3-modules.
|
|
|
|
PYQT_VERSION= 3.18.1
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= http://www.riverbankcomputing.com/static/Downloads/PyQt3/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.riverbankcomputing.com/software/pyqt/intro
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
DISTNAME= PyQt-mac-gpl-${PYQT_VERSION}
|
|
.else
|
|
DISTNAME= PyQt-x11-gpl-${PYQT_VERSION}
|
|
.endif
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake
|
|
USE_LANGUAGES= c c++
|
|
|
|
CONFIGURE_ARGS+= -b ${PREFIX}/bin
|
|
CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
|
|
CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
|
|
|
|
PY_PATCHPLIST= yes
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
|
|
|
|
.include "../../lang/python/extension.mk"
|