Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 19:22:51 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358162 - head/games/xtet42
Message-ID:  <201406171922.s5HJMpXu051776@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Tue Jun 17 19:22:50 2014
New Revision: 358162
URL: http://svnweb.freebsd.org/changeset/ports/358162
QAT: https://qat.redports.org/buildarchive/r358162/

Log:
  Stagify
  
  Approved by:	gmarco@gufi.org (maintainer)

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

Modified: head/games/xtet42/Makefile
==============================================================================
--- head/games/xtet42/Makefile	Tue Jun 17 19:21:35 2014	(r358161)
+++ head/games/xtet42/Makefile	Tue Jun 17 19:22:50 2014	(r358162)
@@ -3,7 +3,7 @@
 
 PORTNAME=	xtet42
 PORTVERSION=	2.21
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	games
 MASTER_SITES=	http://utenti.gufi.org/~gmarco/files/distfiles/
 
@@ -14,22 +14,19 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-setgid=games
 USE_XORG=	x11
 
-MAN6=	xtet42.6
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's,^hiscoredir.*,hiscoredir=${DATADIR},' \
 		${WRKSRC}/Makefile.in
 
 do-install:
-	${MKDIR} ${DATADIR}
-	@${CHOWN} root:games ${DATADIR}
-	@${CHMOD} 775 ${DATADIR}
-	${INSTALL} -c -m 2755 -g games ${WRKSRC}/xtet42 ${PREFIX}/bin
-	${INSTALL} -c -m 664  -g games ${WRKSRC}/xtet42.hiscore ${DATADIR}/.xtet42.hiscore
-	${INSTALL} -c -m 664  -g games ${WRKSRC}/xtet42.hiscore.single ${DATADIR}/.xtet42.hiscore.single
-	${INSTALL} -c -m 664  -g games /dev/null ${DATADIR}/.xtet42.unlock
-	${INSTALL} -c -m 664  -g games /dev/null ${DATADIR}/.xtet42.log
-	${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${MANPREFIX}/man/man6
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	@${CHMOD} 775 ${STAGEDIR}${DATADIR}
+	@${STRIP_CMD} ${WRKSRC}/xtet42
+	${INSTALL} -c -m 755 ${WRKSRC}/xtet42 ${STAGEDIR}${PREFIX}/bin
+	${INSTALL} -c -m 664 ${WRKSRC}/xtet42.hiscore ${STAGEDIR}${DATADIR}/.xtet42.hiscore
+	${INSTALL} -c -m 664 ${WRKSRC}/xtet42.hiscore.single ${STAGEDIR}${DATADIR}/.xtet42.hiscore.single
+	${INSTALL} -c -m 664 /dev/null ${STAGEDIR}${DATADIR}/.xtet42.unlock
+	${INSTALL} -c -m 664 /dev/null ${STAGEDIR}${DATADIR}/.xtet42.log
+	${INSTALL_MAN} ${WRKSRC}/xtet42.6 ${STAGEDIR}${MANPREFIX}/man/man6
 
 .include <bsd.port.mk>

Modified: head/games/xtet42/pkg-plist
==============================================================================
--- head/games/xtet42/pkg-plist	Tue Jun 17 19:21:35 2014	(r358161)
+++ head/games/xtet42/pkg-plist	Tue Jun 17 19:22:50 2014	(r358162)
@@ -1,6 +1,12 @@
+man/man6/xtet42.6.gz
+@group games
+@mode 2755
 bin/xtet42
+@mode 664
 %%DATADIR%%/.xtet42.hiscore.single
 %%DATADIR%%/.xtet42.hiscore
 %%DATADIR%%/.xtet42.unlock
 %%DATADIR%%/.xtet42.log
+@mode 775
+@exec install -d -o root -g games -m 755 %D/%%DATADIR%%
 @dirrm %%DATADIR%%



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