diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-12 10:50:23 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-12 10:50:23 +0800 |
commit | b5bc4a2f6da981e3a9e107b54d3af60092d4da33 (patch) | |
tree | 385da7f4be6c1dd6c617c841c1770f0f72bd1b4e /games/tt | |
parent | 65299b2c3b7943a6bbf119514b958ab0ef952c46 (diff) | |
download | freebsd-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')
-rw-r--r-- | games/tt/Makefile | 11 | ||||
-rw-r--r-- | games/tt/pkg-plist | 4 |
2 files changed, 9 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> diff --git a/games/tt/pkg-plist b/games/tt/pkg-plist index 20399b6f1d0e..03b2a513d96f 100644 --- a/games/tt/pkg-plist +++ b/games/tt/pkg-plist @@ -1,2 +1,6 @@ +@group games +@mode 2555 bin/tt +@mode +@group @unexec if [ -f /var/games/ttscores ]; then rm /var/games/ttscores; fi |