aboutsummaryrefslogtreecommitdiff
path: root/games/fgfs-base/Makefile
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-11-19 11:04:39 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-11-19 11:04:39 +0000
commit0709fafe0650d0174731892b8ecd61e2a7089fa5 (patch)
treeb2c3947373688e573c287614c62973c961cbb6a0 /games/fgfs-base/Makefile
parent31e137421b9ce4d7f35f9b4ca8125c830e810dd6 (diff)
downloadports-0709fafe0650d0174731892b8ecd61e2a7089fa5.tar.gz
ports-0709fafe0650d0174731892b8ecd61e2a7089fa5.zip
Notes
Diffstat (limited to 'games/fgfs-base/Makefile')
-rw-r--r--games/fgfs-base/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/fgfs-base/Makefile b/games/fgfs-base/Makefile
index 0f8ec5125807..e28e55e725b0 100644
--- a/games/fgfs-base/Makefile
+++ b/games/fgfs-base/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= FlightGear
-PORTVERSION= 0.9.2
+PORTVERSION= 0.9.3
CATEGORIES= games
MASTER_SITES= ftp://ftp.flightgear.org/pub/fgfs/Source/ \
ftp://ftp.flightgear.org/pub/fgfs/Shared/
@@ -17,6 +17,7 @@ COMMENT= The FlightGear flight simulator
BASEVERSION= ${PORTVERSION}
BASEFILE= fgfs-base-${BASEVERSION}${EXTRACT_SUFX}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${BASEFILE}
+
BUILD_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
${LOCALBASE}/lib/libmk4.a:${PORTSDIR}/databases/metakit \
${X11BASE}/include/simgear/threads/SGThread.hxx:${PORTSDIR}/devel/simgear \
@@ -29,7 +30,7 @@ RUN_DEPENDS= ${X11BASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib \
USE_GMAKE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
-# Force configure to look in /usr/local/{include,lib}
+# Force configure to look in ${LOCALBASE}/{include,lib}
CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}" \
CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
@@ -40,6 +41,9 @@ MAN1= est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1
CPIO?= /usr/bin/cpio
+post-extract:
+ @{FIND} ${WRKSRC} \( -name '.#*' -or -name '*~' \) -print -delete
+
do-install:
@${ECHO} ">> Installing program"
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})