diff options
author | bapt <bapt@FreeBSD.org> | 2014-09-03 01:37:41 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-09-03 01:37:41 +0800 |
commit | 937e2b438fa284d73e880284efee592a3c2f1f29 (patch) | |
tree | 6d95e459c3eb903e840cc48250d134a72786b12e /www | |
parent | 8fedd6d710018f9ca76efc2c3587b23f15e5abe7 (diff) | |
download | freebsd-ports-gnome-937e2b438fa284d73e880284efee592a3c2f1f29.tar.gz freebsd-ports-gnome-937e2b438fa284d73e880284efee592a3c2f1f29.tar.zst freebsd-ports-gnome-937e2b438fa284d73e880284efee592a3c2f1f29.zip |
Use @sample
Package empty directories
Diffstat (limited to 'www')
-rw-r--r-- | www/vdradmin-am/pkg-plist | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/www/vdradmin-am/pkg-plist b/www/vdradmin-am/pkg-plist index 60f1094404dd..b0863c025f1d 100644 --- a/www/vdradmin-am/pkg-plist +++ b/www/vdradmin-am/pkg-plist @@ -1,9 +1,5 @@ bin/vdradmind -@exec /usr/bin/install -o %%VDR_USER%% -g %%VDR_GROUP%% -d %D/%%ETCDIR%% -@unexec if cmp -s %D/etc/vdradmin-am/vdradmind.conf.sample %D/etc/vdradmin-am/vdradmind.conf; then rm -f %D/etc/vdradmin-am/vdradmind.conf; fi -%%ETCDIR%%/vdradmind.conf.sample -@exec if [ ! -f %D/etc/vdradmin-am/vdradmind.conf ] ; then cp -p %D/%F %B/vdradmind.conf; chown %%VDR_USER%%:%%VDR_GROUP%% %B/vdradmind.conf; fi -@exec chown -R %%VDR_USER%%:%%VDR_GROUP%% %D/%%ETCDIR%% +@sample(%%VDR_USER%%,%%VDR_GROUP%%,) %%ETCDIR%%/vdradmind.conf.sample man/man8/vdradmind.8.gz share/vdradmin-am/lib/MIME/Base64.pm share/vdradmin-am/lib/Template/Plugin/Date.pm @@ -163,8 +159,7 @@ share/locale/fr/LC_MESSAGES/vdradmin.mo share/locale/it/LC_MESSAGES/vdradmin.mo share/locale/nl/LC_MESSAGES/vdradmin.mo share/locale/ru/LC_MESSAGES/vdradmin.mo -@exec /usr/bin/install -o %%VDR_USER%% -g %%VDR_GROUP%% -d /var/cache/vdradmin-am /var/log/vdradmin-am /var/run/vdradmin-am -@dirrmtry %%ETCDIR%% +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) %%ETCDIR%% @dirrm share/vdradmin-am/lib/MIME @dirrm share/vdradmin-am/lib/File @dirrm share/vdradmin-am/lib/URI @@ -179,8 +174,6 @@ share/locale/ru/LC_MESSAGES/vdradmin.mo @dirrm share/vdradmin-am %%PORTDOCS%%@dirrm %%DOCSDIR%%/contrib %%PORTDOCS%%@dirrm %%DOCSDIR%% -@cwd / -@dirrmtry var/cache/vdradmin-am -@dirrmtry var/log/vdradmin-am -@dirrmtry var/run/vdradmin-am -@cwd %%PREFIX%% +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) /var/cache/vdradmin-am +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) /var/log/vdradmin-am +@dirrmtry(%%VDR_USER%%,%%VDR_GROUP%%,) /var/run/vdradmin-am |