aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2004-12-21 00:23:12 +0800
committerclive <clive@FreeBSD.org>2004-12-21 00:23:12 +0800
commitb9dad92e5fd2378dda6d0d4734f2603ad2e08bdb (patch)
treefaed415a3b534839fdbddc88685efe011a3d0d02 /mail
parenta3a582fd9ba874c022f6a83156cfc164b1f276c7 (diff)
downloadfreebsd-ports-gnome-b9dad92e5fd2378dda6d0d4734f2603ad2e08bdb.tar.gz
freebsd-ports-gnome-b9dad92e5fd2378dda6d0d4734f2603ad2e08bdb.tar.zst
freebsd-ports-gnome-b9dad92e5fd2378dda6d0d4734f2603ad2e08bdb.zip
Correct a PLIST problem of zh-mutt.
Reported by: pointyhat via kris Submitted by: MAINTAINER of mutt-devel
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile3
-rw-r--r--mail/mutt-devel/scripts/generate-plist3
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index f701c590259b..2d8d65293463 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -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
diff --git a/mail/mutt-devel/scripts/generate-plist b/mail/mutt-devel/scripts/generate-plist
index 1599a4383093..3b70e6502574 100644
--- a/mail/mutt-devel/scripts/generate-plist
+++ b/mail/mutt-devel/scripts/generate-plist
@@ -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