Files
haikuports/www-client/w3m/w3m-0.5.3.recipe
2014-01-02 16:40:58 -05:00

66 lines
1.2 KiB
Plaintext

SUMMARY="Text based WWW browser, supports tables and frames"
DESCRIPTION="
w3m is a text-based web browser as well as a pager like 'more' or 'less'. With \
w3m you can browse web pages through a terminal emulator window (xterm, rxvt \
or something like that). Moreover, w3m can be used as a text formatting tool \
which typesets HTML into plain text.
"
HOMEPAGE="http://w3m.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/w3m/files/w3m/w3m-0.5.3/w3m-0.5.3.tar.gz"
REVISION="2"
ARCHITECTURES="x86 x86_gcc2"
CHECKSUM_MD5="1b845a983a50b8dec0169ac48479eacc"
LICENSE="W3M"
COPYRIGHT="1994-2011 Akinori ITO
2002-2011 Hironori SAKAMOTO
2002-2011 Fumitoshi UKAI"
PATCHES="w3m-0.5.3.patch"
PROVIDES="
w3m = $portVersion
cmd:w3m = $portVersion
cmd:w3mman = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libgc
lib:libssl
lib:libcrypto
lib:libncurses
lib:libintl
cmd:nano
"
BUILD_REQUIRES="
devel:libgc
devel:libncurses
devel:libssl
devel:libintl
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:libtoolize
cmd:autoconf
cmd:make
cmd:gcc
cmd:ld
"
BUILD()
{
libtoolize -fci
autoconf
runConfigure ./configure \
--with-editor=${portPackageLinksDir}/cmd~nano/bin/nano \
--with-browser=open
make
}
INSTALL()
{
make install
}