pkgsrc/converters/doc2html/patches/patch-aa

52 lines
1.4 KiB
Text

$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)