git: 2a9c04e76b1d - main - graphics/proj: Add PLIST_SUB: simplify PLIST change of version updates
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Nov 2025 10:24:29 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2a9c04e76b1d74075e758389c31caf199b6d17a1
commit 2a9c04e76b1d74075e758389c31caf199b6d17a1
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-11-05 10:18:43 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-11-05 10:23:44 +0000
graphics/proj: Add PLIST_SUB: simplify PLIST change of version updates
- Sort CMAKE_*
- Sort PLIST
PR: 290598
Approved by: lbartoletti
---
graphics/proj/Makefile | 5 +++--
graphics/proj/pkg-plist | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/graphics/proj/Makefile b/graphics/proj/Makefile
index 0d3a2e1c4064..5bd0594d36fd 100644
--- a/graphics/proj/Makefile
+++ b/graphics/proj/Makefile
@@ -22,10 +22,11 @@ USES= compiler:c++17-lang cmake:testing cpe pathfix pkgconfig sqlite
CPE_VENDOR= proj_project
USE_LDCONFIG= yes
+CMAKE_OFF= BUILD_TESTING
+CMAKE_TESTING_OFF= TESTING_USE_NETWORK
CMAKE_TESTING_ON= BUILD_TESTING \
USE_EXTERNAL_GTEST
-CMAKE_TESTING_OFF= TESTING_USE_NETWORK
-CMAKE_OFF= BUILD_TESTING
+PLIST_SUB= DISTVERSION=${DISTVERSION}
.include <bsd.port.mk>
diff --git a/graphics/proj/pkg-plist b/graphics/proj/pkg-plist
index 4eb6dd032543..6876e9cb4a42 100644
--- a/graphics/proj/pkg-plist
+++ b/graphics/proj/pkg-plist
@@ -10,8 +10,8 @@ bin/projsync
include/geodesic.h
include/proj.h
include/proj/common.hpp
-include/proj/coordinates.hpp
include/proj/coordinateoperation.hpp
+include/proj/coordinates.hpp
include/proj/coordinatesystem.hpp
include/proj/crs.hpp
include/proj/datum.hpp
@@ -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.7.0
+lib/libproj.so.25.%%DISTVERSION%%
libdata/pkgconfig/proj.pc
share/bash-completion/completions/projinfo
share/man/man1/cct.1.gz