SUMMARY="An interactive process viewer for Unix" DESCRIPTION="This is htop, an interactive process viewer for Unix systems. It \ is a text-mode application (for console or X terminals) and requires ncurses." HOMEPAGE="http://hisham.hm/htop/" COPYRIGHT="2004-2016 Hisham Muhammad" LICENSE="GNU GPL v2" SOURCE_URI="https://github.com/hishamhm/htop/archive/$portVersion.tar.gz" CHECKSUM_SHA256="636c1e8b703058e793e8d25423af4b74059290ef9e48fa261ba58555069517b5" REVISION="2" PATCHES="htop-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" htop$secondaryArchSuffix = $portVersion cmd:htop$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libncursesw$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libncursesw$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoreconf cmd:make cmd:gcc$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:pkg_config$secondaryArchSuffix cmd:python " BUILD() { autogen.sh sed -i 's/-lm//g' configure CFLAGS=-D_BSD_SOURCE LDFLAGS=-lbsd runConfigure ./configure make $jobArgs } INSTALL() { make install }