aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-18 23:43:39 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-18 23:43:39 +0800
commit73b1bf093dcddd98ea62afd9b29ecad16ee084b0 (patch)
treeeba2b80574974e2ef1fd15c70f6540e7c12a8572 /games
parenta26820f3f1797d4e29fb807f82c3c73f43dde6c5 (diff)
downloadfreebsd-ports-gnome-73b1bf093dcddd98ea62afd9b29ecad16ee084b0.tar.gz
freebsd-ports-gnome-73b1bf093dcddd98ea62afd9b29ecad16ee084b0.tar.zst
freebsd-ports-gnome-73b1bf093dcddd98ea62afd9b29ecad16ee084b0.zip
- Fix permissions
Diffstat (limited to 'games')
-rw-r--r--games/sxsame/Makefile2
-rw-r--r--games/sxsame/pkg-plist10
2 files changed, 5 insertions, 7 deletions
diff --git a/games/sxsame/Makefile b/games/sxsame/Makefile
index cfd7915af813..e8f78cebd4d1 100644
--- a/games/sxsame/Makefile
+++ b/games/sxsame/Makefile
@@ -26,7 +26,7 @@ do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/sxsame
(cd ${WRKSRC}/contrib ; ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/X11/sxsame)
${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/sxsame/hiscore
- @${CHMOD} 664 ${STAGEDIR}${PREFIX}/lib/X11/sxsame/hiscore
+ @${CHMOD} -R 775 ${STAGEDIR}${PREFIX}/lib/X11/sxsame
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in INSTALL.jp README.jp
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
diff --git a/games/sxsame/pkg-plist b/games/sxsame/pkg-plist
index f4678943a90d..1e2a5ab1194d 100644
--- a/games/sxsame/pkg-plist
+++ b/games/sxsame/pkg-plist
@@ -2,7 +2,6 @@
@mode 2755
bin/sxsame
@mode
-@group
lib/X11/sxsame/bomb/blun.xpm
lib/X11/sxsame/bomb/blus.xpm
lib/X11/sxsame/bomb/cyan.xpm
@@ -29,11 +28,10 @@ lib/X11/sxsame/mono1.same
lib/X11/sxsame/s_marble.bmp
lib/X11/sxsame/samegame.dat
lib/X11/sxsame/snake.bmp
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL.jp
-%%PORTDOCS%%%%DOCSDIR%%/README.jp
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry lib/X11/sxsame/mono1
@dirrmtry lib/X11/sxsame/bomb
@dirrmtry lib/X11/sxsame
-@exec mkdir -p %D/lib/X11/sxsame
-@exec chmod 2775 %D/lib/X11/sxsame ; chown -R root:games %D/lib/X11/sxsame
+@group
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.jp
+%%PORTDOCS%%%%DOCSDIR%%/README.jp
+%%PORTDOCS%%@dirrm %%DOCSDIR%%