diff options
author | agc <agc> | 2004-01-19 09:12:27 +0000 |
---|---|---|
committer | agc <agc> | 2004-01-19 09:12:27 +0000 |
commit | e7a9a34b62a1cc2ce4f0c82f9b7424925661e9bd (patch) | |
tree | 36267ee21a055ab0a7b30caf6ff72e2b2697e5b9 /converters/enriched2html/Makefile | |
parent | f56bf9babbe56224a793e23559bcee93e4e497ab (diff) | |
download | pkgsrc-e7a9a34b62a1cc2ce4f0c82f9b7424925661e9bd.tar.gz |
Initial import of enriched2html-1.0 into the Packages Collection.
This is useful if you ever receive text/enriched email.
To quote from the author, Brandon Long:
This program is based on the program in Appendix A of rfc1896.
It does as much as I can think of to convert text/enriched to
text/html (since there are so many viewers for text/html). It
is a hack. It is not perfect, and the html it generates is
far from perfect. I've tried to follow HTML v3.2, but its
still not great.
Usage:
Pass it the text/enriched body of a message on stdin, and it
will put the text/html version on stdout.
To make mutt display text/enriched, put this in your .mailcap file:
# enriched.sh converts text/enriched to text/html and then uses lynx to display
text/enriched; ${PREFIX}/bin/enriched2html | lynx -dump -stdin ; copiousoutput
Diffstat (limited to 'converters/enriched2html/Makefile')
-rw-r--r-- | converters/enriched2html/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/converters/enriched2html/Makefile b/converters/enriched2html/Makefile new file mode 100644 index 00000000000..8aa53e914fc --- /dev/null +++ b/converters/enriched2html/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/01/19 09:12:27 agc Exp $ +# + +DISTNAME= enriched2html-1.0 +CATEGORIES= converters +MASTER_SITES= http://www.fiction.net/blong/programs/mutt/autoview/ +DISTFILES= enriched2html.c + +MAINTAINER= tech-pkg@netbsd.org +HOMEPAGE= # none +COMMENT= Converts from text/enriched to HTML + +WRKSRC= ${WRKDIR} + +do-extract: + ${CP} ${DISTDIR}/enriched2html.c ${WRKSRC} + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} enriched2html.c -o enriched2html + +do-install: + cd ${WRKSRC} && ${INSTALL_PROGRAM} enriched2html ${PREFIX}/bin + +.include "../../mk/bsd.pkg.mk" |