blob: 71b21244e11c329213cf997d00acec5a9d73f258 (
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= 2
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>
|