Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 16:47:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402687 - head/mail/nmzmail
Message-ID:  <201511301647.tAUGlOat083477@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov 30 16:47:24 2015
New Revision: 402687
URL: https://svnweb.freebsd.org/changeset/ports/402687

Log:
  - Switch to options helpers
  - Minor cleanup

Modified:
  head/mail/nmzmail/Makefile

Modified: head/mail/nmzmail/Makefile
==============================================================================
--- head/mail/nmzmail/Makefile	Mon Nov 30 16:46:44 2015	(r402686)
+++ head/mail/nmzmail/Makefile	Mon Nov 30 16:47:24 2015	(r402687)
@@ -22,17 +22,17 @@ OPTIONS_DEFINE=	DOCS
 
 pre-extract:
 .if !defined(MAX_MAIL_DIRS)
-	@ ${ECHO_MSG} "You can define MAX_MAIL_DIRS=n."
-	@ ${ECHO_MSG} "nmzmail will only process this many mailboxes, the default is 32."
+	@${ECHO_MSG} "You can define MAX_MAIL_DIRS=n."
+	@${ECHO_MSG} "nmzmail will only process this many mailboxes, the default is 32."
 .endif
 
 post-extract:
 .if defined(MAX_MAIL_DIRS)
-	@ ${SED} -i.bak -e 's/MAX_MAIL_DIRS 32/MAX_MAIL_DIRS ${MAX_MAIL_DIRS}/' \
-	${WRKSRC}/src/nmzmail.c
+	@${REINPLACE_CMD} -e 's/MAX_MAIL_DIRS 32/MAX_MAIL_DIRS ${MAX_MAIL_DIRS}/' \
+		${WRKSRC}/src/nmzmail.c
 .endif
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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