diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-09 17:16:09 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-09 17:16:09 +0800 |
commit | 16dc53771f46bda498e5d1cd47a079082213d8bd (patch) | |
tree | 282f4e76ca783d520c0093c187f7acda8b841c00 /textproc | |
parent | e9666c8cacea0a98b2862131a7f703f845cebc6f (diff) | |
download | freebsd-ports-gnome-16dc53771f46bda498e5d1cd47a079082213d8bd.tar.gz freebsd-ports-gnome-16dc53771f46bda498e5d1cd47a079082213d8bd.tar.zst freebsd-ports-gnome-16dc53771f46bda498e5d1cd47a079082213d8bd.zip |
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 <leeym@cae.ce.ntu.edu.tw>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/antiword/Makefile | 30 | ||||
-rw-r--r-- | textproc/antiword/distinfo | 1 | ||||
-rw-r--r-- | textproc/antiword/files/patch-aa | 36 | ||||
-rw-r--r-- | textproc/antiword/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/antiword/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/antiword/pkg-plist | 7 |
6 files changed, 79 insertions, 0 deletions
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 <leeym@cae.ce.ntu.edu.tw> +# +# $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 <bsd.port.mk> 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 |