aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bpytop/Makefile
blob: 459a16e4fd90bccd17e7e7af00d29342a111ca7c (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
# $FreeBSD$

PORTNAME=	bpytop
PORTVERSION=	1.0.32
DISTVERSIONPREFIX=	v
CATEGORIES=	sysutils

MAINTAINER=	lwhsu@FreeBSD.org
COMMENT=	Linux/OSX/FreeBSD resource monitor

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/LICENSE

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

USES=	python:3.5+,run shebangfix

USE_GITHUB=	yes
GH_ACCOUNT=	aristocratos

SHEBANG_FILES=	${WRKSRC}/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>