1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Accommodate the flightgear-l410 slave port.

This commit is contained in:
Jean-Yves Lefort 2005-12-11 18:04:49 +00:00
parent 3e8a71e6d4
commit 02290c6823
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150898

View File

@ -5,15 +5,16 @@
# $FreeBSD$
#
PORTNAME= FlightGear
PORTVERSION= 0.9.9
PORTREVISION= 1
PORTNAME?= FlightGear
PORTVERSION?= ${FGVERSION}
PORTREVISION?= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.flightgear.org/pub/fgfs/Source/ \
ftp://ftp.de.flightgear.org/pub/fgfs/Source/
MASTER_SITES+= ftp://ftp.flightgear.org/pub/fgfs/Source/:fg \
ftp://ftp.de.flightgear.org/pub/fgfs/Source/:fg
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}:fg
MAINTAINER= jylefort@FreeBSD.org
COMMENT= The FlightGear flight simulator
MAINTAINER?= jylefort@FreeBSD.org
COMMENT?= The FlightGear flight simulator
LIB_DEPENDS= glut:${PORTSDIR}/graphics/libglut \
openal.0:${PORTSDIR}/audio/openal
@ -23,6 +24,8 @@ RUN_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${X11BASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear \
${X11BASE}/share/FlightGear/version:${PORTSDIR}/games/fgfs-base
FGVERSION= 0.9.9
USE_X_PREFIX= yes
USE_GL= yes
USE_REINPLACE= yes
@ -33,7 +36,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
CONFIGURE_ARGS= --datadir=${X11BASE}/share # location of fgfs-base
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if ${PORTNAME} == FlightGear
MAN1= est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \