diff options
author | eivind <eivind@FreeBSD.org> | 1998-10-02 04:29:46 +0800 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-10-02 04:29:46 +0800 |
commit | 1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac (patch) | |
tree | f7ac5a44ea1d26be1e75c8c70785049cf3d565d8 /mail/mutt | |
parent | 741250744dcbbe94666aae1f5a2c2af61f07f8fd (diff) | |
download | freebsd-ports-gnome-1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac.tar.gz freebsd-ports-gnome-1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac.tar.zst freebsd-ports-gnome-1eb68c4cc47f8c7d8a2d659558fbfacdfcb6b5ac.zip |
Reference ${PREFIX}/share/doc/mutt/ in the manpage (though only if we
install the docs).
OK'ed by: obrien
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/Makefile | 7 | ||||
-rw-r--r-- | mail/mutt/files/extra-patch-doc-ref | 12 |
2 files changed, 18 insertions, 1 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index 9dcb44ccda5c..abf8046c0b39 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 diff --git a/mail/mutt/files/extra-patch-doc-ref b/mail/mutt/files/extra-patch-doc-ref new file mode 100644 index 000000000000..ee044b188b0b --- /dev/null +++ b/mail/mutt/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. |