1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Correct ownership and permissions, new style

Bump PORTREVISION

Submitted by:	swills
This commit is contained in:
Johan van Selst 2014-04-21 16:41:50 +00:00
parent 32a1714cac
commit 5c92d60c39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351695
2 changed files with 7 additions and 4 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= wolfpack
PORTVERSION= 4.3.32
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
MASTER_SITE_SUBDIR= empserver/${DISTNAME}
@ -43,9 +44,5 @@ post-install:
${LN} -s ${BINDIR}/empire ${STAGEDIR}${PREFIX}/bin/emp_client
${STAGEDIR}${PREFIX}/lib/wolfpack/pconfig > \
${STAGEDIR}${ETCDIR}/econfig.orig
@${CHOWN} -R ${USERS}:${GROUPS} ${STAGEDIR}${DATADIR} \
${STAGEDIR}${ETCDIR} ${STAGEDIR}${VARDIR}
@${CHMOD} -R u+w,o-rx ${STAGEDIR}${DATADIR} \
${STAGEDIR}${ETCDIR} ${STAGEDIR}${VARDIR}
.include <bsd.port.post.mk>

View File

@ -14,6 +14,9 @@ man/man6/empsched.6.gz
man/man6/fairland.6.gz
man/man6/files.6.gz
man/man6/pconfig.6.gz
@owner wolfpack
@group wolfpack
@mode 644
%%DATADIR%%/README
%%DATADIR%%/builtin/infra.config
%%DATADIR%%/builtin/item.config
@ -301,14 +304,17 @@ man/man6/pconfig.6.gz
%%DATADIR%%/info.nr/work
%%DATADIR%%/info.nr/xdump
%%DATADIR%%/info.nr/zdone
@mode 640
etc/wolfpack/schedule
@unexec if cmp -s %B/econfig.orig %B/econfig; then rm -f %B/econfig; fi
etc/wolfpack/econfig.orig
@exec if [ ! -f %B/econfig ] ; then cp -p %D/%F %B/econfig; fi
@mode 755
@dirrm %%DATADIR%%/builtin
@dirrm %%DATADIR%%/info.nr
@dirrm %%DATADIR%%
@dirrm lib/wolfpack
@mode 750
@dirrmtry etc/wolfpack
@dirrmtry var/wolfpack
@dirrmtry var