blob: d0bf01dcb34476377b21281e7e91753499709659 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= ossim
DISTVERSIONPREFIX= OrchidIsland-
DISTVERSION= 2.11.1
CATEGORIES= graphics geography
MAINTAINER= lbartoletti@FreeBSD.org
COMMENT= Powerful suite of geospatial libraries and applications
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${LOCALBASE}/bin/git:devel/git
LIB_DEPENDS= 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
USES= cmake compiler:c++11-lang jpeg localbase
USE_GITHUB= yes
GH_ACCOUNT= ossimlabs
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_OSSIM_APPS
CMAKE_ARGS= -DBUILD_LIBRARY_DIR:STRING=lib \
-DLIBSUFFIX:STRING="" \
-DINSTALL_ARCHIVE_DIR:STRING=lib \
-DINSTALL_LIBRARY_DIR:STRING=lib \
-DOSSIM_INCLUDE_DIR:STRING=${WRKSRC}/include
OPTIONS_DEFINE= TEST
OPTIONS_SUB= yes
TEST_CMAKE_BOOL= BUILD_OSSIM_TESTS
.include <bsd.port.mk>
|