summaryrefslogtreecommitdiff
path: root/converters/txt2html/patches
diff options
context:
space:
mode:
authorwennmach <wennmach>2000-10-20 14:53:08 +0000
committerwennmach <wennmach>2000-10-20 14:53:08 +0000
commit9fe82a2660c22f643bda115b6864f9e44523217a (patch)
treef22aaf73e7458fd1052f15f7d1f51b45a408294a /converters/txt2html/patches
parent1fa6b2af5314c69261a346fabca612b5ccc95be1 (diff)
downloadpkgsrc-9fe82a2660c22f643bda115b6864f9e44523217a.tar.gz
Initial import of txt2html-1.28, a text to HTML converter written in Perl.
Diffstat (limited to 'converters/txt2html/patches')
-rw-r--r--converters/txt2html/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
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 ]