# Created by: buganini@gmail.com # $FreeBSD: head/games/fgrun/Makefile 412346 2016-04-01 14:00:51Z mat $ PORTNAME= fgrun PORTVERSION= 3.2.0 CATEGORIES= games MASTER_SITES= LOCAL/martymac MAINTAINER= buganini@gmail.com COMMENT= Graphical frontend to run FlightGear Flight Simulator LICENSE= GPLv2 LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libosg.so:graphics/osg BUILD_DEPENDS= simgear>=2.10.0:devel/simgear \ ${LOCALBASE}/include/boost/version.hpp:devel/boost-libs RUN_DEPENDS= simgear>=2.10.0:devel/simgear \ fgfs:games/flightgear WRKSRC= ${WRKDIR}/${GO_ACCOUNT}-${GO_PROJECT} CMAKE_ARGS+= -DLIB_DIR=${PREFIX}/lib USES= cmake compiler USE_GL= gl GO_ACCOUNT= fg GO_PROJECT= fgrun GO_TAGNAME= 00580a1c6b64b46fe430b0f1c0caafb4f63448fb FETCH_ARGS?= -o ${DISTDIR}/${DISTFILES} OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_ON= -DENABLE_NLS=yes .include .if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 46 USE_GCC= yes .endif .include