Index: head/sysutils/gotop/Makefile =================================================================== --- head/sysutils/gotop/Makefile (revision 501914) +++ head/sysutils/gotop/Makefile (revision 501915) @@ -1,34 +1,26 @@ # $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 +LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= fails to extract - BUILD_DEPENDS= go:lang/go -USE_GITHUB= nodefault # the main code is in GH_TUPLE +USES= go +USE_GITHUB= yes 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 \ +GH_TUPLE= 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} +GO_PKGNAME= github.com/${GH_ACCOUNT}/${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 +PLIST_FILES= bin/${PORTNAME} .include