aboutsummaryrefslogtreecommitdiff
path: root/mail/mutt
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-10-17 00:32:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-10-17 00:32:33 +0000
commit95152be7d8d120533a2308e144b5194b8a5c9ff3 (patch)
tree1c43689392d294f1bd9e6b5936e85e5e154a26d7 /mail/mutt
parent657dd807ebd6ed11181f35e34cf622573d3f5c9f (diff)
downloadports-95152be7d8d120533a2308e144b5194b8a5c9ff3.tar.gz
ports-95152be7d8d120533a2308e144b5194b8a5c9ff3.zip
Notes
Diffstat (limited to 'mail/mutt')
-rw-r--r--mail/mutt/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index a0a6b3975d10..f49a26e4a3de 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -39,7 +39,7 @@ RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell \
.endif
.if ${MACHINE_ARCH} != "alpha"
# coredump in sgmls
-WITH_DOCS= yes
+WITH_DOCS?= yes
.endif
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
@@ -51,7 +51,7 @@ LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.if defined(WITH_MUTT_CYRUS_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
.endif
-.if defined(WITH_DOCS)
+.if defined(WITH_DOCS) && ${WITH_DOCS} != "no"
BUILD_DEPENDS+= sgmlfmt:${PORTSDIR}/textproc/sgmlformat
.endif
@@ -99,7 +99,7 @@ post-build:
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-doc-ref
printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \
ed -s ${WRKSRC}/doc/mutt.man
-.if defined(WITH_DOCS)
+.if defined(WITH_DOCS) && ${WITH_DOCS} != "no"
PLIST:= ${WRKDIR}/PLIST
pre-install:
@${CAT} ${PKGDIR}/pkg-plist.htmlfiles >> ${PLIST}
@@ -114,7 +114,7 @@ post-install:
@${MKDIR} ${PREFIX}/share/doc/mutt && ${CHMOD} a+rx ${PREFIX}/share/doc/mutt
@cd ${WRKSRC}/doc ; ${INSTALL_MAN} manual.txt PGP-Notes.txt \
${PREFIX}/share/doc/mutt
-.if defined(WITH_DOCS)
+.if defined(WITH_DOCS) && ${WITH_DOCS} != "no"
${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m 0755 \
-d ${PREFIX}/share/doc/mutt/html
${INSTALL_MAN} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/mutt/html