diff options
author | will <will@FreeBSD.org> | 2000-04-03 20:54:50 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-04-03 20:54:50 +0000 |
commit | 2a12bc83c9da0c1e53f2a7d823bbc36a8430156f (patch) | |
tree | 16ce2b44b5acaf0b390c155cce12b4d16ab72177 /textproc/xlhtml/files | |
parent | c47380ca0f933935e17e3cacf4da4e315655fdcc (diff) | |
download | FreeBSD-ports-2a12bc83c9da0c1e53f2a7d823bbc36a8430156f.zip FreeBSD-ports-2a12bc83c9da0c1e53f2a7d823bbc36a8430156f.tar.gz |
Add xlhtml, a converter from MS Word/Powerpoint to HTML.
PR: 17633
Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'textproc/xlhtml/files')
-rw-r--r-- | textproc/xlhtml/files/patch-aa | 28 | ||||
-rw-r--r-- | textproc/xlhtml/files/patch-ab | 28 | ||||
-rw-r--r-- | textproc/xlhtml/files/patch-ac | 17 | ||||
-rw-r--r-- | textproc/xlhtml/files/patch-ad | 16 | ||||
-rw-r--r-- | textproc/xlhtml/files/patch-ae | 23 |
5 files changed, 112 insertions, 0 deletions
diff --git a/textproc/xlhtml/files/patch-aa b/textproc/xlhtml/files/patch-aa new file mode 100644 index 0000000..be34ad0 --- /dev/null +++ b/textproc/xlhtml/files/patch-aa @@ -0,0 +1,28 @@ +--- xlHtml/Makefile.in.orig Mon Mar 27 21:36:41 2000 ++++ xlHtml/Makefile.in Mon Mar 27 21:39:25 2000 +@@ -84,8 +84,8 @@ + + EXTRA_DIST = README ChangeLog TODO THANKS Test.xls Test.html xlHtml.ide + +-INCLUDES = -I$(top_srcdir) +-LDADD = $(top_builddir)/libcole.la ++INCLUDES = -I$(LOCALBASE)/include ++LDADD = -L$(LOCALBASE)/lib -lcole + + noinst_PROGRAMS = dump + bin_SCRIPTS = nsopen nsxlview +@@ -103,12 +103,12 @@ + xlHtml_SOURCES = xlHtml.c + xlHtml_OBJECTS = xlHtml.o + xlHtml_LDADD = $(LDADD) +-xlHtml_DEPENDENCIES = $(top_builddir)/libcole.la ++xlHtml_DEPENDENCIES = + xlHtml_LDFLAGS = + dump_SOURCES = dump.c + dump_OBJECTS = dump.o + dump_LDADD = $(LDADD) +-dump_DEPENDENCIES = $(top_builddir)/libcole.la ++dump_DEPENDENCIES = + dump_LDFLAGS = + SCRIPTS = $(bin_SCRIPTS) + diff --git a/textproc/xlhtml/files/patch-ab b/textproc/xlhtml/files/patch-ab new file mode 100644 index 0000000..72a637c --- /dev/null +++ b/textproc/xlhtml/files/patch-ab @@ -0,0 +1,28 @@ +--- pptHtml/Makefile.in.orig Tue Mar 28 09:52:11 2000 ++++ pptHtml/Makefile.in Tue Mar 28 09:54:17 2000 +@@ -84,8 +84,8 @@ + + EXTRA_DIST = README ChangeLog TODO THANKS test.ppt + +-INCLUDES = -I$(top_srcdir) +-LDADD = $(top_builddir)/libcole.la ++INCLUDES = -I$(LOCALBASE)/include ++LDADD = -L$(LOCALBASE)/lib -lcole + + noinst_PROGRAMS = pptdump + bin_SCRIPTS = nspptview +@@ -103,12 +103,12 @@ + pptHtml_SOURCES = pptHtml.c + pptHtml_OBJECTS = pptHtml.o + pptHtml_LDADD = $(LDADD) +-pptHtml_DEPENDENCIES = $(top_builddir)/libcole.la ++pptHtml_DEPENDENCIES = + pptHtml_LDFLAGS = + pptdump_SOURCES = pptdump.c + pptdump_OBJECTS = pptdump.o + pptdump_LDADD = $(LDADD) +-pptdump_DEPENDENCIES = $(top_builddir)/libcole.la ++pptdump_DEPENDENCIES = + pptdump_LDFLAGS = + SCRIPTS = $(bin_SCRIPTS) + diff --git a/textproc/xlhtml/files/patch-ac b/textproc/xlhtml/files/patch-ac new file mode 100644 index 0000000..22bc187 --- /dev/null +++ b/textproc/xlhtml/files/patch-ac @@ -0,0 +1,17 @@ +--- xlHtml/xlHtml.c.orig Tue Mar 28 09:56:24 2000 ++++ xlHtml/xlHtml.c Mon Mar 27 23:06:47 2000 +@@ -645,8 +645,13 @@ + ws_array[i]->ws_title.str, ws_array[i]->biggest_row, ws_array[i]->biggest_col); + } + } +- else if (Xtract) ++ else if (Xtract) { ++ if(xr2 == MAX_ROWS) ++ xr2 = ws_array[xp]->biggest_row; ++ if(xc2 == MAX_COLS) ++ xc2 = ws_array[xp]->biggest_col; + OutputTableGnuPlot(); ++ } + } + else + { diff --git a/textproc/xlhtml/files/patch-ad b/textproc/xlhtml/files/patch-ad new file mode 100644 index 0000000..438de2e --- /dev/null +++ b/textproc/xlhtml/files/patch-ad @@ -0,0 +1,16 @@ + --- xlHtml/nsopen.orig Tue Mar 28 13:48:58 2000 + +++ xlHtml/nsopen Tue Mar 28 14:27:14 2000 + @@ -1,4 +1,4 @@ + -#!/bin/tcsh + +#!/bin/csh + + if ($#argv != 1) then + echo "Usage: $0 file" + @@ -7,7 +7,7 @@ + + set file = $argv[1] + if (!(-r $file)) then + - echo "$0: File $file cannot be read" + + echo "$0"": File $file cannot be read" + exit 1 + endif diff --git a/textproc/xlhtml/files/patch-ae b/textproc/xlhtml/files/patch-ae new file mode 100644 index 0000000..75c74e1 --- /dev/null +++ b/textproc/xlhtml/files/patch-ae @@ -0,0 +1,23 @@ + --- xlHtml/nsxlview.orig Tue Mar 28 13:49:06 2000 + +++ xlHtml/nsxlview Tue Mar 28 14:34:35 2000 + @@ -1,4 +1,4 @@ + -#!/bin/tcsh + +#!/bin/csh + + if ($#argv != 1) then + echo "Usage: $0 file.xls" + @@ -9,12 +9,12 @@ + + #Generate a unique html filename (/tmp/scriptname.pidnum.html) + set com = $0 + -set tmp = /tmp/$com:t.$$ + +set tmp = `mktemp -t $0:t` || exit 1 + set html = $tmp.html + + xlHtml -a $source > $html + -if ((!(-s $html)) | ($status)) then + - echo "$0: failed to generate HTML file" + +if ((!(-r $html)) | ($status)) then + + echo "$0"": failed to generate HTML file" + exit 1 + endif |