aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Hurling <rhurlin@FreeBSD.org>2022-01-17 08:08:16 +0000
committerRainer Hurling <rhurlin@FreeBSD.org>2022-01-17 08:12:09 +0000
commit4565ee62071d27c0b579d94a5f403ab5ca01774a (patch)
tree7ad7c04bb2a98d5e98c77a250988b03b51f91341
parent84bae19e793c0986e7329cc93accf47ce1c7f620 (diff)
downloadports-4565ee62071d27c0b579d94a5f403ab5ca01774a.tar.gz
ports-4565ee62071d27c0b579d94a5f403ab5ca01774a.zip
graphics/qgis: Change from Github to QGIS release archive
While here, remove unneeded PATCH_SITES. Reported by: Daniel Engberg <diizzy@FreeBSD.org> MFH: 2022Q1
-rw-r--r--graphics/qgis/Makefile13
-rw-r--r--graphics/qgis/distinfo6
-rw-r--r--graphics/qgis/pkg-plist20
3 files changed, 18 insertions, 21 deletions
diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile
index 1ce50abd6dad..c4d020ff309b 100644
--- a/graphics/qgis/Makefile
+++ b/graphics/qgis/Makefile
@@ -1,11 +1,10 @@
# Created by: Laurent Courty
PORTNAME= qgis
-DISTVERSIONPREFIX= final-
-DISTVERSION= 3_22_3
+PORTVERSION= 3.22.3
+PORTREVISION= 1
CATEGORIES= graphics geography
-
-PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+MASTER_SITES= https://qgis.org/downloads/
MAINTAINER= rhurlin@FreeBSD.org
COMMENT= Free and Open Source Geographic Information System
@@ -106,9 +105,7 @@ RUN_DEPENDS= astyle:devel/astyle \
### Fortran is needed by numpy, GRASS, etc.
USES= bison cmake compiler:features desktop-file-utils \
fortran gl gmake gnome pgsql pyqt:5 python:3.7+ qca qt:5 \
- shebangfix sqlite:3
-USE_GITHUB= yes
-GH_PROJECT= ${PORTNAME:tu}
+ shebangfix sqlite:3 tar:bz2
USE_GL= gl
USE_GNOME= libxml2
USE_LDCONFIG= yes
@@ -138,7 +135,7 @@ CMAKE_OFF= WITH_QWTPOLAR
CONFLICTS_INSTALL= qgis-ltr
-PLIST_SUB= DISTVERSION=${PORTVERSION}
+PLIST_SUB= PORTVERSION=${PORTVERSION}
.if !defined(MAINTAINER_MODE)
CMAKE_ARGS+= -Wno-dev
diff --git a/graphics/qgis/distinfo b/graphics/qgis/distinfo
index 87e6d4daa917..a0b5207d20f8 100644
--- a/graphics/qgis/distinfo
+++ b/graphics/qgis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642337922
-SHA256 (qgis-QGIS-final-3_22_3_GH0.tar.gz) = 8e77db9728bc78de8b5a5a956acc61b35e25ced637cc264107fe78428426aa09
-SIZE (qgis-QGIS-final-3_22_3_GH0.tar.gz) = 160044670
+TIMESTAMP = 1642402647
+SHA256 (qgis-3.22.3.tar.bz2) = e7430c3d9cb5782257916834c7898f3d3a5fc7c359b12d5def7cdb437d757893
+SIZE (qgis-3.22.3.tar.bz2) = 136876983
diff --git a/graphics/qgis/pkg-plist b/graphics/qgis/pkg-plist
index b4563540f835..87c135a5ed8f 100644
--- a/graphics/qgis/pkg-plist
+++ b/graphics/qgis/pkg-plist
@@ -1661,23 +1661,23 @@ include/qgis/ui_qgsvectorlayerpropertiesbase.h
include/qgis/util.h
include/qgis/vector_tile.pb.h
lib/libqgis_3d.so
-lib/libqgis_3d.so.%%DISTVERSION%%
+lib/libqgis_3d.so.%%PORTVERSION%%
lib/libqgis_analysis.so
-lib/libqgis_analysis.so.%%DISTVERSION%%
+lib/libqgis_analysis.so.%%PORTVERSION%%
lib/libqgis_app.so
-lib/libqgis_app.so.%%DISTVERSION%%
+lib/libqgis_app.so.%%PORTVERSION%%
lib/libqgis_core.so
-lib/libqgis_core.so.%%DISTVERSION%%
+lib/libqgis_core.so.%%PORTVERSION%%
lib/libqgis_gui.so
-lib/libqgis_gui.so.%%DISTVERSION%%
+lib/libqgis_gui.so.%%PORTVERSION%%
lib/libqgis_native.so
-lib/libqgis_native.so.%%DISTVERSION%%
+lib/libqgis_native.so.%%PORTVERSION%%
%%SERVER%%lib/libqgis_server.so
-%%SERVER%%lib/libqgis_server.so.%%DISTVERSION%%
+%%SERVER%%lib/libqgis_server.so.%%PORTVERSION%%
%%GRASS%%lib/libqgisgrass7.so
-%%GRASS%%lib/libqgisgrass7.so.%%DISTVERSION%%
+%%GRASS%%lib/libqgisgrass7.so.%%PORTVERSION%%
lib/libqgispython.so
-lib/libqgispython.so.%%DISTVERSION%%
+lib/libqgispython.so.%%PORTVERSION%%
%%PYTHON_SITELIBDIR%%/PyQt5/uic/widget-plugins/qgis_customwidgets.py
lib/qgis/crssync
%%GRASS%%lib/qgis/grass/bin/qgis.g.browser7
@@ -1723,7 +1723,7 @@ lib/qgis/plugins/libtopolplugin.so
%%SERVER%%lib/qgis/server/libwmts.so
lib/qgis/untwine
%%QT_PLUGINDIR%%/designer/libqgis_customwidgets.so
-%%QT_PLUGINDIR%%/designer/libqgis_customwidgets.so.%%DISTVERSION%%
+%%QT_PLUGINDIR%%/designer/libqgis_customwidgets.so.%%PORTVERSION%%
%%SERVER%%%%QT_PLUGINDIR%%/sqldrivers/libqsqlspatialite.so
man/man1/qgis.1.gz
share/applications/org.qgis.qgis.desktop