aboutsummaryrefslogtreecommitdiff
path: root/textproc/antiword
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-12-18 15:25:42 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-12-18 15:25:42 +0000
commitd2cb583db4e9971333f961a6b304c67f83709d37 (patch)
tree906dfda75d2220afaa26404ed523c43904448748 /textproc/antiword
parentf16e7aef0fe6422b306cc2e391152f2e4b29de43 (diff)
downloadports-d2cb583db4e9971333f961a6b304c67f83709d37.tar.gz
ports-d2cb583db4e9971333f961a6b304c67f83709d37.zip
Notes
Diffstat (limited to 'textproc/antiword')
-rw-r--r--textproc/antiword/Makefile11
-rw-r--r--textproc/antiword/distinfo2
-rw-r--r--textproc/antiword/files/patch-aa60
-rw-r--r--textproc/antiword/pkg-plist5
4 files changed, 35 insertions, 43 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile
index 84dd1614ad33..f180535f6c26 100644
--- a/textproc/antiword/Makefile
+++ b/textproc/antiword/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= antiword
-PORTVERSION= 0.30
+PORTVERSION= 0.31
CATEGORIES= textproc
MASTER_SITES= http://www.winfield.demon.nl/linux/
@@ -17,12 +17,13 @@ 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
+ @${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin
+ @${INSTALL_SCRIPT} ${WRKSRC}/kantiword ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/Docs/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
+.for file in COPYING ChangeLog FAQ History Netscape QandA ReadMe
+ @${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/antiword
.endfor
.endif
diff --git a/textproc/antiword/distinfo b/textproc/antiword/distinfo
index b0526e390297..eb399dd1657e 100644
--- a/textproc/antiword/distinfo
+++ b/textproc/antiword/distinfo
@@ -1 +1 @@
-MD5 (antiword-0.30.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a
+MD5 (antiword-0.31.tar.gz) = bacc1727e44453f8ae38f2cdb7b7c54d
diff --git a/textproc/antiword/files/patch-aa b/textproc/antiword/files/patch-aa
index 5d47bd2ba061..e84319895d69 100644
--- a/textproc/antiword/files/patch-aa
+++ b/textproc/antiword/files/patch-aa
@@ -1,36 +1,24 @@
---- 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)
+--- antiword.h.orig Thu Nov 30 03:54:14 2000
++++ antiword.h Sun Dec 17 05:44:49 2000
+@@ -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 "."
+--- Makefile.orig Sun Dec 17 05:45:07 2000
++++ Makefile Sun Dec 17 05:45:47 2000
+@@ -43,8 +43,7 @@
+
+ kantiword: Unix-only/KDE-only/kantiword.sh
+ @rm -f $@
+- echo "#!/bin/sh" > $@
+- cat $? >> $@
++ @cat $? >> $@
+ @chmod 750 $@
+
+ .c.o:
diff --git a/textproc/antiword/pkg-plist b/textproc/antiword/pkg-plist
index 484d1cb7668b..ba1f221cbf8c 100644
--- a/textproc/antiword/pkg-plist
+++ b/textproc/antiword/pkg-plist
@@ -1,7 +1,10 @@
bin/antiword
+bin/kantiword
share/doc/antiword/COPYING
-share/doc/antiword/Changes
+share/doc/antiword/ChangeLog
+share/doc/antiword/FAQ
share/doc/antiword/History
+share/doc/antiword/Netscape
share/doc/antiword/QandA
share/doc/antiword/ReadMe
@dirrm share/doc/antiword