| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.91 2020/06/12 17:50:39 rillig Exp $ | | 1 | # $NetBSD: Makefile,v 1.92 2020/06/16 21:54:24 gdt Exp $ |
2 | | | 2 | |
3 | DISTNAME= qgis-3.8.3 | | 3 | DISTNAME= qgis-3.8.3 |
4 | PKGREVISION= 10 | | 4 | PKGREVISION= 10 |
5 | CATEGORIES= geography | | 5 | CATEGORIES= geography |
6 | MASTER_SITES= https://qgis.org/downloads/ | | 6 | MASTER_SITES= https://qgis.org/downloads/ |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= brook@nmsu.edu | | 9 | MAINTAINER= brook@nmsu.edu |
10 | HOMEPAGE= http://www.qgis.org/ | | 10 | HOMEPAGE= http://www.qgis.org/ |
11 | COMMENT= Geographic Information System (GIS) | | 11 | COMMENT= Geographic Information System (GIS) |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | USE_CMAKE= yes | | 14 | USE_CMAKE= yes |
| @@ -28,26 +28,28 @@ DEPENDS+= qca2-qt5-ossl-[0-9]*:../../se | | | @@ -28,26 +28,28 @@ DEPENDS+= qca2-qt5-ossl-[0-9]*:../../se |
28 | CMAKE_PREFIX_PATH+= ${QTDIR} | | 28 | CMAKE_PREFIX_PATH+= ${QTDIR} |
29 | | | 29 | |
30 | # This could be used if we want to build pdf doc, which is currently false | | 30 | # This could be used if we want to build pdf doc, which is currently false |
31 | #BUILD_DEPENDS+= txt2tags-[0-9]*:../../wip/txt2tags | | 31 | #BUILD_DEPENDS+= txt2tags-[0-9]*:../../wip/txt2tags |
32 | | | 32 | |
33 | # Disable building of QGIS.app | | 33 | # Disable building of QGIS.app |
34 | # (XXX For now, we might want to find a way to do this later.) | | 34 | # (XXX For now, we might want to find a way to do this later.) |
35 | SUBST_CLASSES+= xapple | | 35 | SUBST_CLASSES+= xapple |
36 | SUBST_STAGE.xapple= pre-configure | | 36 | SUBST_STAGE.xapple= pre-configure |
37 | SUBST_MESSAGE.xapple= Disabling APPLE App in cmake scripts | | 37 | SUBST_MESSAGE.xapple= Disabling APPLE App in cmake scripts |
38 | xapple_FIND_CMD= cd ${WRKSRC} && \ | | 38 | xapple_FIND_CMD= cd ${WRKSRC} && \ |
39 | find . -name '*.cmake' -o -name CMakeLists.txt | | 39 | find . -name '*.cmake' -o -name CMakeLists.txt |
40 | SUBST_FILES.xapple= ${xapple_FIND_CMD:sh} | | 40 | SUBST_FILES.xapple= ${xapple_FIND_CMD:sh} |
| | | 41 | # The output of find is a superset of the needed files. |
| | | 42 | SUBST_NOOP_OK.xapple= yes |
41 | SUBST_SED.xapple+= -e 's,APPLE,XAPPLE,' | | 43 | SUBST_SED.xapple+= -e 's,APPLE,XAPPLE,' |
42 | SUBST_SED.xapple+= -e 's,MACOSX_BUNDLE ,,' | | 44 | SUBST_SED.xapple+= -e 's,MACOSX_BUNDLE ,,' |
43 | SUBST_NOOP_OK.xapple= yes # since SUBST_FILES is generated | | 45 | SUBST_NOOP_OK.xapple= yes # since SUBST_FILES is generated |
44 | | | 46 | |
45 | SUBST_CLASSES+= pyqt | | 47 | SUBST_CLASSES+= pyqt |
46 | SUBST_STAGE.pyqt= pre-configure | | 48 | SUBST_STAGE.pyqt= pre-configure |
47 | SUBST_MESSAGE.pyqt= Use correct python version for PyQt5 programs | | 49 | SUBST_MESSAGE.pyqt= Use correct python version for PyQt5 programs |
48 | SUBST_FILES.pyqt= cmake/PyQtMacros.cmake | | 50 | SUBST_FILES.pyqt= cmake/PyQtMacros.cmake |
49 | SUBST_SED.pyqt+= -e '/^SET/s,pyuic5,&-${PYVERSSUFFIX},' | | 51 | SUBST_SED.pyqt+= -e '/^SET/s,pyuic5,&-${PYVERSSUFFIX},' |
50 | SUBST_SED.pyqt+= -e '/^SET/s,pyrcc5,&-${PYVERSSUFFIX},' | | 52 | SUBST_SED.pyqt+= -e '/^SET/s,pyrcc5,&-${PYVERSSUFFIX},' |
51 | | | 53 | |
52 | CMAKE_ARGS+= -DWITH_QTWEBKIT=FALSE | | 54 | CMAKE_ARGS+= -DWITH_QTWEBKIT=FALSE |
53 | CMAKE_ARGS+= -DQWT_DIR=${QWT_DIR} | | 55 | CMAKE_ARGS+= -DQWT_DIR=${QWT_DIR} |