freebsd-ports/graphics/osgearth/Makefile
Mathieu Arnold f29a218fcd Replace most occurences of github.com in MASTER_SITES with USE_GITHUB usage.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-18 17:07:45 +00:00

34 lines
869 B
Makefile

# Created by: lbartoletti <coder@tuxfamily.org>
# $FreeBSD$
PORTNAME= osgearth
PORTVERSION= 2.5
DISTVERSIONPREFIX= ${PORTNAME}-
PORTREVISION= 5
CATEGORIES= graphics geography
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
USE_GITHUB= yes
GH_ACCOUNT= gwaldron
USE_LDCONFIG= YES
USE_SQLITE= 3
USES= cmake gmake pkgconfig
PLIST_SUB= OSGVERSION=3.2.1
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>