summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2024-12-16 23:28:35 +0100
committerDaniel Engberg <diizzy@FreeBSD.org>2024-12-16 23:42:17 +0100
commit0917be074c74fc27e303d75308adffeb8bbeebd1 (patch)
tree8e9af201cd52beed5aa2eca1a4024c286b64e21b
parentnet-im/py-matrix-synapse: Update to 1.120.2 (diff)
graphics/ossim: Improve port
* Switch to upstream release archive * Remove git from build dependencies * Adjust library dependencies to used and linked libraries * Update USES= to compiler:c++17-lang PR: 283346 Reviewed by: lbartoletti (maintainer)
-rw-r--r--graphics/ossim/Makefile23
-rw-r--r--graphics/ossim/distinfo6
2 files changed, 14 insertions, 15 deletions
diff --git a/graphics/ossim/Makefile b/graphics/ossim/Makefile
index cb2d8d0e59f9..bbff70a6d7fa 100644
--- a/graphics/ossim/Makefile
+++ b/graphics/ossim/Makefile
@@ -1,8 +1,8 @@
PORTNAME= ossim
-DISTVERSIONPREFIX=v
DISTVERSION= 2.12.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics geography
+MASTER_SITES= https://github.com/ossimlabs/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Powerful suite of geospatial libraries and applications
@@ -11,21 +11,20 @@ WWW= https://github.com/ossimlabs/ossim
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git
-LIB_DEPENDS= libgeos.so:graphics/geos \
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libfreetype.so:print/freetype2 \
+ libgeos.so:graphics/geos \
libgeotiff.so:graphics/libgeotiff \
libjsoncpp.so:devel/jsoncpp \
libtiff.so:graphics/tiff \
- libopenjp2.so:graphics/openjpeg \
- libfreetype.so:print/freetype2 \
- libOpenThreads.so:graphics/osg34
+ libproj.so:graphics/proj
-USES= cmake compiler:c++11-lang jpeg localbase
-USE_GITHUB= yes
-GH_ACCOUNT= ossimlabs
+USES= cmake compiler:c++17-lang jpeg sqlite
USE_LDCONFIG= yes
-CMAKE_OFF= BUILD_OSSIM_APPS
+CMAKE_OFF= BUILD_OSSIM_APPS \
+ BUILD_OSSIM_ID_SUPPORT
+CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git
CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \
-DLIBSUFFIX:STRING="" \
-DINSTALL_ARCHIVE_DIR:STRING=lib \
@@ -35,6 +34,6 @@ CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \
OPTIONS_DEFINE= TEST
OPTIONS_SUB= yes
-TEST_CMAKE_BOOL= BUILD_OSSIM_TESTS
+TEST_CMAKE_BOOL= BUILD_OSSIM_TESTS
.include <bsd.port.mk>
diff --git a/graphics/ossim/distinfo b/graphics/ossim/distinfo
index 17a1686bdb2f..a2fc07810070 100644
--- a/graphics/ossim/distinfo
+++ b/graphics/ossim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722397409
-SHA256 (ossimlabs-ossim-v2.12.0_GH0.tar.gz) = 985b00b3c9f80c97e112113ba5166ff6ea137693af9ec4a89dc9b1800d048922
-SIZE (ossimlabs-ossim-v2.12.0_GH0.tar.gz) = 6960453
+TIMESTAMP = 1734253175
+SHA256 (ossim-2.12.0.tar.gz) = 985b00b3c9f80c97e112113ba5166ff6ea137693af9ec4a89dc9b1800d048922
+SIZE (ossim-2.12.0.tar.gz) = 6960453