blob: 77f01058894445f8c6a40bf2567f4359890ad1e0 (
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
37
38
39
40
41
42
43
44
|
# Created by: buganini@gmail.com
# $FreeBSD$
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:${PORTSDIR}/x11-toolkits/fltk \
libosg.so:${PORTSDIR}/graphics/osg
BUILD_DEPENDS= simgear>=2.10.0:${PORTSDIR}/devel/simgear \
${LOCALBASE}/include/boost/version.hpp:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS= simgear>=2.10.0:${PORTSDIR}/devel/simgear \
fgfs:${PORTSDIR}/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 <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} < 46
USE_GCC= yes
.endif
.include <bsd.port.post.mk>
|