aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qpopper
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-01 07:26:26 +0800
committerbapt <bapt@FreeBSD.org>2014-11-01 07:26:26 +0800
commitb504c184390136ede2a10ca6e15211f4350c0783 (patch)
tree411921278caeaf8d11aca175c7c076ad9caa6dd9 /mail/qpopper
parent9715b4dc4dc2d454f8555bdb72404a93e5cfc742 (diff)
downloadfreebsd-ports-gnome-b504c184390136ede2a10ca6e15211f4350c0783.tar.gz
freebsd-ports-gnome-b504c184390136ede2a10ca6e15211f4350c0783.tar.zst
freebsd-ports-gnome-b504c184390136ede2a10ca6e15211f4350c0783.zip
Simplify plist
Use @sample
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/pkg-plist19
1 files changed, 4 insertions, 15 deletions
diff --git a/mail/qpopper/pkg-plist b/mail/qpopper/pkg-plist
index c51f257c4f36..529a909650bd 100644
--- a/mail/qpopper/pkg-plist
+++ b/mail/qpopper/pkg-plist
@@ -1,20 +1,9 @@
-@owner %%USERS%%
-@mode 04555
-%%QPOPAUTH%%bin/qapopauth
-%%QPOPAUTH%%bin/qpopauth
-@group %%GROUPS%%
-@mode 0444
-@unexec if cmp -s %D/%%ETCDIR%%/popusers %D/%%ETCDIR%%/popusers.sample ; then rm -f %D/%%ETCDIR%%/popusers ; fi
-%%ETCDIR%%/popusers.sample
-@exec if [ ! -f %D/%%ETCDIR%%/popusers ] ; then cp -p %D/%F %B/popusers ; fi
-@mode
-@group wheel
-@owner root
+@(%%USERS%%,%%GROUPS%%,4555) %%QPOPAUTH%%bin/qapopauth
+@(%%USERS%%,%%GROUPS%%,4555) %%QPOPAUTH%%bin/qpopauth
+@sample(%%USERS%%,%%GROUPS%%,0444) %%ETCDIR%%/popusers.sample
libexec/qpopper
man/man8/qpopper.8.gz
%%QPOPAUTH%%man/man8/qpopauth.8.gz
%%EPOPPASSD%%libexec/qpoppassd
-@exec mkdir -p %%ETCDIR%% && chown %%USERS%%:%%GROUPS%% %%ETCDIR%% && chmod %%POP_MODE_DIR%% %%ETCDIR%%
%%PORTDOCS%%%%DOCSDIR%%/GUIDE.pdf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry %%ETCDIR%%
+@dir(%%USERS%%,%%GROUPS%%,) %%ETCDIR%%