Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 09:44:39 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346171 - head/mail/usendmail
Message-ID:  <201402260944.s1Q9idc5031164@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@ohse.de>
-WWW:	http://www.ohse.de/uwe/usendmail.html
+WWW: http://www.ohse.de/uwe/usendmail.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260944.s1Q9idc5031164>