aboutsummaryrefslogtreecommitdiff
path: root/games/trigger
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2012-07-27 11:03:38 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2012-07-27 11:03:38 +0000
commit52e8b487f6dc73b0d0baafc955c59e83ab33c41a (patch)
tree167ee4bd8c4cd737246cf4e2c40f36e42042084e /games/trigger
parentdbe27c5fd4471209e8b77eecbae08f3a2ad57040 (diff)
downloadports-52e8b487f6dc73b0d0baafc955c59e83ab33c41a.tar.gz
ports-52e8b487f6dc73b0d0baafc955c59e83ab33c41a.zip
Notes
Diffstat (limited to 'games/trigger')
-rw-r--r--games/trigger/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/trigger/Makefile b/games/trigger/Makefile
index 887dac39d47f..82328b96c58e 100644
--- a/games/trigger/Makefile
+++ b/games/trigger/Makefile
@@ -35,6 +35,8 @@ DATAVERSION= 0.5.2
DESKTOP_ENTRIES="Trigger" "Car racing game" "" \
"trigger" "" false
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|SDL/||' \
${WRKSRC}/src/trigger/main.cpp \
@@ -61,7 +63,7 @@ do-install:
${FIND} ${DATADIR}/* -type f -exec ${CHMOD} 444 {} \;
${FIND} ${DATADIR}/* -type d -exec ${CHMOD} 555 {} \;
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in README-stereo.txt README.txt
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}