Date: Tue, 26 Aug 2014 05:34:43 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366191 - head/emulators/mtools Message-ID: <201408260534.s7Q5Yh76072005@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Tue Aug 26 05:34:43 2014 New Revision: 366191 URL: http://svnweb.freebsd.org/changeset/ports/366191 QAT: https://qat.redports.org/buildarchive/r366191/ Log: Use @sample keyword Modified: head/emulators/mtools/Makefile head/emulators/mtools/pkg-plist Modified: head/emulators/mtools/Makefile ============================================================================== --- head/emulators/mtools/Makefile Tue Aug 26 04:23:43 2014 (r366190) +++ head/emulators/mtools/Makefile Tue Aug 26 05:34:43 2014 (r366191) @@ -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> Modified: head/emulators/mtools/pkg-plist ============================================================================== --- head/emulators/mtools/pkg-plist Tue Aug 26 04:23:43 2014 (r366190) +++ head/emulators/mtools/pkg-plist Tue Aug 26 05:34:43 2014 (r366191) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408260534.s7Q5Yh76072005>