diff options
Diffstat (limited to 'converters')
-rw-r--r-- | converters/txt2html/Makefile | 25 | ||||
-rw-r--r-- | converters/txt2html/files/md5 | 3 | ||||
-rw-r--r-- | converters/txt2html/files/patch-sum | 3 | ||||
-rw-r--r-- | converters/txt2html/patches/patch-aa | 21 | ||||
-rw-r--r-- | converters/txt2html/pkg/COMMENT | 1 | ||||
-rw-r--r-- | converters/txt2html/pkg/DESCR | 2 | ||||
-rw-r--r-- | converters/txt2html/pkg/PLIST | 7 |
7 files changed, 62 insertions, 0 deletions
diff --git a/converters/txt2html/Makefile b/converters/txt2html/Makefile new file mode 100644 index 00000000000..a61e6b29a0a --- /dev/null +++ b/converters/txt2html/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/20 14:53:08 wennmach Exp $ + +DISTNAME= txt2html-1.28 +CATEGORIES= converters www +MASTER_SITES= http://www.aigeek.com/txt2html/ + +MAINTAINER= wennmach@netbsd.org +HOMEPAGE= http://www.aigeek.com/txt2html/index.html + +NO_BUILD= # defined +USE_PERL5= # defined + +do-configure: + ${SED} -e "s:@PREFIX@:${PREFIX}:g" \ + ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/txt2html ${PREFIX}/bin + -${MKDIR} ${PREFIX}/share/txt2html + ${INSTALL_DATA} ${WRKSRC}/txt2html.dict ${PREFIX}/share/txt2html + ${INSTALL_DATA} ${WRKSRC}/sample.foot ${PREFIX}/share/txt2html + ${INSTALL_DATA} ${WRKSRC}/sample.html ${PREFIX}/share/txt2html + ${INSTALL_DATA} ${WRKSRC}/sample.txt ${PREFIX}/share/txt2html + +.include "../../mk/bsd.pkg.mk" diff --git a/converters/txt2html/files/md5 b/converters/txt2html/files/md5 new file mode 100644 index 00000000000..656698ef25f --- /dev/null +++ b/converters/txt2html/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/20 14:53:08 wennmach Exp $ + +MD5 (txt2html-1.28.tar.gz) = 7604cfb7456851bbaffbc48ab4444349 diff --git a/converters/txt2html/files/patch-sum b/converters/txt2html/files/patch-sum new file mode 100644 index 00000000000..3e62353fd29 --- /dev/null +++ b/converters/txt2html/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/10/20 14:53:08 wennmach Exp $ + +MD5 (patch-aa) = a42c0790e80f3155a237fcd8256c6f97 diff --git a/converters/txt2html/patches/patch-aa b/converters/txt2html/patches/patch-aa new file mode 100644 index 00000000000..2f440fbda8d --- /dev/null +++ b/converters/txt2html/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/10/20 14:53:08 wennmach Exp $ + +Adopt to pkgsrc path conventions. + +--- txt2html.pl.orig Fri Oct 20 15:28:58 2000 ++++ txt2html.pl Fri Oct 20 15:32:10 2000 +@@ -1,4 +1,4 @@ +-#!/usr/bin/perl ++#!@PREFIX@/bin/perl + # + # txt2html.pl + # Convert raw text to something with a little HTML formatting +@@ -222,7 +222,7 @@ + # 2: The code that will make the links + # 4: When each rule matches something + +-$system_link_dict = "/usr/local/lib/txt2html.dict"; # after options ++$system_link_dict = "@PREFIX@/share/txt2html/txt2html.dict"; # after options + $default_link_dict = "$ENV{'HOME'}/.txt2html.dict"; # before options + + # [-pm/+pm ] | [--preformat-marker / --nopreformat-marker ] diff --git a/converters/txt2html/pkg/COMMENT b/converters/txt2html/pkg/COMMENT new file mode 100644 index 00000000000..641a63084c9 --- /dev/null +++ b/converters/txt2html/pkg/COMMENT @@ -0,0 +1 @@ +Text to HTML converter diff --git a/converters/txt2html/pkg/DESCR b/converters/txt2html/pkg/DESCR new file mode 100644 index 00000000000..27d27371904 --- /dev/null +++ b/converters/txt2html/pkg/DESCR @@ -0,0 +1,2 @@ +txt2html is a text to HTML converter written in Perl by +Seth Golub <seth@aigeek.com>. diff --git a/converters/txt2html/pkg/PLIST b/converters/txt2html/pkg/PLIST new file mode 100644 index 00000000000..c4066e0e352 --- /dev/null +++ b/converters/txt2html/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/20 14:53:08 wennmach Exp $ +bin/txt2html +share/txt2html/txt2html.dict +share/txt2html/sample.foot +share/txt2html/sample.html +share/txt2html/sample.txt +@dirrm share/txt2html |