aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bpytop/Makefile
blob: 5629af4f9744cb87ce29baa2005ebcd0236c3b38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PORTNAME=	bpytop
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.68
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Linux/OSX/FreeBSD resource monitor
WWW=		https://github.com/aristocratos/bpytop

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}

USES=		python shebangfix

USE_GITHUB=	yes
GH_ACCOUNT=	aristocratos

SHEBANG_FILES=	bpytop.py

NO_ARCH=	yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/bpytop.py ${STAGEDIR}${PREFIX}/bin/bpytop
	${MKDIR} ${STAGEDIR}${DATADIR}
	(cd ${WRKSRC} && ${COPYTREE_SHARE} themes ${STAGEDIR}${DATADIR})

.include <bsd.port.mk>