freebsd-ports/sysutils/gotop/Makefile
Yuri Victorovich 5a3697bde1 sysutils/gotop: Update 2.0.2 -> 3.0.0
Reported by:	portscout
2019-02-23 07:37:15 +00:00

33 lines
948 B
Makefile

# $FreeBSD$
PORTNAME= gotop
DISTVERSION= 3.0.0
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 \
docopt:docopt.go:ee0de3b:docopt/src/github.com/docopt/docopt-go \
shirou:gopsutil:v2.19.01: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>