aboutsummaryrefslogtreecommitdiffstats
path: root/games/tt/Makefile
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-12 10:50:23 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-12 10:50:23 +0800
commitb5bc4a2f6da981e3a9e107b54d3af60092d4da33 (patch)
tree385da7f4be6c1dd6c617c841c1770f0f72bd1b4e /games/tt/Makefile
parent65299b2c3b7943a6bbf119514b958ab0ef952c46 (diff)
downloadfreebsd-ports-gnome-b5bc4a2f6da981e3a9e107b54d3af60092d4da33.tar.gz
freebsd-ports-gnome-b5bc4a2f6da981e3a9e107b54d3af60092d4da33.tar.zst
freebsd-ports-gnome-b5bc4a2f6da981e3a9e107b54d3af60092d4da33.zip
- Add DOCS option
- Add stage support
Diffstat (limited to 'games/tt/Makefile')
-rw-r--r--games/tt/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/tt/Makefile b/games/tt/Makefile
index 6a30d0f3f769..84973088e9d9 100644
--- a/games/tt/Makefile
+++ b/games/tt/Makefile
@@ -11,14 +11,13 @@ COMMENT= Tetris for Terminals
ALL_TARGET= tt
+OPTIONS_DEFINE= DOCS
+
PORTDOCS= *
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} -g games -m 2555 ${WRKSRC}/tt ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/tt ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>