Tue Jan 23 19:36:35 2018 UTC ()
py-qt5: remove commented out SUBST_CLASS.install


(markd)
diff -r1.28 -r1.29 pkgsrc/x11/py-qt5/Makefile

cvs diff -r1.28 -r1.29 pkgsrc/x11/py-qt5/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/py-qt5/Makefile 2018/01/23 16:42:02 1.28
+++ pkgsrc/x11/py-qt5/Makefile 2018/01/23 19:36:35 1.29
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.28 2018/01/23 16:42:02 dbj Exp $ 1# $NetBSD: Makefile,v 1.29 2018/01/23 19:36:35 markd Exp $
2 2
3DISTNAME= PyQt5_gpl-${PYQT_VERSION} 3DISTNAME= PyQt5_gpl-${PYQT_VERSION}
4PKGNAME= ${PYPKGPREFIX}-qt5-${PYQT_VERSION} 4PKGNAME= ${PYPKGPREFIX}-qt5-${PYQT_VERSION}
5PYQT_VERSION= 5.9.1 5PYQT_VERSION= 5.9.1
6CATEGORIES= x11 python 6CATEGORIES= x11 python
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyqt/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyqt/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10COMMENT= Python binding for Qt5 10COMMENT= Python binding for Qt5
11HOMEPAGE= http://www.riverbankcomputing.com/software/pyqt/intro 11HOMEPAGE= http://www.riverbankcomputing.com/software/pyqt/intro
12 12
13USE_LIBTOOL= yes 13USE_LIBTOOL= yes
14USE_TOOLS+= gmake pkg-config 14USE_TOOLS+= gmake pkg-config
@@ -18,54 +18,26 @@ CONFIGURE_ARGS+= -b ${PREFIX}/bin @@ -18,54 +18,26 @@ CONFIGURE_ARGS+= -b ${PREFIX}/bin
18CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB} 18CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
19CONFIGURE_ARGS+= -q ${QTDIR}/bin/qmake 19CONFIGURE_ARGS+= -q ${QTDIR}/bin/qmake
20CONFIGURE_ARGS+= --confirm-license 20CONFIGURE_ARGS+= --confirm-license
21CONFIGURE_ARGS+= --qsci-api 21CONFIGURE_ARGS+= --qsci-api
22CONFIGURE_ARGS+= --sip ${BUILDLINK_PREFIX.py-sip}/bin/sip${PYVERSSUFFIX} 22CONFIGURE_ARGS+= --sip ${BUILDLINK_PREFIX.py-sip}/bin/sip${PYVERSSUFFIX}
23CONFIGURE_ARGS+= --verbose 23CONFIGURE_ARGS+= --verbose
24#MAKEFLAGS+= LFLAGS=${LDFLAGS:Q} 24#MAKEFLAGS+= LFLAGS=${LDFLAGS:Q}
25 25
26INSTALL_ENV+= INSTALL_ROOT=${DESTDIR} 26INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
27 27
28PY_PATCHPLIST= yes 28PY_PATCHPLIST= yes
29 29
30SUBST_CLASSES+= x11lib 30SUBST_CLASSES+= x11lib
31#SUBST_CLASSES+= install x11lib 
32#SUBST_STAGE.install= post-configure 
33#SUBST_SED.install+= -e 's,INSTALL_FILE = ,INSTALL_FILE = libtool --mode=install ,' 
34#SUBST_SED.install+= -e 's,\(TARGET[A-Z ]*\)= lib,\1= ,' 
35#SUBST_MESSAGE.install= Fixing installation target and file name. 
36#SUBST_FILES.install+= Qt/Makefile 
37#SUBST_FILES.install+= QtCore/Makefile 
38#SUBST_FILES.install+= QtDBus/Makefile 
39#SUBST_FILES.install+= QtDesigner/Makefile 
40#SUBST_FILES.install+= QtGui/Makefile 
41#SUBST_FILES.install+= QtHelp/Makefile 
42#SUBST_FILES.install+= QtMultimedia/Makefile 
43#SUBST_FILES.install+= QtMultimediaWidgets/Makefile 
44#SUBST_FILES.install+= QtNetwork/Makefile 
45#SUBST_FILES.install+= QtOpenGL/Makefile 
46#SUBST_FILES.install+= QtPositioning/Makefile 
47#SUBST_FILES.install+= QtPrintSupport/Makefile 
48#SUBST_FILES.install+= QtQml/Makefile 
49#SUBST_FILES.install+= QtQuick/Makefile 
50#SUBST_FILES.install+= QtSensors/Makefile 
51#SUBST_FILES.install+= QtSql/Makefile 
52#SUBST_FILES.install+= QtSvg/Makefile 
53#SUBST_FILES.install+= QtTest/Makefile 
54#SUBST_FILES.install+= QtWebKit/Makefile 
55#SUBST_FILES.install+= QtWebKitWidgets/Makefile 
56#SUBST_FILES.install+= QtWidgets/Makefile 
57#SUBST_FILES.install+= QtXmlPatterns/Makefile 
58#SUBST_FILES.install+= _QOpenGLFunctions_2_0/Makefile 
59 31
60SUBST_STAGE.x11lib= post-patch 32SUBST_STAGE.x11lib= post-patch
61SUBST_SED.x11lib+= -e 's,@X11LIB@,${X11BASE}/lib,' 33SUBST_SED.x11lib+= -e 's,@X11LIB@,${X11BASE}/lib,'
62SUBST_SED.x11lib+= -e 's,@PREFIX@,${PREFIX},' 34SUBST_SED.x11lib+= -e 's,@PREFIX@,${PREFIX},'
63SUBST_MESSAGE.x11lib= Fixing rpath for X11 and pulseaudio libraries. 35SUBST_MESSAGE.x11lib= Fixing rpath for X11 and pulseaudio libraries.
64SUBST_FILES.x11lib+= configure.py 36SUBST_FILES.x11lib+= configure.py
65SUBST_FILES.x11lib+= designer/designer.pro-in 37SUBST_FILES.x11lib+= designer/designer.pro-in
66SUBST_FILES.x11lib+= qmlscene/qmlscene.pro-in 38SUBST_FILES.x11lib+= qmlscene/qmlscene.pro-in
67 39
68do-configure: 40do-configure:
69 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ 41 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
70 ${PYTHONBIN} configure.py ${CONFIGURE_ARGS} 42 ${PYTHONBIN} configure.py ${CONFIGURE_ARGS}
71 43