aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-09-22 20:20:37 +0800
committerbapt <bapt@FreeBSD.org>2014-09-22 20:20:37 +0800
commite8ba02825ff347ee742dc8fe5d3a33275fb327cd (patch)
tree44d156375d1566027c38169301f3d97b0ee033bb /sysutils
parent0d13c80caf219a74f0045a64f52b4fbeb440e3a7 (diff)
downloadfreebsd-ports-gnome-e8ba02825ff347ee742dc8fe5d3a33275fb327cd.tar.gz
freebsd-ports-gnome-e8ba02825ff347ee742dc8fe5d3a33275fb327cd.tar.zst
freebsd-ports-gnome-e8ba02825ff347ee742dc8fe5d3a33275fb327cd.zip
Simplify plist
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/radmind/pkg-plist42
1 files changed, 13 insertions, 29 deletions
diff --git a/sysutils/radmind/pkg-plist b/sysutils/radmind/pkg-plist
index 64a8f6ff90e8..6d1c695d85bc 100644
--- a/sysutils/radmind/pkg-plist
+++ b/sysutils/radmind/pkg-plist
@@ -27,36 +27,20 @@ man/man8/radmind.8.gz
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/SPEC
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@cwd /
-@unexec if cmp -s %%RADMIND_BASE_DIR%%/config.sample %%RADMIND_BASE_DIR%%/config; then rm -f %%RADMIND_BASE_DIR%%/config; fi
-@mode 700
-%%RADMIND_BASE_DIR%%/config.sample
-@mode
+@sample(,,700) /%%RADMIND_BASE_DIR%%/config.sample
@owner %%RADMINUSER%%
@group %%RADMINUSER%%
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/transcript 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/transcript
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/tmp/transcript 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/tmp/transcript
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/tmp/file 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/tmp/file
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/tmp 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/tmp
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/special 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/special
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/postapply 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/postapply
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/preapply 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/preapply
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/file 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/file
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/command 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/command
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/client 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/client
-@unexec rmdir %D/%%RADMIND_BASE_DIR%%/cert 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%/cert
-@unexec rmdir %D/%%RADMIND_BASE_DIR%% 2>/dev/null || true
-@exec install -d -o %%RADMINUSER%% -g %%RADMINUSER%% %D/%%RADMIND_BASE_DIR%%
+@dir /%%RADMIND_BASE_DIR%%/transcript
+@dir /%%RADMIND_BASE_DIR%%/tmp/transcript
+@dir /%%RADMIND_BASE_DIR%%/tmp/file
+@dir /%%RADMIND_BASE_DIR%%/tmp
+@dir /%%RADMIND_BASE_DIR%%/special
+@dir /%%RADMIND_BASE_DIR%%/postapply
+@dir /%%RADMIND_BASE_DIR%%/preapply
+@dir /%%RADMIND_BASE_DIR%%/file
+@dir /%%RADMIND_BASE_DIR%%/command
+@dir /%%RADMIND_BASE_DIR%%/client
+@dir /%%RADMIND_BASE_DIR%%/cert
+@dir /%%RADMIND_BASE_DIR%%
@owner
@group