summaryrefslogtreecommitdiff
path: root/textproc/antiword
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-07-05 13:53:49 +0000
committerrh <rh@pkgsrc.org>2000-07-05 13:53:49 +0000
commit31628438049565b50c39a9dcbe00880a697fa074 (patch)
treedbe9e7e5392b0fc4c9ee91262386f67a8adfaaee /textproc/antiword
parent8291ce60b46963fd10fe163e6cf8bfee38f18b81 (diff)
downloadpkgsrc-31628438049565b50c39a9dcbe00880a697fa074.tar.gz
Initial import of antiword-0.30, a MS Word to text/postscript converter.
Diffstat (limited to 'textproc/antiword')
-rw-r--r--textproc/antiword/Makefile13
-rw-r--r--textproc/antiword/files/md53
-rw-r--r--textproc/antiword/files/patch-sum3
-rw-r--r--textproc/antiword/patches/patch-aa40
-rw-r--r--textproc/antiword/pkg/COMMENT1
-rw-r--r--textproc/antiword/pkg/DESCR4
-rw-r--r--textproc/antiword/pkg/PLIST8
7 files changed, 72 insertions, 0 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile
new file mode 100644
index 00000000000..e2b9598cde4
--- /dev/null
+++ b/textproc/antiword/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/07/05 13:53:49 rh Exp $
+#
+
+DISTNAME= antiword-0.30
+CATEGORIES= textproc print
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-/./}
+MASTER_SITES= http://www.winfield.demon.nl/linux/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://www.winfield.demon.nl/index.html
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/antiword/files/md5 b/textproc/antiword/files/md5
new file mode 100644
index 00000000000..5c7b09363da
--- /dev/null
+++ b/textproc/antiword/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/07/05 13:53:50 rh Exp $
+
+MD5 (antiword-0.30.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a
diff --git a/textproc/antiword/files/patch-sum b/textproc/antiword/files/patch-sum
new file mode 100644
index 00000000000..4e2ff174ddc
--- /dev/null
+++ b/textproc/antiword/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/07/05 13:53:50 rh Exp $
+
+MD5 (patch-aa) = 08824c9498a6ae5fbd0ce85870ca8fd9
diff --git a/textproc/antiword/patches/patch-aa b/textproc/antiword/patches/patch-aa
new file mode 100644
index 00000000000..08f20383da0
--- /dev/null
+++ b/textproc/antiword/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/07/05 13:53:50 rh Exp $
+
+--- Makefile.orig Mon Nov 1 20:21:36 1999
++++ Makefile Wed Jul 5 15:46:26 2000
+@@ -2,7 +2,6 @@
+ # Makefile for antiword (Linux version)
+ #
+
+-CC = gcc
+ LD = gcc
+
+ # must be equal to DEBUG or NDEBUG
+@@ -10,7 +9,7 @@
+
+ LDLIBS =
+
+-CFLAGS = -Wall -pedantic -O2 -D$(DB)
++CFLAGS += -Wall -pedantic -D$(DB)
+ LDFLAGS =
+
+ OBJS =\
+@@ -22,12 +21,16 @@
+ PROGS =\
+ antiword
+
+-INSTALL_DIR = $(HOME)/bin
++INSTALL_DIR = ${PREFIX}/bin
+
+ all: $(PROGS)
+
+ install: all
+- cp -pf $(PROGS) $(INSTALL_DIR)
++ ${BSD_INSTALL_PROGRAM} ${PROGS} ${INSTALL_DIR}
++ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/antiword
++.for file in COPYING Changes History QandA ReadMe
++ ${BSD_INSTALL_DATA} Docs/${file} ${PREFIX}/share/doc/antiword
++.endfor
+
+ clean:
+ rm -f $(OBJS)
diff --git a/textproc/antiword/pkg/COMMENT b/textproc/antiword/pkg/COMMENT
new file mode 100644
index 00000000000..886062416e3
--- /dev/null
+++ b/textproc/antiword/pkg/COMMENT
@@ -0,0 +1 @@
+free converter MS Word to text and Postscript converter
diff --git a/textproc/antiword/pkg/DESCR b/textproc/antiword/pkg/DESCR
new file mode 100644
index 00000000000..3a40222cff9
--- /dev/null
+++ b/textproc/antiword/pkg/DESCR
@@ -0,0 +1,4 @@
+ Antiword is a free MS Word reader for NetBSD, Linux, BeOS, and Acorn
+computers. It converts the binary files from Word 6, 7, 97 and 2000
+to text and Postscript. Antiword tries to keep the layout of the
+document intact.
diff --git a/textproc/antiword/pkg/PLIST b/textproc/antiword/pkg/PLIST
new file mode 100644
index 00000000000..57325a3a97b
--- /dev/null
+++ b/textproc/antiword/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/05 13:53:50 rh Exp $
+bin/antiword
+share/doc/antiword/COPYING
+share/doc/antiword/Changes
+share/doc/antiword/History
+share/doc/antiword/QandA
+share/doc/antiword/ReadMe
+@dirrm share/doc/antiword