mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
70 lines
1.8 KiB
Bash
70 lines
1.8 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"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
w3m$secondaryArchSuffix = $portVersion
|
|
cmd:w3m$commandSuffix = $portVersion
|
|
cmd:w3mman$commandSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgc$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
cmd:nano
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libgc$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:autoconf
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize -fci
|
|
autoconf
|
|
runConfigure --omit-dirs binDir ./configure --bindir="$commandBinDir" \
|
|
--with-editor=${portPackageLinksDir}/cmd~nano/bin/nano \
|
|
--with-browser=open
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|