diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-12 02:50:23 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-12 02:50:23 +0000 |
commit | d7c9140255f5a85e27473a09e76f5f355dd4472b (patch) | |
tree | 385da7f4be6c1dd6c617c841c1770f0f72bd1b4e | |
parent | b7bd9e6b7c5e4c896f187727b4450a380ca174cf (diff) | |
download | ports-d7c9140255f5a85e27473a09e76f5f355dd4472b.tar.gz ports-d7c9140255f5a85e27473a09e76f5f355dd4472b.zip |
Notes
-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 |