aboutsummaryrefslogtreecommitdiff
path: root/emulators/mtools
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/mtools')
-rw-r--r--emulators/mtools/Makefile3
-rw-r--r--emulators/mtools/pkg-plist4
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