blob: b7000e491560332944704992fb8f27558805d904 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $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"
|