diff options
author | obrien <obrien@FreeBSD.org> | 2002-10-17 08:32:33 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-10-17 08:32:33 +0800 |
commit | 5aea66d0cc506c48de49787593095327dfe902d1 (patch) | |
tree | b9439cc9d260fab47d39211cab8214a9c07ed2ce /mail/mutt | |
parent | 37b2109749705284d8dc8d2b975e06ecf78a44a2 (diff) | |
download | freebsd-ports-gnome-5aea66d0cc506c48de49787593095327dfe902d1.tar.gz freebsd-ports-gnome-5aea66d0cc506c48de49787593095327dfe902d1.tar.zst freebsd-ports-gnome-5aea66d0cc506c48de49787593095327dfe902d1.zip |
Allow one to use "WITH_DOCS=no" to avoid building them.
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/Makefile | 8 |
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 |