aboutsummaryrefslogtreecommitdiff
path: root/mail/exim-doc-html/Makefile
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-12-02 10:51:31 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-12-02 10:51:31 +0000
commit3f2c3385d51543e24337ea7523d7ef261d215baa (patch)
treebd898bb4ba5ff7b15a213011a9445b9e67723a95 /mail/exim-doc-html/Makefile
parentf59e306472328a58e42cde35cf8f93e390fadc87 (diff)
downloadports-3f2c3385d51543e24337ea7523d7ef261d215baa.tar.gz
ports-3f2c3385d51543e24337ea7523d7ef261d215baa.zip
Notes
Diffstat (limited to 'mail/exim-doc-html/Makefile')
-rw-r--r--mail/exim-doc-html/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/exim-doc-html/Makefile b/mail/exim-doc-html/Makefile
index 1be31dc864f1..37e089ebb1d2 100644
--- a/mail/exim-doc-html/Makefile
+++ b/mail/exim-doc-html/Makefile
@@ -19,6 +19,11 @@ COMMENT= Documentation for the Exim MTA in multiple formats
USE_BZIP2= yes
+.if ${DOCFORMAT} == "info"
+BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
+MAKEINFO= ${LOCALBASE}/bin/makeinfo
+.endif
+
DOCFORMAT?= html
DISTDOCFORMAT?= ${DOCFORMAT}
@@ -42,8 +47,8 @@ pre-everything::
do-build:
.if ${DOCFORMAT} == "info"
@ cd ${WRKSRC}/doc; \
- makeinfo --no-split --output exim.info spec.texinfo; \
- makeinfo --no-split --output exim_filter.info filter.texinfo
+ ${MAKEINFO} --no-split --output exim.info spec.texinfo; \
+ ${MAKEINFO} --no-split --output exim_filter.info filter.texinfo
.else
@ ${DO_NADA}
.endif