mirror of
https://git.freebsd.org/ports.git
synced 2025-06-17 02:30:44 -04:00
Don't overwrite mtools.conf
PR: ports/157910 Submitted by: Max Brazhnikov <makc@FreeBSD.org>
This commit is contained in:
parent
6038aac35f
commit
9733d77c65
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277135
1 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= mtools
|
PORTNAME= mtools
|
||||||
PORTVERSION= 4.0.10
|
PORTVERSION= 4.0.10
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= emulators
|
CATEGORIES= emulators
|
||||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||||
MASTER_SITE_SUBDIR= mtools
|
MASTER_SITE_SUBDIR= mtools
|
||||||
|
@ -63,9 +63,9 @@ post-patch:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc/mtools.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${PREFIX}/etc/mtools.conf.sample
|
||||||
.if !exists(${PREFIX}/etc/mtools.conf)
|
@if [ ! -f ${PREFIX}/etc/mtools.conf ]; then \
|
||||||
@cd ${PREFIX}/etc && ${CP} -f mtools.conf.sample mtools.conf
|
cd ${PREFIX}/etc && ${CP} -p mtools.conf.sample mtools.conf; \
|
||||||
.endif
|
fi
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue