mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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)
This commit is contained in:
parent
ed0cc647e1
commit
0917be074c
2 changed files with 14 additions and 15 deletions
|
@ -1,8 +1,8 @@
|
||||||
PORTNAME= ossim
|
PORTNAME= ossim
|
||||||
DISTVERSIONPREFIX=v
|
|
||||||
DISTVERSION= 2.12.0
|
DISTVERSION= 2.12.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= graphics geography
|
CATEGORIES= graphics geography
|
||||||
|
MASTER_SITES= https://github.com/ossimlabs/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||||
|
|
||||||
MAINTAINER= lbartoletti@FreeBSD.org
|
MAINTAINER= lbartoletti@FreeBSD.org
|
||||||
COMMENT= Powerful suite of geospatial libraries and applications
|
COMMENT= Powerful suite of geospatial libraries and applications
|
||||||
|
@ -11,21 +11,20 @@ WWW= https://github.com/ossimlabs/ossim
|
||||||
LICENSE= MIT
|
LICENSE= MIT
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||||
|
|
||||||
BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
||||||
LIB_DEPENDS= libgeos.so:graphics/geos \
|
libfreetype.so:print/freetype2 \
|
||||||
|
libgeos.so:graphics/geos \
|
||||||
libgeotiff.so:graphics/libgeotiff \
|
libgeotiff.so:graphics/libgeotiff \
|
||||||
libjsoncpp.so:devel/jsoncpp \
|
libjsoncpp.so:devel/jsoncpp \
|
||||||
libtiff.so:graphics/tiff \
|
libtiff.so:graphics/tiff \
|
||||||
libopenjp2.so:graphics/openjpeg \
|
libproj.so:graphics/proj
|
||||||
libfreetype.so:print/freetype2 \
|
|
||||||
libOpenThreads.so:graphics/osg34
|
|
||||||
|
|
||||||
USES= cmake compiler:c++11-lang jpeg localbase
|
USES= cmake compiler:c++17-lang jpeg sqlite
|
||||||
USE_GITHUB= yes
|
|
||||||
GH_ACCOUNT= ossimlabs
|
|
||||||
USE_LDCONFIG= yes
|
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 \
|
CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \
|
||||||
-DLIBSUFFIX:STRING="" \
|
-DLIBSUFFIX:STRING="" \
|
||||||
-DINSTALL_ARCHIVE_DIR:STRING=lib \
|
-DINSTALL_ARCHIVE_DIR:STRING=lib \
|
||||||
|
@ -35,6 +34,6 @@ CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \
|
||||||
OPTIONS_DEFINE= TEST
|
OPTIONS_DEFINE= TEST
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
|
|
||||||
TEST_CMAKE_BOOL= BUILD_OSSIM_TESTS
|
TEST_CMAKE_BOOL= BUILD_OSSIM_TESTS
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1722397409
|
TIMESTAMP = 1734253175
|
||||||
SHA256 (ossimlabs-ossim-v2.12.0_GH0.tar.gz) = 985b00b3c9f80c97e112113ba5166ff6ea137693af9ec4a89dc9b1800d048922
|
SHA256 (ossim-2.12.0.tar.gz) = 985b00b3c9f80c97e112113ba5166ff6ea137693af9ec4a89dc9b1800d048922
|
||||||
SIZE (ossimlabs-ossim-v2.12.0_GH0.tar.gz) = 6960453
|
SIZE (ossim-2.12.0.tar.gz) = 6960453
|
||||||
|
|
Loading…
Add table
Reference in a new issue