1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-21 08:56:21 +00:00
parent 9ad5d0ebb4
commit 7e32a31a57
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345333

View File

@ -13,13 +13,13 @@ GNU_CONFIGURE= yes
SUB_FILES= pkg-message
NO_STAGE= yes
do-install:
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf.default
.if !exists(${PREFIX}/etc/mailmgr.conf)
${INSTALL_DATA} ${WRKSRC}/mailmgr.conf ${PREFIX}/etc/mailmgr.conf
${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 ${PREFIX}/bin
@${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/mailmgr ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>