aboutsummaryrefslogtreecommitdiff
path: root/games/railroad-rampage/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 01:59:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-05-23 01:59:45 +0000
commit528c66f168bb605f2b4b46298d9f8bdcbe68f216 (patch)
tree25948f4fb044635f0c24b45dee0529ffedaddd0c /games/railroad-rampage/Makefile
parent9bbaab7995ddc3241347fa493977eec1c0d32323 (diff)
downloadports-528c66f168bb605f2b4b46298d9f8bdcbe68f216.tar.gz
ports-528c66f168bb605f2b4b46298d9f8bdcbe68f216.zip
Notes
Diffstat (limited to 'games/railroad-rampage/Makefile')
-rw-r--r--games/railroad-rampage/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/railroad-rampage/Makefile b/games/railroad-rampage/Makefile
index 771f54eacfc7..0198efc0d26a 100644
--- a/games/railroad-rampage/Makefile
+++ b/games/railroad-rampage/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: railroad-rampage
-# Date created: 08 Nov 2009
-# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
-#
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= railroad-rampage
PORTVERSION= 1.2
@@ -35,6 +31,8 @@ DESKTOP_ENTRIES="Railroad Rampage" \
"Game;StrategyGame;ArcadeGame;" \
false
+.include <bsd.port.options.mk>
+
do-build:
cd ${WRKSRC} && ${SETENV} \
LD_LIBRARY_PATH=${LOCALBASE}/lib/bennugd \
@@ -47,7 +45,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/traintd.fpg ${WRKSRC}/RailroadRampage.dcb \
${WRKSRC}/RailroadRampage.png ${DATADIR}/
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ReadMe.txt ${DOCSDIR}/
.endif