Date: Sat, 27 Oct 2001 08:54:55 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31522: update port: textproc/antiword v0.32 Message-ID: <20011027005455.CD2D9C3B03@utopia.leeym.com>
next in thread | raw e-mail | index | archive | help
>Number: 31522 >Category: ports >Synopsis: update port: textproc/antiword v0.32 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Oct 26 18:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 4.4-STABLE FreeBSD 4.4-STABLE #19: Wed Oct 24 18:15:32 CST 2001 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: update antiword to latest version (0.32) >How-To-Repeat: >Fix: diff -ruN --exclude CVS /usr/ports/textproc/antiword/Makefile antiword/Makefile --- /usr/ports/textproc/antiword/Makefile Mon Dec 18 23:25:40 2000 +++ antiword/Makefile Sat Oct 27 08:50:37 2001 @@ -6,25 +6,28 @@ # PORTNAME= antiword -PORTVERSION= 0.31 +PORTVERSION= 0.32 CATEGORIES= textproc MASTER_SITES= http://www.winfield.demon.nl/linux/ -MAINTAINER= leeym@cae.ce.ntu.edu.tw +MAINTAINER= leeym@leeym.com WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION} MAN1= antiword.1 +post-patch: + @${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/antiword.h + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/antiword ${PREFIX}/bin @${INSTALL_SCRIPT} ${WRKSRC}/kantiword ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 + @${MKDIR} ${PREFIX}/share/antiword + @${INSTALL_DATA} ${WRKSRC}/Resources/* ${PREFIX}/share/antiword .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/antiword -.for file in COPYING ChangeLog FAQ History Netscape QandA ReadMe - @${INSTALL_DATA} ${WRKSRC}/Docs/${file} ${PREFIX}/share/doc/antiword -.endfor + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/Docs/* ${DOCSDIR} .endif .include <bsd.port.mk> diff -ruN --exclude CVS /usr/ports/textproc/antiword/distinfo antiword/distinfo --- /usr/ports/textproc/antiword/distinfo Mon Dec 18 23:25:40 2000 +++ antiword/distinfo Sun Oct 21 23:13:03 2001 @@ -1 +1 @@ -MD5 (antiword-0.31.tar.gz) = bacc1727e44453f8ae38f2cdb7b7c54d +MD5 (antiword-0.32.tar.gz) = bbbef871b7e7bea4df2102c8f634f81e diff -ruN --exclude CVS /usr/ports/textproc/antiword/files/patch-Makefile.Linux antiword/files/patch-Makefile.Linux --- /usr/ports/textproc/antiword/files/patch-Makefile.Linux Thu Jan 1 08:00:00 1970 +++ antiword/files/patch-Makefile.Linux Sat Oct 27 08:37:28 2001 @@ -0,0 +1,11 @@ +--- Makefile.Linux.orig Sun Jul 22 03:58:03 2001 ++++ Makefile.Linux Sat Oct 27 08:15:24 2001 +@@ -27,7 +28,7 @@ + antiword\ + kantiword + +-INSTALL_DIR = $(HOME)/bin ++INSTALL_DIR = $(PREFIX)/bin + + all: $(PROGS) + diff -ruN --exclude CVS /usr/ports/textproc/antiword/files/patch-aa antiword/files/patch-aa --- /usr/ports/textproc/antiword/files/patch-aa Mon Dec 18 23:25:42 2000 +++ antiword/files/patch-aa Thu Jan 1 08:00:00 1970 @@ -1,24 +0,0 @@ ---- 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 -ruN --exclude CVS /usr/ports/textproc/antiword/files/patch-antiword.h antiword/files/patch-antiword.h --- /usr/ports/textproc/antiword/files/patch-antiword.h Thu Jan 1 08:00:00 1970 +++ antiword/files/patch-antiword.h Sat Oct 27 08:36:16 2001 @@ -0,0 +1,11 @@ +--- antiword.h.orig Sat Oct 27 08:35:52 2001 ++++ antiword.h Sat Oct 27 08:36:13 2001 +@@ -143,7 +143,7 @@ + #define ANTIWORD_DIR "antiword" + #define FONTNAMES_FILE "fontname.txt" + #else +-#define GLOBAL_ANTIWORD_DIR "/opt/antiword/share" ++#define GLOBAL_ANTIWORD_DIR "%%PREFIX%%/share/antiword" + #define ANTIWORD_DIR ".antiword" + #define FONTNAMES_FILE "fontnames" + #endif /* __dos */ diff -ruN --exclude CVS /usr/ports/textproc/antiword/pkg-plist antiword/pkg-plist --- /usr/ports/textproc/antiword/pkg-plist Mon Dec 18 23:25:40 2000 +++ antiword/pkg-plist Sat Oct 27 08:50:08 2001 @@ -1,10 +1,40 @@ bin/antiword bin/kantiword +share/antiword/8859-1.txt +share/antiword/8859-10.txt +share/antiword/8859-13.txt +share/antiword/8859-14.txt +share/antiword/8859-15.txt +share/antiword/8859-2.txt +share/antiword/8859-3.txt +share/antiword/8859-4.txt +share/antiword/8859-5.txt +share/antiword/8859-6.txt +share/antiword/8859-7.txt +share/antiword/8859-8.txt +share/antiword/8859-9.txt +share/antiword/Default +share/antiword/Example +share/antiword/MacRoman.txt +share/antiword/UTF-8.txt +share/antiword/Unicode +share/antiword/cp1250.txt +share/antiword/cp1251.txt +share/antiword/cp1252.txt +share/antiword/fontnames +share/antiword/fontnames.russian +share/antiword/koi8-r.txt +share/antiword/roman.txt share/doc/antiword/COPYING share/doc/antiword/ChangeLog +share/doc/antiword/Exmh share/doc/antiword/FAQ share/doc/antiword/History share/doc/antiword/Netscape +share/doc/antiword/Mutt share/doc/antiword/QandA share/doc/antiword/ReadMe +share/doc/antiword/antiword.1 +share/doc/antiword/antiword.man +@dirrm share/antiword @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?20011027005455.CD2D9C3B03>