0
0
Fork 0
haikuports/app-text/antiword/antiword-0.37.recipe

55 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"
COPYRIGHT="1998-2005 A.J. van Os"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.winfield.demon.nl/linux/antiword-0.37.tar.gz"
CHECKSUM_SHA256="8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac"
PATCHES="
antiword-0.37.patch
"
ARCHITECTURES="all ?x86"
USER_SETTINGS_FILES="
settings/antiword_settings
"
PROVIDES="
antiword = $portVersion
cmd:antiword = $portVersion
cmd:kantiword =$portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
"
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
}