svn commit: r346171 - head/mail/usendmail
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 26 09:44:40 UTC 2014
Author: ehaupt
Date: Wed Feb 26 09:44:39 2014
New Revision: 346171
URL: http://svnweb.freebsd.org/changeset/ports/346171
QAT: https://qat.redports.org/buildarchive/r346171/
Log:
Support staging
Modified:
head/mail/usendmail/Makefile
head/mail/usendmail/pkg-descr
Modified: head/mail/usendmail/Makefile
==============================================================================
--- head/mail/usendmail/Makefile Wed Feb 26 09:38:50 2014 (r346170)
+++ head/mail/usendmail/Makefile Wed Feb 26 09:44:39 2014 (r346171)
@@ -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>
Modified: head/mail/usendmail/pkg-descr
==============================================================================
--- head/mail/usendmail/pkg-descr Wed Feb 26 09:38:50 2014 (r346170)
+++ head/mail/usendmail/pkg-descr Wed Feb 26 09:44:39 2014 (r346171)
@@ -4,4 +4,4 @@ It accepts more of the original sendmail
not depend on environment variables to set the envelope sender.
Author: Uwe Ohse <uwe at ohse.de>
-WWW: http://www.ohse.de/uwe/usendmail.html
+WWW: http://www.ohse.de/uwe/usendmail.html
More information about the svn-ports-all
mailing list