summaryrefslogtreecommitdiff
path: root/converters/doc2html/patches/patch-aa
blob: 1bd2b4476b2255004a141b68b5bc158bc6e87802 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 14:03:20 agc Exp $

--- doc2html.pl.orig	Mon Sep 11 05:29:20 2000
+++ doc2html.pl
@@ -20,48 +20,48 @@
 #  If all else fails, attempts to read file without conversion.
 
 # wp2html binary
-$WP2HTML = "/opt/local/wp2html-3.2/bin/wp2html";
+$WP2HTML = "";
 
 # rtf2html converts Rich Text Font documents to HTML
 # (get it from: http://www.res.bbsrc.ac.uk/wp2html/):
-$RTF2HTML = "/opt/local/rtf2html-1.1/bin/rtf2html";
+$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:
-$CATDOC = "/opt/local/catdoc-0.91.4/bin/catdoc";
+$CATDOC = "@@LOCALBASE@@/bin/catdoc";
 
 #version of catdoc for Word2 files:
-$CATDOC2 = "/opt/local/catdoc-0.91.4/bin/catdoc";
+$CATDOC2 = "@@LOCALBASE@@/bin/catdoc";
 
 #version of catdoc for Word 5.1 for MAC:
-$CATDOCM = "/opt/local/catdoc-0.91.4/bin/catdoc";
+$CATDOCM = "@@LOCALBASE@@/bin/catdoc";
 
 # PostScript to text converter
 # (get it from the ghostscript 3.33 (or later) package):
-$CATPS = "/usr/freeware/bin/ps2ascii";
+$CATPS = "@@LOCALBASE@@/bin/ps2ascii";
 
 # add to search path the directory which contains gs:
-$ENV{PATH} .= ":/usr/freeware/bin";
+# $ENV{PATH} .= ":/usr/freeware/bin";
 
 # PDF to text converter and pdfinfo tool
 # (get them from the xpdf package at http://www.foolabs.com/xpdf/):
-$CATPDF = "/opt/local/xpdf-0.9/bin/pdftotext";
-$PDFINFO = "/opt/local/xpdf-0.9/bin/pdfinfo";
+$CATPDF = "@@X11BASE@@/bin/pdftotext";
+$PDFINFO = "@@X11BASE@@/bin/pdfinfo";
 
 #Microsoft Excel to HTML converter
 # (get it from www.xlHtml.org)
-$XLS2HTML = "/opt/local/xlHtml-0.2.7.2/bin/xlHtml";
+$XLS2HTML = "@@LOCALBASE@@/bin/xlHtml";
 
 #Microsoft Powerpoint to HTML converter
 # (get it from www.xlHtml.org)
-$PPT2HTML = "/opt/local/xlHtml-0.2.7.2/bin/pptHtml";
+$PPT2HTML = "@@LOCALBASE@@/bin/pptHtml";
 
 #MicroSoft Excel to .CSV converter
 # (you don't need this if you have xlHtml)
 # (get it with catdoc)
-$CATXLS = "/opt/local/catdoc-0.91.2/bin/xls2csv";
+$CATXLS = "";
 
 ########################################################################################
 # Written by David Adams <d.j.adams@soton.ac.uk>.