From 16dc53771f46bda498e5d1cd47a079082213d8bd Mon Sep 17 00:00:00 2001 From: sobomax Date: Fri, 9 Jun 2000 09:16:09 +0000 Subject: Initial import of antiword - yet another utility to convert M$ Word files into some more usefull format (text, ps). PR: 19126 Submitted by: Yen-Ming Lee --- textproc/antiword/Makefile | 30 ++++++++++++++++++++++++++++++ textproc/antiword/distinfo | 1 + textproc/antiword/files/patch-aa | 36 ++++++++++++++++++++++++++++++++++++ textproc/antiword/pkg-comment | 1 + textproc/antiword/pkg-descr | 4 ++++ textproc/antiword/pkg-plist | 7 +++++++ 6 files changed, 79 insertions(+) create mode 100644 textproc/antiword/Makefile create mode 100644 textproc/antiword/distinfo create mode 100644 textproc/antiword/files/patch-aa create mode 100644 textproc/antiword/pkg-comment create mode 100644 textproc/antiword/pkg-descr create mode 100644 textproc/antiword/pkg-plist (limited to 'textproc') diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile new file mode 100644 index 000000000000..35ec685990eb --- /dev/null +++ b/textproc/antiword/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: antiword +# Date created: 8 June 2000 +# Whom: Yen-Ming Lee +# +# $FreeBSD$ +# + +PORTNAME= antiword +PORTVERSION= 0.30 +CATEGORIES= textproc +MASTER_SITES= http://www.winfield.demon.nl/linux/ +DISTNAME= ${PORTNAME} + +MAINTAINER= leeym@cae.ce.ntu.edu.tw + +WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION} + +MAN1= antiword.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/Unix-only/antiword.1 ${MANPREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/antiword +.for file in COPYING Changes History QandA ReadMe + ${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/antiword +.endfor +.endif + +.include diff --git a/textproc/antiword/distinfo b/textproc/antiword/distinfo new file mode 100644 index 000000000000..70b55c9c701b --- /dev/null +++ b/textproc/antiword/distinfo @@ -0,0 +1 @@ +MD5 (antiword.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a diff --git a/textproc/antiword/files/patch-aa b/textproc/antiword/files/patch-aa new file mode 100644 index 000000000000..5d47bd2ba061 --- /dev/null +++ b/textproc/antiword/files/patch-aa @@ -0,0 +1,36 @@ +--- Makefile.orig Mon Nov 1 21:21:36 1999 ++++ Makefile Fri Jun 9 12:07:27 2000 +@@ -2,15 +2,15 @@ + # Makefile for antiword (Linux version) + # + +-CC = gcc +-LD = gcc ++CC ?= gcc ++LD = $(CC) + + # must be equal to DEBUG or NDEBUG + DB = NDEBUG + + LDLIBS = + +-CFLAGS = -Wall -pedantic -O2 -D$(DB) ++CFLAGS += -D$(DB) + LDFLAGS = + + OBJS =\ +@@ -22,12 +22,12 @@ + 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) + + clean: + rm -f $(OBJS) diff --git a/textproc/antiword/pkg-comment b/textproc/antiword/pkg-comment new file mode 100644 index 000000000000..4445453698d7 --- /dev/null +++ b/textproc/antiword/pkg-comment @@ -0,0 +1 @@ +AntiWord is an application to display Microsoft(tm) Word files diff --git a/textproc/antiword/pkg-descr b/textproc/antiword/pkg-descr new file mode 100644 index 000000000000..df6a3ce317c7 --- /dev/null +++ b/textproc/antiword/pkg-descr @@ -0,0 +1,4 @@ +Antiword is an application that can read the binary files from Microsoft Word +versions 6, 7, 97 and 2000. + +WWW: http://www.winfield.demon.nl/index.html diff --git a/textproc/antiword/pkg-plist b/textproc/antiword/pkg-plist new file mode 100644 index 000000000000..484d1cb7668b --- /dev/null +++ b/textproc/antiword/pkg-plist @@ -0,0 +1,7 @@ +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 -- cgit