- Switch to @sample
Approved by: portmgr blanket
This commit is contained in:
parent
0ee96ae1e2
commit
249a2629dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396711
2 changed files with 3 additions and 9 deletions
|
@ -14,12 +14,8 @@ GNU_CONFIGURE= yes
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf \
|
|
||||||
${STAGEDIR}${PREFIX}/etc/mailmgr.conf.default
|
|
||||||
.if !exists(${STAGEDIR}${PREFIX}/etc/mailmgr.conf)
|
|
||||||
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf \
|
|
||||||
${STAGEDIR}${PREFIX}/etc/mailmgr.conf
|
|
||||||
.endif
|
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${STAGEDIR}${PREFIX}/bin
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf \
|
||||||
|
${STAGEDIR}${PREFIX}/etc/mailmgr.conf.sample
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
@unexec if cmp -s %D/etc/mailmgr.conf %D/etc/mailmgr.conf.default; then rm -f %D/etc/mailmgr.conf; fi
|
|
||||||
etc/mailmgr.conf.default
|
|
||||||
@exec if [ ! -f %D/etc/mailmgr.conf ] ; then cp -p %D/%F %B/mailmgr.conf; fi
|
|
||||||
bin/mailmgr
|
bin/mailmgr
|
||||||
|
@sample etc/mailmgr.conf.sample
|
||||||
|
|
Loading…
Reference in a new issue