b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
39 lines
1 KiB
Text
39 lines
1 KiB
Text
# $NetBSD: Makefile.common,v 1.4 2005/12/05 20:51:18 rillig Exp $
|
|
#
|
|
|
|
# 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.15.1
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= http://www.river-bank.demon.co.uk/download/PyQt/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.riverbankcomputing.co.uk/pyqt/
|
|
|
|
.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}
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 24 23 22 21
|
|
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"
|