aboutsummaryrefslogtreecommitdiff
path: root/games/xmines/Makefile
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-14 20:51:43 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-14 20:51:43 +0000
commit279dae4f7981d46841a6675c20e683f532c28b2f (patch)
tree4dd0b944a08f3e60f9054745253ac505232d9ff6 /games/xmines/Makefile
parent9b2aa8fa5ee2141911f9b323ab164d75cdb9f0b1 (diff)
downloadports-279dae4f7981d46841a6675c20e683f532c28b2f.tar.gz
ports-279dae4f7981d46841a6675c20e683f532c28b2f.zip
- Add stage support
- Add DOCS option
Notes
Notes: svn path=/head/; revision=333789
Diffstat (limited to 'games/xmines/Makefile')
-rw-r--r--games/xmines/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/games/xmines/Makefile b/games/xmines/Makefile
index 657488ed94a8..0b1bcf10df75 100644
--- a/games/xmines/Makefile
+++ b/games/xmines/Makefile
@@ -17,13 +17,10 @@ CFLAGS+= -Wno-error=return-type
PORTDOCS= README
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>