diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-26 17:44:39 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-26 17:44:39 +0800 |
commit | fb34223721b7d28e35efc118d7805d4461fbfeb7 (patch) | |
tree | 55dc594ff3d2c27f1e24f0369c94b22aa3d29b43 /mail | |
parent | 07bad544ec565d82f197e824cc23e26abfdee388 (diff) | |
download | freebsd-ports-graphics-fb34223721b7d28e35efc118d7805d4461fbfeb7.tar.gz freebsd-ports-graphics-fb34223721b7d28e35efc118d7805d4461fbfeb7.tar.zst freebsd-ports-graphics-fb34223721b7d28e35efc118d7805d4461fbfeb7.zip |
Support staging
Diffstat (limited to 'mail')
-rw-r--r-- | mail/usendmail/Makefile | 12 | ||||
-rw-r--r-- | mail/usendmail/pkg-descr | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/mail/usendmail/Makefile b/mail/usendmail/Makefile index 65b96f9b227..6ba8fa21513 100644 --- a/mail/usendmail/Makefile +++ b/mail/usendmail/Makefile @@ -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> diff --git a/mail/usendmail/pkg-descr b/mail/usendmail/pkg-descr index 2076584727c..fcfa01f70ad 100644 --- a/mail/usendmail/pkg-descr +++ b/mail/usendmail/pkg-descr @@ -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 |