blob: d7b773c2fba713d76032fe4e231aacd2fb6a32b1 (
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
|
# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= osgearth
PORTVERSION= 2.5
PORTREVISION= 1
CATEGORIES= graphics geography
MASTER_SITES= https://github.com/gwaldron/${PORTNAME}/archive/
MAINTAINER= coder@tuxfamily.org
COMMENT= osgEarth is a C++ terrain rendering toolkit for OpenSceneGraph
LICENSE= LGPL3
BUILD_DEPENDS= ${LOCALBASE}/bin/minizip:${PORTSDIR}/archivers/minizip
LIB_DEPENDS= libosg.so:${PORTSDIR}/graphics/osg \
libgdal.so:${PORTSDIR}/graphics/gdal \
libcurl.so:${PORTSDIR}/ftp/curl
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTNAME}
USE_LDCONFIG= YES
USE_SQLITE= 3
USES= cmake gmake pkgconfig zip
PLIST_SUB= OSGVERSION=3.2.0
CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \
-DMINIZIP_INCLUDE_DIR=${LOCALBASE}/include/minizip \
-DCMAKE_LIBRARY_PATH:PATH=${LOCALBASE}/lib \
-DLIB_POSTFIX:STRING="" \
-DOSGEARTH_USE_QT:BOOL=FALSE
.include <bsd.port.mk>
|