diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile new file mode 100644 index 00000000000..f6aeca52e9f --- /dev/null +++ b/textproc/antiword/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2000/10/01 20:32:20 obecian Exp $ + +DISTNAME= antiword-0.30 +CATEGORIES= textproc +NEED_VERSION= 1.320 +MASTER_SITES= http://www.winfield.demon.nl/linux/ + +WRKDIST= ${WRKDIR}/antiword.0.30 + +HOMEPAGE= http://www.winfield.demon.nl/ + +MAINTAINER= Mark Grimes + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin + +.include diff --git a/textproc/antiword/files/md5 b/textproc/antiword/files/md5 new file mode 100644 index 00000000000..300a01d83bc --- /dev/null +++ b/textproc/antiword/files/md5 @@ -0,0 +1,3 @@ +MD5 (antiword-0.30.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a +RMD160 (antiword-0.30.tar.gz) = 3b90b6cab91912bbfb5ea3a374bf7a5aab093189 +SHA1 (antiword-0.30.tar.gz) = 768cd4fe241ceba7f98a5195473b0f094845ddd5 diff --git a/textproc/antiword/patches/patch-Makefile.Linux b/textproc/antiword/patches/patch-Makefile.Linux new file mode 100644 index 00000000000..858e696d448 --- /dev/null +++ b/textproc/antiword/patches/patch-Makefile.Linux @@ -0,0 +1,12 @@ +--- Makefile.Linux.orig Sat Sep 30 22:01:06 2000 ++++ Makefile.Linux Sat Sep 30 22:01:53 2000 +@@ -22,7 +22,8 @@ OBJS =\ + PROGS =\ + antiword + +-INSTALL_DIR = $(HOME)/bin ++PREFIX? = /usr/local ++INSTALL_DIR = ${PREFIX}/bin + + all: $(PROGS) + diff --git a/textproc/antiword/pkg/COMMENT b/textproc/antiword/pkg/COMMENT new file mode 100644 index 00000000000..8940826f060 --- /dev/null +++ b/textproc/antiword/pkg/COMMENT @@ -0,0 +1 @@ +converts MSWord documents to ascii text and postscript diff --git a/textproc/antiword/pkg/DESCR b/textproc/antiword/pkg/DESCR new file mode 100644 index 00000000000..6e3cb09a834 --- /dev/null +++ b/textproc/antiword/pkg/DESCR @@ -0,0 +1,5 @@ +AntiWord is an application to display Microsoft Word files. +It allows for conversion to either ascii or postscript output. +Currently, Word 6,7,97 and 2000 are supported. + +WWW: ${HOMEPAGE} diff --git a/textproc/antiword/pkg/PLIST b/textproc/antiword/pkg/PLIST new file mode 100644 index 00000000000..2c95a3b71b2 --- /dev/null +++ b/textproc/antiword/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2000/10/01 20:32:20 obecian Exp $ +bin/antiword