aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-29 18:13:29 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-10-29 18:13:29 +0000
commit675b69955d9eb33cac13f9193ebbcac518ec873b (patch)
treefd25fdf111fb1e326dd0dba9e6c91083cd59f95a /games
parentc81692220ae6f885800df2b1407dbb3c19fe106f (diff)
downloadports-675b69955d9eb33cac13f9193ebbcac518ec873b.tar.gz
ports-675b69955d9eb33cac13f9193ebbcac518ec873b.zip
Notes
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>