1SUMMARY="Converts MS Word files to text and ps"
2DESCRIPTION="
3Antiword is a free software reader for proprietary Microsoft Word documents, \
4and is available for most computer platforms. Antiword can convert the \
5documents from Microsoft Word version 2, 6, 7, 97, 2000, 2002 and 2003 to \
6plain text, PostScript, PDF, and XML/DocBook (experimental).
7"
8HOMEPAGE="http://www.winfield.demon.nl/#Programmer"
9COPYRIGHT="1998-2005 A.J. van Os"
10LICENSE="GNU GPL v2"
11REVISION="1"
12SOURCE_URI="http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz"
13CHECKSUM_SHA256="8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac"
14PATCHES="
15	antiword-0.37.patch
16	"
17
18ARCHITECTURES="all ?x86"
19
20USER_SETTINGS_FILES="
21	settings/antiword_settings
22	"
23
24PROVIDES="
25	antiword = $portVersion
26	cmd:antiword = $portVersion
27	cmd:kantiword =$portVersion
28	"
29REQUIRES="
30	haiku
31	"
32
33BUILD_REQUIRES="
34	haiku_devel
35	"
36BUILD_PREREQUIRES="
37	cmd:gcc
38	cmd:make
39	"
40
41BUILD()
42{
43
44	make --makefile Makefile.haiku BINDIR=$binDir \
45		ANTIWORD_SETTINGS=$settingsDir/antiword \
46		ANTIWORD_DATA=$dataDir/antiword
47}
48
49INSTALL()
50{
51	make --makefile Makefile.haiku global_install BINDIR=$binDir \
52		ANTIWORD_SETTINGS=$settingsDir/antiword \
53		ANTIWORD_DATA=$dataDir/antiword
54}
55