blob: 47b27949128673e8a599ab0f48a49a1f20fe9d6a (
plain) (
tree)
|
|
# $FreeBSD$
PORTNAME= bpytop
PORTVERSION= 1.0.50
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>
|