- update to antiword-0.36

Noticed by:	antiword@winfield.demon.nl
This commit is contained in:
Yen-Ming Lee 2004-11-04 00:38:28 +00:00
parent 2b56e8635b
commit a9bf8ea178
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120735
4 changed files with 21 additions and 9 deletions

View file

@ -6,7 +6,7 @@
# #
PORTNAME= antiword PORTNAME= antiword
PORTVERSION= 0.35 PORTVERSION= 0.36
CATEGORIES= textproc CATEGORIES= textproc
MASTER_SITES= http://www.winfield.demon.nl/linux/ MASTER_SITES= http://www.winfield.demon.nl/linux/
@ -21,12 +21,10 @@ PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \
QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc
post-patch: post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
-e 's,/usr/share,${PREFIX}/share,g' \ -e 's,/usr/local,${PREFIX},g' \
${WRKSRC}/Makefile.* ${WRKSRC}/*.[ch] -e 's,/usr/share,${PREFIX}/share,g'
@${REINPLACE_CMD} -e 's,gcc,${CC},g' \ @${REINPLACE_CMD} -e 's,gcc,${CC},g' ${WRKSRC}/${MAKEFILE}
-e 's,-O2,${CFLAGS},g' \
${WRKSRC}/${MAKEFILE} ${WRKSRC}/Makefile.*
post-install: post-install:
@${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1

View file

@ -1,2 +1,2 @@
MD5 (antiword-0.35.tar.gz) = f372214081853c8336e96cb9bede26af MD5 (antiword-0.36.tar.gz) = 7939f3afb48533e9b8d77aaae0a2779d
SIZE (antiword-0.35.tar.gz) = 272247 SIZE (antiword-0.36.tar.gz) = 292666

View file

@ -0,0 +1,12 @@
--- main_u.c.orig Thu Nov 4 08:31:50 2004
+++ main_u.c Thu Nov 4 08:32:08 2004
@@ -29,9 +29,7 @@
#include <fcntl.h>
#include <io.h>
#endif /* __dos */
-#if defined(__STDC_ISO_10646__)
#include <locale.h>
-#endif /* __STDC_ISO_10646__ */
#if defined(N_PLAT_NLM)
#if !defined(_VA_LIST)
#include "NW-only/nw_os.h"

View file

@ -14,6 +14,7 @@ bin/kantiword
%%DATADIR%%/8859-7.txt %%DATADIR%%/8859-7.txt
%%DATADIR%%/8859-8.txt %%DATADIR%%/8859-8.txt
%%DATADIR%%/8859-9.txt %%DATADIR%%/8859-9.txt
%%DATADIR%%/MacCyrillic.txt
%%DATADIR%%/MacRoman.txt %%DATADIR%%/MacRoman.txt
%%DATADIR%%/UTF-8.txt %%DATADIR%%/UTF-8.txt
%%DATADIR%%/cp1250.txt %%DATADIR%%/cp1250.txt
@ -23,6 +24,7 @@ bin/kantiword
%%DATADIR%%/cp850.txt %%DATADIR%%/cp850.txt
%%DATADIR%%/cp852.txt %%DATADIR%%/cp852.txt
%%DATADIR%%/cp862.txt %%DATADIR%%/cp862.txt
%%DATADIR%%/cp864.txt
%%DATADIR%%/cp866.txt %%DATADIR%%/cp866.txt
%%DATADIR%%/fontnames %%DATADIR%%/fontnames
%%DATADIR%%/koi8-r.txt %%DATADIR%%/koi8-r.txt