Files
haikuports/app-text/antiword/antiword-0.37.recipe
2015-07-02 11:13:12 -04:00

58 lines
1.2 KiB
Bash

SUMMARY="Converts MS Word files to text and ps"
DESCRIPTION="
Antiword is a free software reader for proprietary Microsoft Word documents, \
and is available for most computer platforms. Antiword can convert the \
documents from Microsoft Word version 2, 6, 7, 97, 2000, 2002 and 2003 to \
plain text, PostScript, PDF, and XML/DocBook (experimental).
"
HOMEPAGE="http://www.winfield.demon.nl/#Programmer"
SOURCE_URI="http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz"
CHECKSUM_SHA256="8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="1998-2005 A.J. van Os"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
antiword = $portVersion
cmd:antiword = $portVersion
cmd:kantiword =$portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
PATCHES="
antiword-0.37.patch
"
USER_SETTINGS_FILES="
settings/antiword_settings
"
BUILD()
{
make --makefile Makefile.haiku BINDIR=$binDir \
ANTIWORD_SETTINGS=$settingsDir/antiword \
ANTIWORD_DATA=$dataDir/antiword
}
INSTALL()
{
make --makefile Makefile.haiku global_install BINDIR=$binDir \
ANTIWORD_SETTINGS=$settingsDir/antiword \
ANTIWORD_DATA=$dataDir/antiword
}