antiword stable port information

Package: antiword
Version: 0.37
Revision: 1
License: GPL
Homepage: http://www.winfield.demon.nl
Description: Display or convert MS-Word files
DescDetail: <<
Antiword is a free MS Word reader which is able to convert Word 2, 6,
7, 97, 2000 and 2002 to plain text, PostScript and PDF.

Antiword is a work in progress and many features are still being
developed. However, Antiword is usable on all but the most complex
Word documents.

Currently Antiword is able to convert Word documents to plain text, to
PostScript, to PDF and to XML/DocBook. Please remember: the conversion
to XML/DocBook is still experimental, the support for the Cyrillic
alphabet is still experimental.

There are some Mac OS X GUI's for Antiword, notably a service menu
(still at 0.35). Visit the homepage to see the links.
<<
DescUsage: <<
Usage Example:

Text output: antiword wordfile.doc > wordfile.txt
PDF output: antiword -m MacRoman -a a4 wordfile.doc > wordfile.pdf
PS output: antiword -m MacRoman -p a4 wordfile.doc > wordfile.ps

UTF-8 is not fully supported, try adding -m roman or -m MacRoman or
some other filename from %p/share/antiword/ (without .txt suffix).
<<
Source: http://www.winfield.demon.nl/linux/%n-%v.tar.gz
Source-MD5: f868e2a269edcbc06bf77e89a55898d1
SourceDirectory: %n-%v
PatchScript: pwd;sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
CompileScript: make -f Makefile.Linux OPT="-O3 -D__macosx_fink -prebind" LDFLAGS=-prebind
InstallScript: make -f Makefile.Linux global_install GLOBAL_INSTALL_DIR="%p/bin" GLOBAL_RESOURCES_DIR="%p/share/%n" DESTDIR=%d
DocFiles: <<
Docs/antiword.php Docs/ChangeLog Docs/COPYING Docs/Emacs Docs/Exmh
Docs/FAQ Docs/History Docs/Mozilla Docs/Mutt Docs/Netscape Docs/QandA
Docs/ReadMe Docs/testdoc.doc
<<
ConfFiles: %p/share/%n/fontnames
Maintainer: H. Todd Fujinaka

antiword stable port .patch

diff -ru2N --exclude=.DS_Store ./Docs/antiword.1 ./Docs/antiword.1
--- ./Docs/antiword.1 Wed Oct 13 14:13:43 2004
+++ ./Docs/antiword.1 Wed Nov 24 14:11:41 2004
@@ -88,5 +88,5 @@
(2) The directory specified by $HOME/.antiword
.br
-(3) Directory /usr/share/antiword
+(3) Directory @PREFIX@/share/antiword
.TP
The fontnames file
diff -ru2N --exclude=.DS_Store ./Makefile.Linux ./Makefile.Linux
--- ./Makefile.Linux Thu Oct 21 14:13:03 2004
+++ ./Makefile.Linux Wed Nov 24 14:00:56 2004
@@ -59,4 +59,6 @@
$(INSTALL_DATA) Resources/fontnames $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
cd $(DESTDIR)$(GLOBAL_RESOURCES_DIR); chmod 644 *.txt fontnames
+ mkdir -p $(DESTDIR)@PREFIX@/share/man/man1
+ cp -f Docs/*.1 $(DESTDIR)@PREFIX@/share/man/man1

# NOTE: you might have to be root to do this
diff -ru2N --exclude=.DS_Store ./antiword.h ./antiword.h
--- ./antiword.h Thu Sep 30 14:55:56 2004
+++ ./antiword.h Wed Nov 24 13:58:38 2004
@@ -217,4 +217,8 @@
#define ANTIWORD_DIR "lib/antiword"
#define FONTNAMES_FILE "fontnames"
+#elif defined(__macosx_fink)
+#define GLOBAL_ANTIWORD_DIR "@PREFIX@/share/antiword"
+#define ANTIWORD_DIR "antiword"
+#define FONTNAMES_FILE "fontnames"
#else /* All others */
#define GLOBAL_ANTIWORD_DIR "/usr/share/antiword"

antiword _unstable_ port information

