1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

New port: sysutils/gotop: Terminal based graphical activity monitor inspired by gtop and vtop

This commit is contained in:
Yuri Victorovich 2018-12-14 03:49:37 +00:00
parent 0525c7c9cb
commit 90ee067a43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487404
4 changed files with 51 additions and 0 deletions

View File

@ -448,6 +448,7 @@
SUBDIR += gomplate
SUBDIR += google-compute-engine-oslogin
SUBDIR += goss
SUBDIR += gotop
SUBDIR += gpart
SUBDIR += gpte
SUBDIR += graffer

34
sysutils/gotop/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= gotop
DISTVERSION= 1.7.0-4
DISTVERSIONSUFFIX= -gf608f63
CATEGORIES= sysutils
MAINTAINER= yuri@FreeBSD.org
COMMENT= Terminal based graphical activity monitor inspired by gtop and vtop
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}/LICENSE
BUILD_DEPENDS= go:lang/go
USE_GITHUB= nodefault # the main code is in GH_TUPLE
GH_ACCOUNT= cjbassi
GH_TUPLE= cjbassi:gotop:${DISTVERSIONFULL}:main/src/github.com/cjbassi/gotop \
cjbassi:termui:e8dd23f:termui/src/github.com/cjbassi/termui \
docopt:docopt.go:ee0de3b:docopt/src/github.com/docopt/docopt-go \
shirou:gopsutil:v2.18.11:gopsutil/src/github.com/shirou/gopsutil \
golang:sys:37707fd:sys/src/golang.org/x/sys
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
PLIST_FILES= bin/${PORTNAME}
do-build:
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME} && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go install ./...
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

11
sysutils/gotop/distinfo Normal file
View File

@ -0,0 +1,11 @@
TIMESTAMP = 1544758216
SHA256 (cjbassi-gotop-1.7.0-4-gf608f63_GH0.tar.gz) = 86742e4a89ce82c701e226ad8b0f16a7635abf340d9b270c364f74fcce8f7168
SIZE (cjbassi-gotop-1.7.0-4-gf608f63_GH0.tar.gz) = 387339
SHA256 (cjbassi-termui-e8dd23f_GH0.tar.gz) = 1a26a894587fd9f533d25ff60128c3234ee6a64eb643d21c7983314984ab38e6
SIZE (cjbassi-termui-e8dd23f_GH0.tar.gz) = 78782
SHA256 (docopt-docopt.go-ee0de3b_GH0.tar.gz) = 6eb951df9aa0503060e3912fd10f5f592b4453a5f1d5130995db02aa4697374d
SIZE (docopt-docopt.go-ee0de3b_GH0.tar.gz) = 30659
SHA256 (shirou-gopsutil-v2.18.11_GH0.tar.gz) = 328d044bd4a8898073760c484a0254f5dc1c4b08b5fca4abc63ffbfb383d13c9
SIZE (shirou-gopsutil-v2.18.11_GH0.tar.gz) = 116115
SHA256 (golang-sys-37707fd_GH0.tar.gz) = 9a86c90f564594b3f201540d19fb4fb828e1df8af61bb2fa9190a760cba039a7
SIZE (golang-sys-37707fd_GH0.tar.gz) = 795284

5
sysutils/gotop/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
gotop is a terminal-based graphical activity monitor inspired by gtop and vtop.
It shows CPU/Disk/Memory/Network usage and process lists.
WWW: https://github.com/cjbassi/gotop