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
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= antiword
|
||||
PORTVERSION= 0.35
|
||||
PORTVERSION= 0.36
|
||||
CATEGORIES= textproc
|
||||
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
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
|
||||
-e 's,/usr/share,${PREFIX}/share,g' \
|
||||
${WRKSRC}/Makefile.* ${WRKSRC}/*.[ch]
|
||||
@${REINPLACE_CMD} -e 's,gcc,${CC},g' \
|
||||
-e 's,-O2,${CFLAGS},g' \
|
||||
${WRKSRC}/${MAKEFILE} ${WRKSRC}/Makefile.*
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \
|
||||
-e 's,/usr/local,${PREFIX},g' \
|
||||
-e 's,/usr/share,${PREFIX}/share,g'
|
||||
@${REINPLACE_CMD} -e 's,gcc,${CC},g' ${WRKSRC}/${MAKEFILE}
|
||||
|
||||
post-install:
|
||||
@${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (antiword-0.35.tar.gz) = f372214081853c8336e96cb9bede26af
|
||||
SIZE (antiword-0.35.tar.gz) = 272247
|
||||
MD5 (antiword-0.36.tar.gz) = 7939f3afb48533e9b8d77aaae0a2779d
|
||||
SIZE (antiword-0.36.tar.gz) = 292666
|
||||
|
|
12
textproc/antiword/files/patch-main_u.c
Normal file
12
textproc/antiword/files/patch-main_u.c
Normal 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"
|
|
@ -14,6 +14,7 @@ bin/kantiword
|
|||
%%DATADIR%%/8859-7.txt
|
||||
%%DATADIR%%/8859-8.txt
|
||||
%%DATADIR%%/8859-9.txt
|
||||
%%DATADIR%%/MacCyrillic.txt
|
||||
%%DATADIR%%/MacRoman.txt
|
||||
%%DATADIR%%/UTF-8.txt
|
||||
%%DATADIR%%/cp1250.txt
|
||||
|
@ -23,6 +24,7 @@ bin/kantiword
|
|||
%%DATADIR%%/cp850.txt
|
||||
%%DATADIR%%/cp852.txt
|
||||
%%DATADIR%%/cp862.txt
|
||||
%%DATADIR%%/cp864.txt
|
||||
%%DATADIR%%/cp866.txt
|
||||
%%DATADIR%%/fontnames
|
||||
%%DATADIR%%/koi8-r.txt
|
||||
|
|
Loading…
Reference in a new issue