Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 11:20:21 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368081 - head/games/ltris
Message-ID:  <201409131120.s8DBKLxv059992@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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