blob: 4778685c823ba6dbe4489a090d0d71edf0e467e4 (
plain)
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
|
PORTNAME= bpytop
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.62
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 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>
|