svn commit: r358162 - head/games/xtet42

Guido Falsi madpilot at FreeBSD.org
Tue Jun 17 19:22:51 UTC 2014


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 at 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
+ at group games
+ at mode 2755
 bin/xtet42
+ at mode 664
 %%DATADIR%%/.xtet42.hiscore.single
 %%DATADIR%%/.xtet42.hiscore
 %%DATADIR%%/.xtet42.unlock
 %%DATADIR%%/.xtet42.log
+ at mode 775
+ at exec install -d -o root -g games -m 755 %D/%%DATADIR%%
 @dirrm %%DATADIR%%


More information about the svn-ports-head mailing list