svn commit: r402687 - head/mail/nmzmail

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Nov 30 16:47:25 UTC 2015


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}
 


More information about the svn-ports-all mailing list