aboutsummaryrefslogtreecommitdiff
path: root/textproc/antiword
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-11-04 00:38:28 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-11-04 00:38:28 +0000
commita9bf8ea1786abbb67c794747aaea88f45eaacde1 (patch)
tree72da4c83d42087b2a1c6d32b4bdcff69074e4e50 /textproc/antiword
parent2b56e8635b44201385eed75f67891307e550c2c5 (diff)
downloadports-a9bf8ea1786abbb67c794747aaea88f45eaacde1.tar.gz
ports-a9bf8ea1786abbb67c794747aaea88f45eaacde1.zip
Notes
Diffstat (limited to 'textproc/antiword')
-rw-r--r--textproc/antiword/Makefile12
-rw-r--r--textproc/antiword/distinfo4
-rw-r--r--textproc/antiword/files/patch-main_u.c12
-rw-r--r--textproc/antiword/pkg-plist2
4 files changed, 21 insertions, 9 deletions
diff --git a/textproc/antiword/Makefile b/textproc/antiword/Makefile
index f1ab5bdb4473..680d6ec12821 100644
--- a/textproc/antiword/Makefile
+++ b/textproc/antiword/Makefile
@@ -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
diff --git a/textproc/antiword/distinfo b/textproc/antiword/distinfo
index 63854469f110..3765566bb78c 100644
--- a/textproc/antiword/distinfo
+++ b/textproc/antiword/distinfo
@@ -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
diff --git a/textproc/antiword/files/patch-main_u.c b/textproc/antiword/files/patch-main_u.c
new file mode 100644
index 000000000000..f630c498bdf5
--- /dev/null
+++ b/textproc/antiword/files/patch-main_u.c
@@ -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"
diff --git a/textproc/antiword/pkg-plist b/textproc/antiword/pkg-plist
index b7b61ef3f086..4428ba39eccd 100644
--- a/textproc/antiword/pkg-plist
+++ b/textproc/antiword/pkg-plist
@@ -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