git: 973a290e4ae9 - main - graphics/proj: Update to 9.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Dec 2024 22:42:38 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=973a290e4ae9e64c7f9da92036a801fc949fd850
commit 973a290e4ae9e64c7f9da92036a801fc949fd850
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-16 22:31:12 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-16 22:42:17 +0000
graphics/proj: Update to 9.5.1
* Switch from PORTVERSION to DISTVERSION
* Use GitHub as primary site and osgeo.org as fallback
* Add devel/nlohmann-json to build dependencies
* Enable "make test"
* Minor changes to Makefile layout
Changelog: https://github.com/OSGeo/PROJ/releases/tag/9.5.1
PR: 283095
Reviewed by: lbartoletti (maintainer)
---
graphics/proj/Makefile | 16 +++++++++++-----
graphics/proj/distinfo | 6 +++---
graphics/proj/pkg-plist | 3 ++-
3 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/graphics/proj/Makefile b/graphics/proj/Makefile
index 4b2ea2507692..d7b08ef8577f 100644
--- a/graphics/proj/Makefile
+++ b/graphics/proj/Makefile
@@ -1,8 +1,9 @@
PORTNAME= proj
-PORTVERSION= 9.4.1
+DISTVERSION= 9.5.1
PORTEPOCH= 1
CATEGORIES= graphics geography
-MASTER_SITES= https://download.osgeo.org/proj/
+MASTER_SITES= https://github.com/OSGeo/PROJ/releases/download/${DISTVERSION}/ \
+ https://download.osgeo.org/proj/
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Cartographic Projections library
@@ -11,15 +12,20 @@ WWW= https://github.com/OSGeo/PROJ
LICENSE= MIT
#LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= nlohmann-json>=3:devel/nlohmann-json
LIB_DEPENDS= libcurl.so:ftp/curl \
libtiff.so:graphics/tiff
+TEST_DEPENDS= googletest>0:devel/googletest
#RUN_DEPENDS= proj-data>=0:graphics/proj-data
-USES= compiler:c++11-lang cmake cpe pathfix pkgconfig sqlite
+USES= compiler:c++11-lang cmake:testing cpe pathfix pkgconfig sqlite
+CPE_VENDOR= proj_project
USE_LDCONFIG= yes
-CMAKE_OFF= BUILD_TESTING
+CMAKE_TESTING_ON= BUILD_TESTING \
+ USE_EXTERNAL_GTEST
+CMAKE_TESTING_OFF= TESTING_USE_NETWORK
-CPE_VENDOR= proj_project
+CMAKE_OFF= BUILD_TESTING
.include <bsd.port.mk>
diff --git a/graphics/proj/distinfo b/graphics/proj/distinfo
index 81b02ce1fa55..bac7cbdd1978 100644
--- a/graphics/proj/distinfo
+++ b/graphics/proj/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724733261
-SHA256 (proj-9.4.1.tar.gz) = ffe20170ee2b952207adf8a195e2141eab12cda181e49fdeb54425d98c7171d7
-SIZE (proj-9.4.1.tar.gz) = 5665272
+TIMESTAMP = 1734228387
+SHA256 (proj-9.5.1.tar.gz) = a8395f9696338ffd46b0feb603edbb730fad6746fba77753c77f7f997345e3d3
+SIZE (proj-9.5.1.tar.gz) = 5702286
diff --git a/graphics/proj/pkg-plist b/graphics/proj/pkg-plist
index dc599d1efce9..b453f10d6fec 100644
--- a/graphics/proj/pkg-plist
+++ b/graphics/proj/pkg-plist
@@ -36,7 +36,7 @@ lib/cmake/proj4/proj4-targets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/proj4/proj4-targets.cmake
lib/libproj.so
lib/libproj.so.25
-lib/libproj.so.25.9.4.1
+lib/libproj.so.25.9.5.1
libdata/pkgconfig/proj.pc
share/man/man1/cct.1.gz
share/man/man1/cs2cs.1.gz
@@ -50,6 +50,7 @@ share/man/man1/projsync.1.gz
%%DATADIR%%/ITRF2000
%%DATADIR%%/ITRF2008
%%DATADIR%%/ITRF2014
+%%DATADIR%%/ITRF2020
%%DATADIR%%/deformation_model.schema.json
%%DATADIR%%/nad.lst
%%DATADIR%%/nad27