aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-08-25 14:25:11 +0800
committerjgh <jgh@FreeBSD.org>2012-08-25 14:25:11 +0800
commit72d26343bdfcb08ddbca15831f50121f428b2c2f (patch)
tree76549794e6b7d950513c2001e451745eeaa2e044
parent0c0c96dd52073a7b2824a1da1a75f7b1689ec8aa (diff)
downloadfreebsd-ports-gnome-72d26343bdfcb08ddbca15831f50121f428b2c2f.tar.gz
freebsd-ports-gnome-72d26343bdfcb08ddbca15831f50121f428b2c2f.tar.zst
freebsd-ports-gnome-72d26343bdfcb08ddbca15831f50121f428b2c2f.zip
- adopt optionsNG for DOCS
PR: 170727 Submitted by: maintainer, nemysis@gmx.ch
-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