freebsd-ports/games/fgfs-base/Makefile
Dag-Erling Smørgrav c34b11a2c1 Take over maintainership (Brian says he's too busy flying real planes).
Update to 0.9.1.  So much has changed since 0.6.1 that I've practically
had to redo the port from scratch.  It builds and installs fine now, but
due to limited resources I haven't been able to actually run it.
2003-01-22 13:58:58 +00:00

38 lines
1.1 KiB
Makefile

# New ports collection makefile for: flightgear
# Date created: 26 June 1999
# Whom: Brian Buchanan <brian@CSUA.Berkeley.EDU>
#
# $FreeBSD$
#
PORTNAME= FlightGear
PORTVERSION= 0.9.1
BASEVERSION= 0.9.1a
CATEGORIES= games
MASTER_SITES= ftp://ftp.flightgear.org/pub/fgfs/Source/ \
ftp://ftp.flightgear.org/pub/fgfs/Shared/
BASEFILE= fgfs-base-${BASEVERSION}${EXTRACT_SUFX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${BASEFILE}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= des@FreeBSD.org
BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${X11BASE}/lib/libsgmisc.a:${PORTSDIR}/devel/simgear
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
# Force configure to look in /usr/local/{include,lib}
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1
pre-install:
(cd ${PREFIX}/share && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${BASEFILE} ${EXTRACT_AFTER_ARGS})
(cd ${PREFIX}/share/${PORTNAME} && ${MV} data/* . && ${RMDIR} data)
.include <bsd.port.mk>