[49479] trunk/dports/games/larn/Portfile
aschenke at macports.org
aschenke at macports.org
Fri Apr 10 15:06:40 PDT 2009
Revision: 49479
http://trac.macports.org/changeset/49479
Author: aschenke at macports.org
Date: 2009-04-10 15:06:39 -0700 (Fri, 10 Apr 2009)
Log Message:
-----------
added proper score & logging support for multiuser environment
Modified Paths:
--------------
trunk/dports/games/larn/Portfile
Modified: trunk/dports/games/larn/Portfile
===================================================================
--- trunk/dports/games/larn/Portfile 2009-04-10 19:52:47 UTC (rev 49478)
+++ trunk/dports/games/larn/Portfile 2009-04-10 22:06:39 UTC (rev 49479)
@@ -37,7 +37,9 @@
depends_lib-delete port:libcompat
}
-configure {
+configure {
+ addgroup games
+
reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
reinplace "s|/usr/share/games|${prefix}/share|g" ${worksrcpath}/pathnames.h
reinplace "s|/var/games|${prefix}/var/games|g" ${worksrcpath}/pathnames.h
@@ -45,11 +47,11 @@
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/larn
- xinstall -m 755 -c ${worksrcpath}/larn ${destroot}${prefix}/bin
+ xinstall -m 2755 -g games -c ${worksrcpath}/larn ${destroot}${prefix}/bin
xinstall -m 644 -c ${worksrcpath}/larn.6.gz ${destroot}${prefix}/share/man/man6
xinstall -m 644 -c ${worksrcpath}/datfiles/larn.help ${destroot}${prefix}/share/larn
xinstall -m 644 -c ${worksrcpath}/datfiles/larnmaze ${destroot}${prefix}/share/larn
xinstall -m 775 -d ${destroot}${prefix}/var/games/larn
- xinstall -m 660 -c /dev/null ${destroot}${prefix}/var/games/larn/lscore12.0
- xinstall -m 660 -c /dev/null ${destroot}${prefix}/var/games/larn/llog12.0
+ xinstall -m 660 -g games -c /dev/null ${destroot}${prefix}/var/games/larn/lscore12.0
+ xinstall -m 660 -g games -c /dev/null ${destroot}${prefix}/var/games/larn/llog12.0
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090410/25e66e82/attachment.html>
More information about the macports-changes
mailing list