summaryrefslogtreecommitdiff
path: root/geography/qgis/Makefile
diff options
context:
space:
mode:
authordbj <dbj>2016-02-02 04:33:57 +0000
committerdbj <dbj>2016-02-02 04:33:57 +0000
commit0cc4a0f7c2be8071a8617266863091b6c0e431c4 (patch)
tree673f06c5fab774573dfcf5135c5c4aed40b71aad /geography/qgis/Makefile
parent33ce689997cd3aa060eaa0aeaf663f165a98a400 (diff)
downloadpkgsrc-0cc4a0f7c2be8071a8617266863091b6c0e431c4.tar.gz
update qgis to 12.2.3
New Features in QGIS 2.12 ‘Lyon’ This is the next release in our 4-monthly release series. It gives you access to the new features we have been working on and represents the ‘cutting edge’ of QGIS development. QGIS ‘Lyon’ is jam-packed with awesome new features. Special highlights are support for rule based labelling, rule based styling of attribute tables, and advanced geometry checker, support for digitising curve based geometries, better authentication management and much, much more! QGIS 2.12 also has many bug fixes and memory leaks addressed. The features provided in QGIS 2.12 will be included in the next LTR release (slated for release in 2016), so using this release provides you with an excellent opportunity to test new features that will make their way into the next LTR.
Diffstat (limited to 'geography/qgis/Makefile')
-rw-r--r--geography/qgis/Makefile48
1 files changed, 39 insertions, 9 deletions
diff --git a/geography/qgis/Makefile b/geography/qgis/Makefile
index 62625b07b0a..729c94de7ca 100644
--- a/geography/qgis/Makefile
+++ b/geography/qgis/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2015/06/12 10:50:08 wiz Exp $
+# $NetBSD: Makefile,v 1.45 2016/02/02 04:33:57 dbj Exp $
-DISTNAME= qgis-1.7.4
-PKGREVISION= 27
+DISTNAME= qgis-2.12.3
CATEGORIES= geography
MASTER_SITES= http://qgis.org/downloads/
EXTRACT_SUFX= .tar.bz2
@@ -11,18 +10,45 @@ HOMEPAGE= http://www.qgis.org/
COMMENT= Geographic Information System (GIS)
LICENSE= gnu-gpl-v2
-BROKEN= Doesn't build with QWT 5.2
-
USE_CMAKE= yes
USE_LANGUAGES= c c++ fortran77
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
-USE_TOOLS+= bison perl
+USE_TOOLS+= cmake bison flex perl
+# Due to gmake specific quoting of $ and spaces in filenames, we must use gmake
+USE_TOOLS+= gmake
+
+PLIST_SRC= PLIST
.include "options.mk"
+DEPENDS+= qca2-ossl-[0-9]*:../../security/qca2-ossl
+DEPENDS+= qt4-sqlite3-[0-9]*:../../x11/qt4-sqlite3
+# This is needed to find qca2.
+CMAKE_PREFIX_PATH+=${QTDIR}
+
+# This could be used if we want to build pdf doc, which is currently false
+#BUILD_DEPENDS+= txt2tags-[0-9]*:../../wip/txt2tags
+
+# Disable building of QGIS.app
+# (XXX For now, we might want to find a way to do this later.)
+SUBST_CLASSES+= xapple
+SUBST_STAGE.xapple= pre-configure
+SUBST_MESSAGE.xapple= Disabling APPLE App in cmake scripts
+xapple_FIND_CMD= cd ${WRKSRC} && \
+ find . -name '*.cmake' -o -name CMakeLists.txt
+SUBST_FILES.xapple= ${xapple_FIND_CMD:sh}
+SUBST_SED.xapple+= -e 's,APPLE,XAPPLE,'
+SUBST_SED.xapple+= -e 's,MACOSX_BUNDLE ,,'
+
+# Useful for package development:
+#CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE=TRUE
+
+CONFIGURE_DIRS=build
+CMAKE_ARG_PATH=..
+
pre-configure:
- cd ${WRKSRC} && ${RM} -f cmake/FindGDAL.cmake
+ ${MKDIR} ${WRKSRC}/build
.include "../../geography/gdal-lib/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
@@ -30,9 +56,13 @@ pre-configure:
.include "../../math/gsl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../www/fcgi/buildlink3.mk"
-.include "../../x11/qt4-libs/buildlink3.mk"
-BUILDLINK_DEPMETHOD.qt4-tools= full
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../geography/libspatialite/buildlink3.mk"
+.include "../../geography/spatialindex/buildlink3.mk"
+.include "../../security/qca2/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qwt-qt4/buildlink3.mk"
+.include "../../x11/qt4-qscintilla/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"