summaryrefslogtreecommitdiffstats
path: root/mail/mutt/Makefile
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-10-01 20:29:46 +0000
committereivind <eivind@FreeBSD.org>1998-10-01 20:29:46 +0000
commit1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac (patch)
treef7ac5a44ea1d26be1e75c8c70785049cf3d565d8 /mail/mutt/Makefile
parent741250744dcbbe94666aae1f5a2c2af61f07f8fd (diff)
downloadFreeBSD-ports-1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac.zip
FreeBSD-ports-1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac.tar.gz
Reference ${PREFIX}/share/doc/mutt/ in the manpage (though only if we
install the docs). OK'ed by: obrien
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r--mail/mutt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 9dcb44c..abf8046 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -4,7 +4,7 @@
# Date created: Thur July 25, 1996
# Whom: David O'Brien (obrien@NUXI.com)
#
-# $Id: Makefile,v 1.49 1998/09/22 21:59:45 smace Exp $
+# $Id: Makefile,v 1.50 1998/09/22 22:48:42 asami Exp $
DISTNAME= mutt-0.93.2i
PKGNAME= mutt-0.93.2
@@ -52,6 +52,11 @@ MAN1= mutt.1
post-patch:
@touch ${WRKSRC}/doc/mutt.man ${WRKSRC}/doc/manual.txt
+.if !defined(NOPORTDOCS)
+ @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-doc-ref
+ @printf ",s|\$${PREFIX}|%s|g\nw\nq\n" ${PREFIX} | \
+ ed -s ${WRKSRC}/doc/mutt.man
+.endif
pre-configure:
@${MKDIR} ${PREFIX}/share/misc
OpenPOWER on IntegriCloud