1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

. Fix mudlib ownership for staging.

This commit is contained in:
Greg Lewis 2014-05-29 14:13:42 +00:00
parent fa4a6ab81c
commit db72f66198
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355700
2 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= dgd-kernel
PORTVERSION= 1.3.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net games
MASTER_SITES= http://ftp.dworkin.nl/kernellib/ \
http://ftp.dworkin.nl/kernellib/patches/
@ -49,7 +49,5 @@ do-install:
post-install:
@# Need a temporary directory for certain files
@${MKDIR} ${STAGEDIR}${DATADIR}/tmp
@# Set mudlib ownership
-@${CHOWN} -h -R mud:mud ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View File

@ -1,5 +1,7 @@
etc/dgd-kernel/kernel.dgd
etc/rc.d/dgd-kernel.sh.sample
@owner mud
@group mud
%%DATADIR%%/kernel/include/config.h
%%DATADIR%%/kernel/include/kernel/access.h
%%DATADIR%%/kernel/include/kernel/kernel.h
@ -35,6 +37,8 @@ etc/rc.d/dgd-kernel.sh.sample
%%DATADIR%%/kernel/kernel/sys/telnet_port.c
%%DATADIR%%/kernel/kernel/sys/userd.c
%%DATADIR%%/kernel/usr/System/initd.c
@owner
@group
@unexec rm -f %D/%%DATADIR%%/kernel/kernel/data/* || true
@unexec rm -f %D/%%DATADIR%%/kernel/include/float.h || true
@unexec rm -f %D/%%DATADIR%%/kernel/include/limits.h || true