1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-26 09:44:39 +00:00
parent a2ad019e14
commit 2c68867761
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346171
2 changed files with 6 additions and 8 deletions

View File

@ -19,7 +19,8 @@ PORTDOCS= NEWS README
SUB_FILES= pkg-message
SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's,/var/qmail,${QMAIL_PREFIX},' \
${WRKSRC}/src/usendmail.c
@ -30,11 +31,8 @@ regression-test: build
cd ${WRKSRC} && ./package/check
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/command/usendmail ${PREFIX}/sbin/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/command/usendmail ${STAGEDIR}${PREFIX}/sbin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -4,4 +4,4 @@ It accepts more of the original sendmail's commandline options and does
not depend on environment variables to set the envelope sender.
Author: Uwe Ohse <uwe@ohse.de>
WWW: http://www.ohse.de/uwe/usendmail.html
WWW: http://www.ohse.de/uwe/usendmail.html