Files
haikuports/www-client/w3m/w3m-0.5.3.recipe
2014-04-21 19:31:51 +02:00

66 lines
1.3 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"
CHECKSUM_SHA256="e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3"
REVISION="2"
ARCHITECTURES="x86 x86_gcc2"
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
}