summaryrefslogtreecommitdiff
path: root/textproc/antiword
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2001-10-17 06:22:38 +0000
committerrh <rh@pkgsrc.org>2001-10-17 06:22:38 +0000
commitdde0e0e5a6840588e3e8e5999e6974d9c02b6126 (patch)
tree35baca0ac6aa41acb8c3408cc83e261d592b6226 /textproc/antiword
parentaf2408ee8f41769ada182944a4ece2a59b6dc144 (diff)
downloadpkgsrc-dde0e0e5a6840588e3e8e5999e6974d9c02b6126.tar.gz
Update antiword to 0.23. The package now includes a MESSAGE that describes
how to set up a default configuration. Changes in the original program are Bug fixes: - Bug reported by Forrest J. Cavalier III <mibsoft@mibsoftware.com> fixed - Bug reported by Jan ONDREJ (SAL) <ondrejj@salstar.sk> fixed - Bug in dealing with RLE compressed bitmap images fixed - Bug in the image scaling fixed (RISC OS only) New features: - Improved leading. (Unix only; PostScript version only) - Antiword can now read from the standard input. This is based on an idea by Matthew Miller <mattdm@mattdm.org> (Unix only) - A white background looks much better. (RISC OS only) - A system-wide directory for the mapping files. As suggested by Sven Geggus <sven@geggus.net> and many others. (Unix only) - Antiword can now deal with documents larger than 7 MB.
Diffstat (limited to 'textproc/antiword')
-rw-r--r--textproc/antiword/Makefile4
-rw-r--r--textproc/antiword/distinfo9
-rw-r--r--textproc/antiword/patches/patch-aa26
-rw-r--r--textproc/antiword/patches/patch-ab12
-rw-r--r--textproc/antiword/pkg/MESSAGE13
-rw-r--r--textproc/antiword/pkg/PLIST28
6 files changed, 62 insertions, 30 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile
index 080cb6fbe1f..4399f8b36c1 100644
--- a/textproc/antiword/Makefile
+++ b/textproc/antiword/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2001/06/13 00:12:10 simonb Exp $
+# $NetBSD: Makefile,v 1.5 2001/10/17 06:22:38 rh Exp $
#
-DISTNAME= antiword-0.31
+DISTNAME= antiword-0.32
WRKSRC= ${WRKDIR}/${DISTNAME:S/-/./}
CATEGORIES= textproc print
MASTER_SITES= http://www.winfield.demon.nl/linux/
diff --git a/textproc/antiword/distinfo b/textproc/antiword/distinfo
index b4b8c7076c4..ad713d19fbd 100644
--- a/textproc/antiword/distinfo
+++ b/textproc/antiword/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2001/06/13 00:12:10 simonb Exp $
+$NetBSD: distinfo,v 1.4 2001/10/17 06:22:38 rh Exp $
-SHA1 (antiword-0.31.tar.gz) = 19a2d0086365e914c032fc6af0bd438fdf8cf349
-Size (antiword-0.31.tar.gz) = 170145 bytes
-SHA1 (patch-aa) = 4d97947e46bd8abf40309f0283ab21e35a91fde5
-SHA1 (patch-ab) = 1140b5cca05e13deb030b5535a4c13a4580fe31d
+SHA1 (antiword-0.32.tar.gz) = e8e839fe0934e5dc7269456dec7744c463ec98d9
+Size (antiword-0.32.tar.gz) = 193697 bytes
+SHA1 (patch-aa) = 75e72814951479511d7233a4907b588a8c080b5c
diff --git a/textproc/antiword/patches/patch-aa b/textproc/antiword/patches/patch-aa
index 08917341524..2bc085537e6 100644
--- a/textproc/antiword/patches/patch-aa
+++ b/textproc/antiword/patches/patch-aa
@@ -1,16 +1,18 @@
---- Makefile.orig Tue Dec 5 06:58:28 2000
-+++ Makefile Wed Jun 13 10:02:47 2001
-@@ -10,7 +10,7 @@
+$NetBSD: patch-aa,v 1.4 2001/10/17 06:22:38 rh Exp $
+
+--- Makefile.orig Sat Jul 21 21:58:03 2001
++++ Makefile
+@@ -8,7 +8,7 @@
+ # must be equal to DEBUG or NDEBUG
+ DB = NDEBUG
+ # Optimization: -O<n> or debugging: -g
+-OPT = -O2
++OPT =
LDLIBS =
--CFLAGS = -Wall -pedantic -O2 -D$(DB)
-+CFLAGS += -Wall -pedantic -D$(DB)
- LDFLAGS =
-
- OBJS =\
-@@ -21,20 +21,26 @@
- tabstop.o unix.o word2text.o wordlib.o xmalloc.o
+@@ -24,20 +24,30 @@
+ wordlib.o xmalloc.o
PROGS =\
- antiword\
@@ -34,6 +36,10 @@
+ ${BSD_INSTALL_DATA} Docs/${file} ${PREFIX}/share/doc/antiword
+.endfor
+ ${BSD_INSTALL_MAN} Docs/antiword.1 ${PREFIX}/man/man1/antiword.1
++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/examples/antiword
++ for i in Resources/* ; do \
++ ${BSD_INSTALL_DATA} $$i ${PREFIX}/share/examples/antiword ; \
++ done
clean:
rm -f $(OBJS)
diff --git a/textproc/antiword/patches/patch-ab b/textproc/antiword/patches/patch-ab
deleted file mode 100644
index 1ae128dbfc2..00000000000
--- a/textproc/antiword/patches/patch-ab
+++ /dev/null
@@ -1,12 +0,0 @@
---- antiword.h.orig Thu Nov 30 06:54:14 2000
-+++ antiword.h Wed Jun 13 10:04:21 2001
-@@ -41,7 +41,9 @@
- #endif /* __riscos */
- #endif /* !PATH_MAX */
-
-+#ifndef SIZE_T_MAX
- #define SIZE_T_MAX (size_t)UINT_MAX
-+#endif
-
- #if defined(__riscos)
- #define FILE_SEPARATOR "."
diff --git a/textproc/antiword/pkg/MESSAGE b/textproc/antiword/pkg/MESSAGE
new file mode 100644
index 00000000000..e79d619b46a
--- /dev/null
+++ b/textproc/antiword/pkg/MESSAGE
@@ -0,0 +1,13 @@
+$NetBSD: MESSAGE,v 1.1 2001/10/17 06:22:38 rh Exp $
+==========================================================================
+
+ antiword has now been installed in ${PREFIX}.
+
+ Before using this package for the first time, each user has to install
+ configuration files in his ${HOME}/.antiword directory. The easiest
+ way to do this is to use the provided example configuration files:
+
+ mkdir ~/.antiword
+ cp ${PREFIX}/share/examples/antiword/* ~/.antiword
+
+==========================================================================
diff --git a/textproc/antiword/pkg/PLIST b/textproc/antiword/pkg/PLIST
index d635d9812fc..1163c5eff6e 100644
--- a/textproc/antiword/pkg/PLIST
+++ b/textproc/antiword/pkg/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2001/06/13 00:12:11 simonb Exp $
+@comment $NetBSD: PLIST,v 1.3 2001/10/17 06:22:38 rh Exp $
bin/antiword
bin/kantiword
share/doc/antiword/COPYING
@@ -8,5 +8,31 @@ share/doc/antiword/History
share/doc/antiword/Netscape
share/doc/antiword/QandA
share/doc/antiword/ReadMe
+share/examples/antiword/8859-1.txt
+share/examples/antiword/8859-10.txt
+share/examples/antiword/8859-13.txt
+share/examples/antiword/8859-14.txt
+share/examples/antiword/8859-15.txt
+share/examples/antiword/8859-2.txt
+share/examples/antiword/8859-3.txt
+share/examples/antiword/8859-4.txt
+share/examples/antiword/8859-5.txt
+share/examples/antiword/8859-6.txt
+share/examples/antiword/8859-7.txt
+share/examples/antiword/8859-8.txt
+share/examples/antiword/8859-9.txt
+share/examples/antiword/Default
+share/examples/antiword/Example
+share/examples/antiword/MacRoman.txt
+share/examples/antiword/UTF-8.txt
+share/examples/antiword/Unicode
+share/examples/antiword/cp1250.txt
+share/examples/antiword/cp1251.txt
+share/examples/antiword/cp1252.txt
+share/examples/antiword/fontnames
+share/examples/antiword/fontnames.russian
+share/examples/antiword/koi8-r.txt
+share/examples/antiword/roman.txt
man/man1/antiword.1
+@dirrm share/examples/antiword
@dirrm share/doc/antiword