mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use @sample keyword
This commit is contained in:
parent
824e2351a9
commit
6aaebb81f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366191
2 changed files with 1 additions and 6 deletions
|
@ -59,8 +59,5 @@ post-patch:
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample
|
${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>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -57,6 +57,4 @@ man/man1/mtoolstest.1.gz
|
||||||
man/man1/mtype.1.gz
|
man/man1/mtype.1.gz
|
||||||
man/man1/mzip.1.gz
|
man/man1/mzip.1.gz
|
||||||
man/man5/mtools.5.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
|
@sample etc/mtools.conf.sample
|
||||||
etc/mtools.conf.sample
|
|
||||||
@exec if [ ! -f %D/etc/mtools.conf ]; then cp %B/%f %D/etc/mtools.conf; fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue