Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 02:50:23 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333543 - head/games/tt
Message-ID:  <201311120250.rAC2oNLt034335@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Nov 12 02:50:23 2013
New Revision: 333543
URL: http://svnweb.freebsd.org/changeset/ports/333543

Log:
  - Add DOCS option
  - Add stage support

Modified:
  head/games/tt/Makefile
  head/games/tt/pkg-plist

Modified: head/games/tt/Makefile
==============================================================================
--- head/games/tt/Makefile	Tue Nov 12 02:47:12 2013	(r333542)
+++ head/games/tt/Makefile	Tue Nov 12 02:50:23 2013	(r333543)
@@ -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>

Modified: head/games/tt/pkg-plist
==============================================================================
--- head/games/tt/pkg-plist	Tue Nov 12 02:47:12 2013	(r333542)
+++ head/games/tt/pkg-plist	Tue Nov 12 02:50:23 2013	(r333543)
@@ -1,2 +1,6 @@
+@group games
+@mode 2555
 bin/tt
+@mode
+@group
 @unexec if [ -f /var/games/ttscores ]; then rm /var/games/ttscores; fi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311120250.rAC2oNLt034335>