diff options
Diffstat (limited to 'japanese/tiarra')
-rw-r--r-- | japanese/tiarra/Makefile | 7 | ||||
-rw-r--r-- | japanese/tiarra/pkg-plist | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/japanese/tiarra/Makefile b/japanese/tiarra/Makefile index 116ff248178..f3d5571d2af 100644 --- a/japanese/tiarra/Makefile +++ b/japanese/tiarra/Makefile @@ -17,7 +17,6 @@ USE_PERL5= run USE_BZIP2= yes USE_RC_SUBR= tiarra NO_BUILD= yes -NEED_ROOT= yes USERS= ${TIARRA_USER} GROUPS= ${TIARRA_GROUP} @@ -25,6 +24,9 @@ GROUPS= ${TIARRA_GROUP} SUB_FILES= pkg-message SUB_LIST= TIARRA_USER=${TIARRA_USER} +PLIST_SUB= TIARRA_USER=${TIARRA_USER} \ + TIARRA_GROUP=${TIARRA_GROUP} + TIARRA_USER= tiarra TIARRA_GROUP= tiarra @@ -32,10 +34,7 @@ do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/tiarra @${TAR} cfC - ${WRKSRC} . | \ ${TAR} xfC - ${STAGEDIR}${PREFIX}/tiarra - @${CHOWN} -R ${BINOWN}:${BINGRP} ${STAGEDIR}${PREFIX}/tiarra @${MKDIR} ${STAGEDIR}${PREFIX}/tiarra/log - @${CHOWN} -R ${TIARRA_USER}:${TIARRA_GROUP} \ - ${STAGEDIR}${PREFIX}/tiarra/log @${CHMOD} o-rwx ${STAGEDIR}${PREFIX}/tiarra/log .include <bsd.port.mk> diff --git a/japanese/tiarra/pkg-plist b/japanese/tiarra/pkg-plist index cd6575345d0..cad806d51a1 100644 --- a/japanese/tiarra/pkg-plist +++ b/japanese/tiarra/pkg-plist @@ -255,5 +255,6 @@ tiarra/sample.conf tiarra/tiarra tiarra/tiarra-conf.el tiarra/tiarra-conf.l +@exec chown %%TIARRA_USER%%:%%TIARRA_GROUP%% %D/tiarra/log @dirrmtry tiarra/log @dirrmtry tiarra |