aboutsummaryrefslogtreecommitdiff
path: root/graphics/ossim/Makefile
blob: fa49b4b270bcbcc1de0afc73d7ac2dbae30451fd (plain) (blame)
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
# $FreeBSD$

PORTNAME=	ossim
DISTVERSIONPREFIX=	Laguna-
DISTVERSION=	2.8.0
PORTREVISION=	1
CATEGORIES=	graphics geography

MAINTAINER=	lbartoletti@tuxfamily.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/osg

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

.include <bsd.port.mk>