Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
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

View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.6 2012/10/03 00:20:10 asau Exp $
#
DISTNAME= enriched2html-1.0
CATEGORIES= converters
MASTER_SITES= http://www.fiction.net/blong/programs/mutt/autoview/
DISTFILES= enriched2html.c
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # none
COMMENT= Converts from text/enriched to HTML
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-extract:
${CP} ${DISTDIR}/enriched2html.c ${WRKSRC}
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} enriched2html.c -o enriched2html
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} enriched2html ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/19 09:12:27 agc Exp $
bin/enriched2html

View File

@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.2 2005/02/23 16:12:33 agc Exp $
SHA1 (enriched2html.c) = 425dc2cc8a6299d65114f51933702cd9c7436e59
RMD160 (enriched2html.c) = 1fa9dbf17f80a000c09d339011206d5a18500ad6
Size (enriched2html.c) = 6921 bytes