Update to 0.31

PR: 23590
Submitted by: MAINTAINER
This commit is contained in:
Kevin Lo 2000-12-18 15:25:42 +00:00
parent f16e7aef0f
commit d2cb583db4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36060
4 changed files with 31 additions and 39 deletions

View File

@ -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

View File

@ -1 +1 @@
MD5 (antiword-0.30.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a
MD5 (antiword-0.31.tar.gz) = bacc1727e44453f8ae38f2cdb7b7c54d

View File

@ -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)
#
--- 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 */
-CC = gcc
-LD = gcc
+CC ?= gcc
+LD = $(CC)
+#ifndef SIZE_T_MAX
#define SIZE_T_MAX (size_t)UINT_MAX
+#endif
# must be equal to DEBUG or NDEBUG
DB = NDEBUG
#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 @@
LDLIBS =
kantiword: Unix-only/KDE-only/kantiword.sh
@rm -f $@
- echo "#!/bin/sh" > $@
- cat $? >> $@
+ @cat $? >> $@
@chmod 750 $@
-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)
.c.o:

View File

@ -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