summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2000-05-01 23:18:54 +0000
committerjmz <jmz@FreeBSD.org>2000-05-01 23:18:54 +0000
commit256690a16e4b292ccdba8cd85939d04f7362962e (patch)
treeb8350dae74271bfa4c1701d7cb5dd49764cc48e5 /games
parentbdd2c52529bd4db25d855d715e19ed7c5071fa5b (diff)
downloadFreeBSD-ports-256690a16e4b292ccdba8cd85939d04f7362962e.zip
FreeBSD-ports-256690a16e4b292ccdba8cd85939d04f7362962e.tar.gz
Install the game setgid games
Diffstat (limited to 'games')
-rw-r--r--games/xmris/Makefile3
-rw-r--r--games/xmris/scripts/pre-configure2
2 files changed, 5 insertions, 0 deletions
diff --git a/games/xmris/Makefile b/games/xmris/Makefile
index 9be0906..73cb3ec 100644
--- a/games/xmris/Makefile
+++ b/games/xmris/Makefile
@@ -20,4 +20,7 @@ MAKE_FLAGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
ALL_TARGET= xmris
MAN6= xmred.6 xmris.6 xmsit.6
+post-install:
+ @${CHMOD} g+w ${X11BASE}/lib/X11/xmris
+
.include <bsd.port.mk>
diff --git a/games/xmris/scripts/pre-configure b/games/xmris/scripts/pre-configure
index 0d50af1..a4862a8 100644
--- a/games/xmris/scripts/pre-configure
+++ b/games/xmris/scripts/pre-configure
@@ -9,5 +9,7 @@ sed -e 's/\\ $/\\/' <${WRKSRC}/Imakefile.orig >>${WRKSRC}/Imakefile || exit 1
echo "CDEBUGFLAGS=-O2" >>${WRKSRC}/Imakefile || exit 1
echo "MANSUFFIX=6" >>${WRKSRC}/Imakefile || exit 1
+echo "OWNER = -g games" >>${WRKSRC}/Imakefile || exit 1
+echo "INSTMRISFLAGS = \$(OWNER) -m 2555" >>${WRKSRC}/Imakefile || exit 1
exit 0
OpenPOWER on IntegriCloud