Correct a PLIST problem of zh-mutt.

Reported by:	pointyhat via kris
Submitted by:	MAINTAINER of mutt-devel
This commit is contained in:
Clive Lin 2004-12-20 16:23:12 +00:00
parent 2f60ecb096
commit 497a4186c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124602
3 changed files with 7 additions and 0 deletions

View file

@ -35,6 +35,7 @@ WITHOUT_MUTT_SGMLFORMAT= yes
WITHOUT_MUTT_HTML= yes
WITHOUT_MUTT_COMPRESSED_FOLDERS=yes
.endif
MUTT_SLAVE_HTML_PAGES= 1
MD5_FILE= ${.CURDIR}/distinfo
PKGMESSAGE= ${.CURDIR}/pkg-message

View file

@ -346,6 +346,9 @@ post-patch::
pre-configure::
@(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4)
.if defined(MUTT_SLAVE_HTML_PAGES)
SCRIPTS_ENV+= MUTT_SLAVE_HTML_PAGES="$(MUTT_SLAVE_HTML_PAGES)"
.endif
.if defined(WITH_MUTT_NNTP)
SCRIPTS_ENV+= MUTT_NNTP="yes"
.endif

View file

@ -158,6 +158,9 @@ EOF
if [ "$MUTT_PGP_PATCH" = "yes" ]; then
html=$(($html + 3))
fi
if [ "$MUTT_SLAVE_HTML_PAGES" != "" ]; then
html=$(($html + $MUTT_SLAVE_HTML_PAGES))
fi
echo "%%DOCSDIR%%/html/manual.html" >> $tmp_first
echo "%%DOCSDIR%%/html/manual_toc.html" >> $tmp_first
i=1