Files
haikuports/www-client/w3m/w3m-0.5.3.recipe
fbrosson 238db0e0c0 w3m: reorder sections, ARCHITECTURES += ?x86_64 ?arm ?ppc
Also fix DESCRIPTION formatting, switch SOURCE_URI to the short SourceForge redirector, use tabs for COPYRIGHT and use $portVersion instead of the hard-coded version.
2016-01-26 11:30:08 +01:00

62 lines
1.2 KiB
Bash

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/"
COPYRIGHT="1994-2011 Akinori ITO
2002-2011 Hironori SAKAMOTO
2002-2011 Fumitoshi UKAI"
LICENSE="W3M"
REVISION="2"
SOURCE_URI="http://downloads.sf.net/w3m/w3m-$portVersion.tar.gz"
CHECKSUM_SHA256="e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3"
PATCHES="w3m-$portVersion.patch"
ARCHITECTURES="x86_gcc2 x86 ?x86_64 ?arm ?ppc"
PROVIDES="
w3m = $portVersion
cmd:w3m = $portVersion
cmd:w3mman = $portVersion
"
REQUIRES="
haiku
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
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
}