aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-13 19:20:21 +0800
committerantoine <antoine@FreeBSD.org>2014-09-13 19:20:21 +0800
commit469c81f6de6546b21c9c817c56fed1150337734f (patch)
treef2f9f17557c015469097394e115f0b608e493dab /games
parent3fea9ad45c1dba6433d01fb5bc8c09c5cfcc3829 (diff)
downloadfreebsd-ports-gnome-469c81f6de6546b21c9c817c56fed1150337734f.tar.gz
freebsd-ports-gnome-469c81f6de6546b21c9c817c56fed1150337734f.tar.zst
freebsd-ports-gnome-469c81f6de6546b21c9c817c56fed1150337734f.zip
- Allow staging as a regular user
- Bump portrevision as some files were not package with intended group
Diffstat (limited to 'games')
-rw-r--r--games/ltris/Makefile8
-rw-r--r--games/ltris/pkg-plist4
2 files changed, 3 insertions, 9 deletions
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 1d9e82002267..bc219c8dbdd9 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -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>
diff --git a/games/ltris/pkg-plist b/games/ltris/pkg-plist
index 8b90600bde9c..74860a61181d 100644
--- a/games/ltris/pkg-plist
+++ b/games/ltris/pkg-plist
@@ -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