summaryrefslogtreecommitdiff
path: root/converters/doc2html/patches/patch-aa
blob: 45542ee12649a702ddf9b3816332fdb3ae91cdc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$NetBSD: patch-aa,v 1.2 2001/10/09 15:49:40 nra Exp $

--- doc2html.pl.orig	Tue Jun  5 04:12:02 2001
+++ doc2html.pl
@@ -51,13 +51,13 @@
 
 # rtf2html converts Rich Text Font documents to HTML
 # (get it from http://www.fe.msk.ru/~vitus/catdoc/)
-my $RTF2HTML = '';
+my $RTF2HTML = '@@LOCALBASE@@/bin/rtf2html';
 
 # Catdoc converts MS Word to plain text
 # (get it from: http://www.fe.msk.ru/~vitus/catdoc/)
 
 #version of catdoc for Word6, Word7 & Word97 files:
-my $CATDOC = '';
+my $CATDOC = '@@LOCALBASE@@/bin/catdoc';
 
 #version of catdoc for Word2 files
 my $CATDOC2 = $CATDOC;
@@ -67,11 +67,11 @@
 
 # PostScript to text converter
 # (get it from the ghostscript 3.33 (or later) package)
-my $CATPS = '';
+my $CATPS = '@@LOCALBASE@@/bin/ps2ascii';
 
 # add to search path the directory which contains gs
 # (edit for your environment)
-$ENV{PATH} .= ":/usr/freeware/bin";
+# $ENV{PATH} .= ":/usr/freeware/bin";
 
 # PDF to HTML conversion script
 # Full pathname of Perl script pdf2html.pl
@@ -79,7 +79,7 @@
 
 #Microsoft Excel to HTML converter
 # (get it from www.xlHtml.org)
-my $XLS2HTML = '';
+my $XLS2HTML = '@@LOCALBASE@@/bin/xlHtml';
 
 #MicroSoft Excel to .CSV converter
 # (you don't need this if you have xlHtml)
@@ -88,7 +88,7 @@
 
 #Microsoft Powerpoint to HTML converter
 # (get it from www.xlHtml.org)
-my $PPT2HTML = '';
+my $PPT2HTML = '@@LOCALBASE@@/bin/pptHtml';
 
 #Shockwave Flash 
 # (extracts links from file)