aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-14 15:05:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-14 15:05:38 +0800
commit8f3908e8c8042b30c0913b4cbaefd159aafd2afe (patch)
treef27c2bc1ff85027745e877e734a464c250660aa6 /multimedia
parent63f6f92ba16b1b5d8c4dccf9412ddfa64e716089 (diff)
downloadfreebsd-ports-gnome-8f3908e8c8042b30c0913b4cbaefd159aafd2afe.tar.gz
freebsd-ports-gnome-8f3908e8c8042b30c0913b4cbaefd159aafd2afe.tar.zst
freebsd-ports-gnome-8f3908e8c8042b30c0913b4cbaefd159aafd2afe.zip
- Modernize plist, switch to @sample
Approved by: portmgr blanket
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vdr-plugin-xineliboutput/pkg-plist7
1 files changed, 2 insertions, 5 deletions
diff --git a/multimedia/vdr-plugin-xineliboutput/pkg-plist b/multimedia/vdr-plugin-xineliboutput/pkg-plist
index 74e44e9889d1..7d8ea7facd84 100644
--- a/multimedia/vdr-plugin-xineliboutput/pkg-plist
+++ b/multimedia/vdr-plugin-xineliboutput/pkg-plist
@@ -6,11 +6,8 @@ bin/vdr-sxfe
%%XINE_PLUGINSDIR%%/post/xineplug_post_audiochannel.so
lib/vdr/libvdr-xineliboutput.so.%%APIVERSION%%
lib/vdr/libxineliboutput-sxfe.so.1.0.90-cvs
-@unexec if cmp -s %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf.sample %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf; then rm -f %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf; fi
-etc/vdr/plugins/xineliboutput/allowed_hosts.conf.sample
-@exec if [ ! -f %D/etc/vdr/plugins/xineliboutput/allowed_hosts.conf ] ; then cp -p %D/%F %B/allowed_hosts.conf; fi
-@exec chown %%VDR_USER%%:%%VDR_GROUP%% %D/etc/vdr/plugins/xineliboutput
-@dirrmtry etc/vdr/plugins/xineliboutput
+@sample etc/vdr/plugins/xineliboutput/allowed_hosts.conf.sample
+@dir(%%VDR_USER%%,%%VDR_GROUP%%) etc/vdr/plugins/xineliboutput
%%NLS%%share/locale/cs_CZ/LC_MESSAGES/vdr-xineliboutput.mo
%%NLS%%share/locale/de_DE/LC_MESSAGES/vdr-xineliboutput.mo
%%NLS%%share/locale/et_EE/LC_MESSAGES/vdr-xineliboutput.mo