@sample not working in pkg-plist

Hello All,

I was trying to install a sample config file with format
Code:
 @sample etc/config-file.sample
in pkg-plist.
It seemed to me that pkg fails to install the file, and I check the /usr/ports/Mk/bsd.ports.mk, it doesn't have any @sample pattern in the file. I also checked the manpage of pkg-create, it doesn't mention @sample either. Does @sample still support in the pkg-plist?

Thanks in advance!
 
I have managed to have sample installed using @unexec and @exec suggested in the handbook.
/net/rsync also provides a very good example.
 
Back
Top