aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-08-25 06:25:11 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-08-25 06:25:11 +0000
commit3b6cd9e24425ed24bbb11b86cab73d08bc8762d2 (patch)
tree76549794e6b7d950513c2001e451745eeaa2e044 /games
parentcb4ee24addacc1636b70d9cb8227fb562fcc2ebd (diff)
downloadports-3b6cd9e24425ed24bbb11b86cab73d08bc8762d2.tar.gz
ports-3b6cd9e24425ed24bbb11b86cab73d08bc8762d2.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/impossible_mission_puzzle/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/impossible_mission_puzzle/Makefile b/games/impossible_mission_puzzle/Makefile
index f3b35e415ae3..4a63f27094bc 100644
--- a/games/impossible_mission_puzzle/Makefile
+++ b/games/impossible_mission_puzzle/Makefile
@@ -26,6 +26,8 @@ PLIST_FILES= bin/impossible_mission_puzzle
PORTDOCS= README
+.include <bsd.port.options.mk>
+
do-build:
@cd ${WRKSRC} && ${CC} -o ${PORTNAME} ${CFLAGS} \
`${SDL_CONFIG} --cflags --libs` puzzle.c
@@ -35,7 +37,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
# Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif