summaryrefslogtreecommitdiff
path: root/japanese/canna-server/pkg-plist
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2010-04-12 04:14:10 +0000
committerHiroki Sato <hrs@FreeBSD.org>2010-04-12 04:14:10 +0000
commit3e50ae5111f1a728a7216b964c78a7b28e76abdc (patch)
tree50aec8b7a85e772058588b6db0e2c4834850abb7 /japanese/canna-server/pkg-plist
parentUpgrade to 1.10. (diff)
Fix ownership/permissions of files in ${DATADIR}/dic when
this port is added by pkg_add(1). Spotted by: WATANABE Kazuhiro
Notes
Notes: svn path=/head/; revision=252579
Diffstat (limited to '')
-rw-r--r--japanese/canna-server/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/japanese/canna-server/pkg-plist b/japanese/canna-server/pkg-plist
index 0e5c383b8784..490dc452a747 100644
--- a/japanese/canna-server/pkg-plist
+++ b/japanese/canna-server/pkg-plist
@@ -47,6 +47,8 @@ bin/wtoc
%%DATADIR%%/dic/canna/suffix.ctd
sbin/cannaserver
sbin/cannakill
+%%METAFILE%%
+@exec %%MTREE_CMD%% -qU -f %D/%%METAFILE%% -p %D/%%DATADIR%%/dic > /dev/null 2>&1
@dirrmtry %%DATADIR%%/dic/canna
@dirrmtry %%DATADIR%%/dic/user/user
@dirrmtry %%DATADIR%%/dic/user