svn commit: r368081 - head/games/ltris

Antoine Brodin antoine at FreeBSD.org
Sat Sep 13 11:20:23 UTC 2014


Author: antoine
Date: Sat Sep 13 11:20:21 2014
New Revision: 368081
URL: http://svnweb.freebsd.org/changeset/ports/368081
QAT: https://qat.redports.org/buildarchive/r368081/

Log:
  - Allow staging as a regular user
  - Bump portrevision as some files were not package with intended group

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

Modified: head/games/ltris/Makefile
==============================================================================
--- head/games/ltris/Makefile	Sat Sep 13 10:18:41 2014	(r368080)
+++ head/games/ltris/Makefile	Sat Sep 13 11:20:21 2014	(r368081)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ltris
 PORTVERSION=	1.0.19
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	games
 MASTER_SITES=	SF/lgames/${PORTNAME}
@@ -37,10 +37,4 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/^inline //' \
 		${WRKSRC}/src/sdl.h ${WRKSRC}/src/tools.h
 
-post-install:
-	@${CHMOD} 2755 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	@${CHOWN} root:games ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-	@${CHMOD} 0664 ${STAGEDIR}${DATADIR}/${PORTNAME}.hscr
-	@${CHOWN} root:games ${STAGEDIR}${DATADIR}/${PORTNAME}.hscr
-
 .include <bsd.port.mk>

Modified: head/games/ltris/pkg-plist
==============================================================================
--- head/games/ltris/pkg-plist	Sat Sep 13 10:18:41 2014	(r368080)
+++ head/games/ltris/pkg-plist	Sat Sep 13 11:20:21 2014	(r368081)
@@ -1,4 +1,4 @@
-bin/ltris
+@(,games,2555) bin/ltris
 share/applications/ltris.desktop
 %%NLS%%share/locale/de/LC_MESSAGES/ltris.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/ltris.mo
@@ -24,7 +24,7 @@ share/applications/ltris.desktop
 %%DATADIR%%/gfx/logo.bmp
 %%DATADIR%%/gfx/menuback.bmp
 %%DATADIR%%/gfx/quest.bmp
-%%DATADIR%%/ltris.hscr
+@(,games,0664) %%DATADIR%%/ltris.hscr
 %%DATADIR%%/sounds/click.wav
 %%DATADIR%%/sounds/excellent.wav
 %%DATADIR%%/sounds/explosion.wav


More information about the svn-ports-head mailing list