blob: 4afd3d6e5b9aa954ea578ddda85491acb016204a (
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
45
46
|
# Created by: Brian Buchanan <brian@CSUA.Berkeley.EDU>
# $FreeBSD$
PORTNAME= flightgear
PORTVERSION= 2.10.0
CATEGORIES= games
# see http://www.flightgear.org/templates.js
MASTER_SITES= http://mirrors.ibiblio.org/pub/mirrors/flightgear/ftp/Source/ \
http://ftp.linux.kiev.ua/pub/mirrors/ftp.flightgear.org/flightgear/Source/ \
ftp://ftp.kingmont.com/flightsims/flightgear/Source/ \
ftp://ftp.de.flightgear.org/pub/fgfs/Source/ \
ftp://flightgear.wo0t.de/flightgear-ftp/ftp/Source/
MAINTAINER= martymac@FreeBSD.org
COMMENT= The FlightGear flight simulator
LICENSE= GPLv2
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
boost_thread:${PORTSDIR}/devel/boost-libs \
fltk:${PORTSDIR}/x11-toolkits/fltk \
osg:${PORTSDIR}/graphics/osg
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear
RUN_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libSimGearCore.a:${PORTSDIR}/devel/simgear \
${LOCALBASE}/share/flightgear/version:${PORTSDIR}/games/flightgear-data
USE_BZIP2= yes
USE_XORG= ice sm x11 xext xft xi xinerama xt xmu
USE_GL= gl glu glut
USE_OPENAL= al alut
USE_CMAKE= yes
CMAKE_ARGS+= -DJPEG_FACTORY:BOOL=ON \
-DFG_DATA_DIR:PATH=${LOCALBASE}/share/${PORTNAME} \
-DCMAKE_INSTALL_MANDIR:PATH=${MANPREFIX}/man
MAN1= js_demo.1 fgjs.1 gl-info.1 fgfs.1 fgpanel.1 terrasync.1
.include <bsd.port.options.mk>
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${PREFIX}/bin
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|