aboutsummaryrefslogtreecommitdiff
path: root/games/linux-goodway
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-07 14:57:39 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-12-07 14:57:39 +0000
commitbc6045c0fb7b36a2d69534943e4883ec31cd22a5 (patch)
tree0dc44a374eeaa02affdbda6239adff1c60443ddf /games/linux-goodway
parenta5346192799965aa4fb68d21e13dd5c7621d8665 (diff)
Notes
Diffstat (limited to 'games/linux-goodway')
-rw-r--r--games/linux-goodway/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/linux-goodway/Makefile b/games/linux-goodway/Makefile
index 893a161d157f..275fa44db1a5 100644
--- a/games/linux-goodway/Makefile
+++ b/games/linux-goodway/Makefile
@@ -7,7 +7,7 @@
PORTNAME= linux-goodway
PORTVERSION= 3.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games linux
MASTER_SITES= http://www.xpgoodwayteam.org/dwn_goodway/
DISTNAME= goodwayv${GWVERSION}_free
@@ -58,7 +58,11 @@ post-patch:
@${MV} ${WRKSRC}/JRE/javaws/javawsbin ${WRKSRC}/.programs/JRE/javaws
do-build:
- @${ECHO_CMD} 'GNL_XPlaneEXE=${X11BASE}/lib/x-plane/X-Plane-816-lin1-i586' > ${WRKSRC}/Properties3.prf
+.for t in athlon-xp i586 pentium-3
+ @if [ -e ${X11BASE}/lib/x-plane/X-Plane-${t} ]; then \
+ ${ECHO_CMD} 'GNL_XPlaneEXE=${X11BASE}/lib/x-plane/X-Plane-${t}' > ${WRKSRC}/Properties3.prf; \
+ fi
+.endfor
@${ECHO_CMD} 'GNL_XPlaneDir=${X11BASE}/lib/x-plane' >> ${WRKSRC}/Properties3.prf
@icoconvert ${WRKSRC}/ICON1.ICO
@${MKDIR} ${WRKSRC}/.icons