aboutsummaryrefslogtreecommitdiffstats
path: root/games/simutrans
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-10-26 18:22:52 +0800
committertijl <tijl@FreeBSD.org>2013-10-26 18:22:52 +0800
commitbc4f5d33e920df187d146a14c8ce854bc705ec3f (patch)
treee35bcd8dfde7e2547d51549834ea32419a5f95e6 /games/simutrans
parent61f53bb165de5a8a74895f8cfb1541ed8e833d21 (diff)
downloadfreebsd-ports-gnome-bc4f5d33e920df187d146a14c8ce854bc705ec3f.tar.gz
freebsd-ports-gnome-bc4f5d33e920df187d146a14c8ce854bc705ec3f.tar.zst
freebsd-ports-gnome-bc4f5d33e920df187d146a14c8ce854bc705ec3f.zip
- USES=gmake.
- Staging.
Diffstat (limited to 'games/simutrans')
-rw-r--r--games/simutrans/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/games/simutrans/Makefile b/games/simutrans/Makefile
index ff18e20efd78..ddf2ddb24438 100644
--- a/games/simutrans/Makefile
+++ b/games/simutrans/Makefile
@@ -33,7 +33,7 @@ MAKE_ARGS= BACKEND=mixer_sdl \
FLAGS="-DUSE_C -DREVISION=${SIMUTRANS_REVISION}" \
VERBOSE=1
NO_WRKSUBDIR= yes
-USE_GMAKE= yes
+USES= gmake
USE_SDL= sdl mixer
USE_ZIP= yes
@@ -41,7 +41,6 @@ DESKTOP_ENTRIES=Simutrans "" "" simutrans "Game;Simulation;" "false"
PLIST_FILES= bin/simutrans bin/simutrans-bin
PORTDATA= *
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPAK64}
@@ -58,18 +57,18 @@ post-patch:
do-install:
cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} \
- "config font music script skin text" ${DATADIR}
+ "config font music script skin text" ${STAGEDIR}${DATADIR}
.if ${PORT_OPTIONS:MPAK64}
- cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak ${DATADIR}
+ cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak ${STAGEDIR}${DATADIR}
.endif
.if ${PORT_OPTIONS:MPAK128}
- cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak128 ${DATADIR}
+ cd ${WRKSRC}/simutrans && ${COPYTREE_SHARE} pak128 ${STAGEDIR}${DATADIR}
.endif
.if ${PORT_OPTIONS:MDOCS}
- ${INSTALL_DATA} ${WRKSRC}/simutrans/readme.txt ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/simutrans/readme.txt ${STAGEDIR}${DATADIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/build/default/sim \
- ${PREFIX}/bin/simutrans-bin
- ${INSTALL_SCRIPT} ${FILESDIR}/simutrans ${PREFIX}/bin/simutrans
+ ${STAGEDIR}${PREFIX}/bin/simutrans-bin
+ ${INSTALL_SCRIPT} ${FILESDIR}/simutrans ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>