diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-08-26 05:34:43 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-08-26 05:34:43 +0000 |
commit | 6aaebb81f1ff0c847138ed64010d92f21dd5f68c (patch) | |
tree | fffc14005a451767a4a990fefe59e1ea3c824f76 /emulators/mtools | |
parent | 824e2351a9be7aec9ba30e005cf763fb5f2b55ad (diff) |
Use @sample keyword
Notes
Notes:
svn path=/head/; revision=366191
Diffstat (limited to 'emulators/mtools')
-rw-r--r-- | emulators/mtools/Makefile | 3 | ||||
-rw-r--r-- | emulators/mtools/pkg-plist | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile index dc284b9ddd2e..8407d7057e64 100644 --- a/emulators/mtools/Makefile +++ b/emulators/mtools/Makefile @@ -59,8 +59,5 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample - @if [ ! -f ${STAGEDIR}${PREFIX}/etc/mtools.conf ]; then \ - cd ${STAGEDIR}${PREFIX}/etc && ${CP} -p mtools.conf.sample mtools.conf; \ - fi .include <bsd.port.mk> diff --git a/emulators/mtools/pkg-plist b/emulators/mtools/pkg-plist index b45a4812ee80..417a4745d836 100644 --- a/emulators/mtools/pkg-plist +++ b/emulators/mtools/pkg-plist @@ -57,6 +57,4 @@ man/man1/mtoolstest.1.gz man/man1/mtype.1.gz man/man1/mzip.1.gz man/man5/mtools.5.gz -@unexec if cmp -s %D/etc/mtools.conf %D/etc/mtools.conf.sample; then rm -f %D/etc/mtools.conf; fi -etc/mtools.conf.sample -@exec if [ ! -f %D/etc/mtools.conf ]; then cp %B/%f %D/etc/mtools.conf; fi +@sample etc/mtools.conf.sample |