Use @sample pkg-plist macro.

This commit is contained in:
Emanuel Haupt 2014-04-14 17:44:58 +00:00
parent 7804689cb5
commit 76fc33af59
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351272

View File

@ -1,7 +1,5 @@
bin/watchd
@unexec if cmp -s %D/etc/watchd.conf %D/etc/watchd.conf.sample; then rm -f %D/etc/watchd.conf; fi
etc/watchd.conf.sample
@exec [ -f %B/watchd.conf ] || cp %B/%f %B/watchd.conf
@sample etc/watchd.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/watchfolder.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%