mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2016/07/22 05:45:05 wiz Exp $
|
|
|
|
DISTNAME= htop-2.0.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://hisham.hm/htop/releases/${PKGVERSION_NOREV}/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://hisham.hm/htop/
|
|
COMMENT= Enhanced version of top utility
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= automake aclocal autoheader autoconf
|
|
GNU_CONFIGURE= yes
|
|
USE_NCURSES= yes # uses ncurses mouse definitions
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
#ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-*
|
|
|
|
pre-configure:
|
|
set -e; cd ${WRKSRC}; \
|
|
aclocal; \
|
|
autoconf; \
|
|
automake
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS" && exists(/system/lxproc)
|
|
ONLY_FOR_PLATFORM+= SunOS-*-*
|
|
CONFIGURE_ARGS+= --with-proc=/system/lxproc
|
|
.endif
|
|
|
|
REPLACE_PYTHON+= scripts/MakeHeader.py
|
|
CONFIGURE_ENV+= ac_cv_file__proc_stat=yes ac_cv_file__proc_meminfo=yes
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../devel/ncursesw/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|