diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-01-25 03:46:54 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2001-01-25 03:46:54 +0000 |
commit | 7df00878734dec1d4985761568dd62424b52992c (patch) | |
tree | 8e6c62224b347e07a09fd11c54d7e083c5622173 /mail/postfix-current/Makefile | |
parent | 086070ab8556188fab9f146c914d269602e5caa4 (diff) | |
download | ports-7df00878734dec1d4985761568dd62424b52992c.tar.gz ports-7df00878734dec1d4985761568dd62424b52992c.zip |
Cleanup around NOPORTDOCS.
Submitted by: yds@dppl.com
PR: ports/24595
Notes
Notes:
svn path=/head/; revision=37555
Diffstat (limited to 'mail/postfix-current/Makefile')
-rw-r--r-- | mail/postfix-current/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 37ece93129a2..daf07ba0a104 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: postfix +# New ports collection makefile for: postfix-current # Date created: 18 Mar 1999 # Whom: torstenb # @@ -45,7 +45,12 @@ BIN1= bounce cleanup error flush lmtp local master nqmgr pickup \ BIN2= postalias postcat postconf postdrop postfix \ postkick postlock postlog postmap postsuper sendmail -DOCDIR= ${PREFIX}/share/doc/postfix +.if defined(NOPORTDOCS) +PLIST_SUB+= SUB_DOCS="@comment " +.else +PLIST_SUB+= SUB_DOCS="" +DOCDIR= ${PREFIX}/share/doc/postfix +.endif .if !defined(DEBUG) MAKEFILEFLAGS+= DEBUG= @@ -132,11 +137,11 @@ do-install: ${PREFIX}/man/man8 .endfor -#.if !defined(NOPORTDOCS) -# @${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCDIR} -# @cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCDIR} && \ -# ${ECHO_MSG} "Installed HTML documentation in ${DOCDIR}" -#.endif +.if !defined(NOPORTDOCS) + @${INSTALL} -d -o ${DOCOWN} -g ${DOCGRP} -m 555 ${DOCDIR} + @cd ${WRKSRC}/html && ${INSTALL_DATA} *.html *.gif ${DOCDIR} && \ + ${ECHO_MSG} "Installed HTML documentation in ${DOCDIR}" +.endif @${ECHO_MSG} '--------------------------------------------------' @${ECHO_MSG} '- To replace your existing sendmail with postfix -' |