Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2024 22:42:37 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0917be074c74 - main - graphics/ossim: Improve port
Message-ID:  <202412162242.4BGMgbtW049830@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0917be074c74fc27e303d75308adffeb8bbeebd1

commit 0917be074c74fc27e303d75308adffeb8bbeebd1
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-16 22:28:35 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-16 22:42:17 +0000

    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)
---
 graphics/ossim/Makefile | 23 +++++++++++------------
 graphics/ossim/distinfo |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412162242.4BGMgbtW049830>