Package: antiword
Version: 0.37
Revision: 1
License: GPL
Homepage: http://www.winfield.demon.nl
Description: Display or convert MS-Word files
DescDetail: <<
Antiword is a free MS Word reader which is able to convert Word 2, 6,
7, 97, 2000 and 2002 to plain text, PostScript and PDF.

Antiword is a work in progress and many features are still being
developed. However, Antiword is usable on all but the most complex
Word documents.

Currently Antiword is able to convert Word documents to plain text, to
PostScript, to PDF and to XML/DocBook. Please remember: the conversion
to XML/DocBook is still experimental, the support for the Cyrillic
alphabet is still experimental.

There are some Mac OS X GUI's for Antiword, notably a service menu
(still at 0.35). Visit the homepage to see the links.
<<
DescUsage: <<
Usage Example:

Text output: antiword wordfile.doc > wordfile.txt
PDF output: antiword -m MacRoman -a a4 wordfile.doc > wordfile.pdf
PS output: antiword -m MacRoman -p a4 wordfile.doc > wordfile.ps

UTF-8 is not fully supported, try adding -m roman or -m MacRoman or
some other filename from %p/share/antiword/ (without .txt suffix).
<<
Source: http://www.winfield.demon.nl/linux/%n-%v.tar.gz
Source-MD5: f868e2a269edcbc06bf77e89a55898d1
SourceDirectory: %n-%v
PatchScript: pwd;sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
CompileScript: make -f Makefile.Linux OPT="-O3 -D__macosx_fink -prebind" LDFLAGS=-prebind
InstallScript: make -f Makefile.Linux global_install GLOBAL_INSTALL_DIR="%p/bin" GLOBAL_RESOURCES_DIR="%p/share/%n" DESTDIR=%d
DocFiles: <<
Docs/antiword.php Docs/ChangeLog Docs/COPYING Docs/Emacs Docs/Exmh
Docs/FAQ Docs/History Docs/Mozilla Docs/Mutt Docs/Netscape Docs/QandA
Docs/ReadMe Docs/testdoc.doc
<<
ConfFiles: %p/share/%n/fontnames
Maintainer: H. Todd Fujinaka

antiword _unstable_ port .patch

diff -ru2N --exclude=.DS_Store ./Docs/antiword.1 ./Docs/antiword.1
--- ./Docs/antiword.1 Wed Oct 13 14:13:43 2004
+++ ./Docs/antiword.1 Wed Nov 24 14:11:41 2004
@@ -88,5 +88,5 @@
(2) The directory specified by $HOME/.antiword
.br
-(3) Directory /usr/share/antiword
+(3) Directory @PREFIX@/share/antiword
.TP
The fontnames file
diff -ru2N --exclude=.DS_Store ./Makefile.Linux ./Makefile.Linux
--- ./Makefile.Linux Thu Oct 21 14:13:03 2004
+++ ./Makefile.Linux Wed Nov 24 14:00:56 2004
@@ -59,4 +59,6 @@
$(INSTALL_DATA) Resources/fontnames $(DESTDIR)$(GLOBAL_RESOURCES_DIR)
cd $(DESTDIR)$(GLOBAL_RESOURCES_DIR); chmod 644 *.txt fontnames
+ mkdir -p $(DESTDIR)@PREFIX@/share/man/man1
+ cp -f Docs/*.1 $(DESTDIR)@PREFIX@/share/man/man1

# NOTE: you might have to be root to do this
diff -ru2N --exclude=.DS_Store ./antiword.h ./antiword.h
--- ./antiword.h Thu Sep 30 14:55:56 2004
+++ ./antiword.h Wed Nov 24 13:58:38 2004
@@ -217,4 +217,8 @@
#define ANTIWORD_DIR "lib/antiword"
#define FONTNAMES_FILE "fontnames"
+#elif defined(__macosx_fink)
+#define GLOBAL_ANTIWORD_DIR "@PREFIX@/share/antiword"
+#define ANTIWORD_DIR "antiword"
+#define FONTNAMES_FILE "fontnames"
#else /* All others */
#define GLOBAL_ANTIWORD_DIR "/usr/share/antiword"