Index: Makefile =================================================================== RCS file: /home/pcvs/ports/emulators/mtools/Makefile,v --- Makefile 7 Jun 2011 14:53:03 -0000 1.70 +++ Makefile 15 Jun 2011 19:55:05 -0000 @@ -7,7 +7,7 @@ PORTNAME= mtools PORTVERSION= 4.0.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= mtools @@ -63,9 +63,9 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc/mtools.conf.sample -.if !exists(${PREFIX}/etc/mtools.conf) - @cd ${PREFIX}/etc && ${CP} -f mtools.conf.sample mtools.conf -.endif + @if [ ! -f ${PREFIX}/etc/mtools.conf ]; then \ + cd ${PREFIX}/etc && ${CP} -p mtools.conf.sample mtools.conf; \ + fi @${CAT} ${PKGMESSAGE} .include