aboutsummaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorEivind Eklund <eivind@FreeBSD.org>1998-10-01 20:29:46 +0000
committerEivind Eklund <eivind@FreeBSD.org>1998-10-01 20:29:46 +0000
commit001cd474a831413cfaacff8430e82f77a2e1dffb (patch)
treef6965c5497090c45d4ad283899f45a408c07bc7a /mail/mutt-devel
parent07ef3af42710dd7db000eb97604e40643d06d6d7 (diff)
downloadports-001cd474a831413cfaacff8430e82f77a2e1dffb.tar.gz
ports-001cd474a831413cfaacff8430e82f77a2e1dffb.zip
Reference ${PREFIX}/share/doc/mutt/ in the manpage (though only if we
install the docs). OK'ed by: obrien
Notes
Notes: svn path=/head/; revision=13585
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/Makefile7
-rw-r--r--mail/mutt-devel/files/extra-patch-doc-ref12
2 files changed, 18 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 9dcb44ccda5c..abf8046c0b39 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/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
diff --git a/mail/mutt-devel/files/extra-patch-doc-ref b/mail/mutt-devel/files/extra-patch-doc-ref
new file mode 100644
index 000000000000..ee044b188b0b
--- /dev/null
+++ b/mail/mutt-devel/files/extra-patch-doc-ref
@@ -0,0 +1,12 @@
+--- doc/mutt.man.orig Mon Jul 13 12:50:38 1998
++++ doc/mutt.man Thu Oct 1 22:15:40 1998
+@@ -20,7 +20,8 @@
+ .SH DESCRIPTION
+ Mutt is a small but very powerful text based program for reading electronic
+ mail under unix operating systems, including support color terminals, MIME,
+-and a threaded sorting mode.
++and a threaded sorting mode. Details of how to use all of this is
++available in \fI${PREFIX}/share/doc/mutt/\fP.
+ .SH OPTIONS
+ .IP "-a \fIfile\fP"
+ Attach a file to your message using MIME.