Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 06:37:03 +0800 (CST)
From:      Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/23590: update port: textproc/antiword to 0.31
Message-ID:  <200012162237.eBGMb3c49962@www.caece.net>
Resent-Message-ID: <200012162240.eBGMe1315836@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         23590
>Category:       ports
>Synopsis:       update port: textproc/antiword to 0.31
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 16 14:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

4.x-STABLE

>Description:

update port antiword to version 0.31 (latest).

>How-To-Repeat:

	

>Fix:

diff -ruN /usr/ports/textproc/antiword/Makefile antiword/Makefile
--- /usr/ports/textproc/antiword/Makefile	Wed Jun 21 00:05:37 2000
+++ antiword/Makefile	Sun Dec 17 06:10:33 2000
@@ -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 @@
 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 -ruN /usr/ports/textproc/antiword/distinfo antiword/distinfo
--- /usr/ports/textproc/antiword/distinfo	Tue Jun 20 17:57:52 2000
+++ antiword/distinfo	Sun Dec 17 05:38:09 2000
@@ -1 +1 @@
-MD5 (antiword-0.30.tar.gz) = 888cc02e6ea75f530a7e4bb5b866a07a
+MD5 (antiword-0.31.tar.gz) = bacc1727e44453f8ae38f2cdb7b7c54d
diff -ruN /usr/ports/textproc/antiword/files/patch-aa antiword/files/patch-aa
--- /usr/ports/textproc/antiword/files/patch-aa	Fri Jun  9 17:16:09 2000
+++ antiword/files/patch-aa	Sun Dec 17 06:07:33 2000
@@ -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 */
+ 
++#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 $@
  
--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)
+ .c.o:
diff -ruN /usr/ports/textproc/antiword/pkg-plist antiword/pkg-plist
--- /usr/ports/textproc/antiword/pkg-plist	Fri Jun  9 17:16:09 2000
+++ antiword/pkg-plist	Sun Dec 17 06:15:35 2000
@@ -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


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012162237.eBGMb3c49962>