aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/KnightCap/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/KnightCap/Makefile b/games/KnightCap/Makefile
index 640087361e52..b9385c86478f 100644
--- a/games/KnightCap/Makefile
+++ b/games/KnightCap/Makefile
@@ -17,16 +17,15 @@ USE_XORG= xmu xt xext x11 xi
USE_GL= glut
ALL_TARGET= KnightCap
+OPTIONS_DEFINE= DOCS
+
DOCSDIR= ${PREFIX}/share/doc/KnightCap
PORTDOCS= README
PLIST_FILES= bin/KnightCap
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>