mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
82 lines
1.9 KiB
Bash
82 lines
1.9 KiB
Bash
SUMMARY="A multi-platform web browser"
|
||
DESCRIPTION="Small as a mouse, fast as a cheetah and available for free. NetSurf is a \
|
||
multi-platform web browser for RISC OS, UNIX-like platforms (including Linux), \
|
||
Mac OS X, and more.\
|
||
\
|
||
Whether you want to check your webmail, read the news or post to discussion \
|
||
forums, NetSurf is your lightweight gateway to the world wide web. Actively \
|
||
developed, NetSurf is continually evolving and improving."
|
||
HOMEPAGE="http://www.netsurf-browser.org/"
|
||
COPYRIGHT="2003-2014 The NetSurf Browser project"
|
||
LICENSE="GNU GPL v2"
|
||
REVISION="1"
|
||
# Do NOT use the netsurf-all package. It contains a bunch of subprojects which
|
||
# we build as separate packages so they can easily be used by other projects.
|
||
SOURCE_URI="http://download.netsurf-browser.org/netsurf/releases/source/netsurf-$portVersion-src.tar.gz"
|
||
CHECKSUM_SHA256="23f92a0940f577b9605f2e54786fea3521680d32d6c00f2a3db1eae3f29e3686"
|
||
PATCHES="netsurf-$portVersion.patchset"
|
||
|
||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||
REQUIRES="
|
||
haiku
|
||
lib:libcurl
|
||
lib:libexpat
|
||
lib:libiconv
|
||
lib:libpng
|
||
lib:libjpeg
|
||
lib:libssl
|
||
lib:libz
|
||
lib:libhubbub
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku_devel
|
||
devel:libcurl
|
||
devel:libexpat
|
||
devel:libiconv
|
||
devel:libjpeg
|
||
devel:libpng
|
||
devel:libssl
|
||
devel:libz
|
||
|
||
devel:libcss
|
||
devel:libdom
|
||
devel:libhubbub
|
||
devel:libnsbmp
|
||
devel:libnsgif
|
||
devel:libnsutils
|
||
devel:libparserutils
|
||
devel:libsvgtiny
|
||
devel:libutf8proc
|
||
devel:libwapcaplet
|
||
"
|
||
|
||
BUILD_PREREQUIRES="
|
||
html_parser >= 3.70
|
||
cmd:bison
|
||
cmd:flex
|
||
cmd:gcc
|
||
cmd:git
|
||
cmd:gperf
|
||
cmd:make
|
||
cmd:pkg_config
|
||
"
|
||
|
||
PROVIDES="
|
||
netsurf = $portVersion
|
||
app:NetSurf = $portVersion
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir/ BUILD=release \
|
||
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
make TARGET=beos PREFIX=$prefix/ DESTDIR=$appsDir/ \
|
||
NETSURF_BEOS_BIN=netsurf/ NETSURF_BEOS_RESOURCES=netsurf/res/ install
|
||
addAppDeskbarSymlink $appsDir/netsurf/NetSurf NetSurf
|
||
}
|