svn commit: r501915 - head/sysutils/gotop
Yuri Victorovich
yuri at FreeBSD.org
Sat May 18 06:37:13 UTC 2019
Author: yuri
Date: Sat May 18 06:37:12 2019
New Revision: 501915
URL: https://svnweb.freebsd.org/changeset/ports/501915
Log:
sysutils/gotop: Unbreak by switching to USES=go
Modified:
head/sysutils/gotop/Makefile
Modified: head/sysutils/gotop/Makefile
==============================================================================
--- head/sysutils/gotop/Makefile Sat May 18 06:06:49 2019 (r501914)
+++ head/sysutils/gotop/Makefile Sat May 18 06:37:12 2019 (r501915)
@@ -8,27 +8,19 @@ MAINTAINER= yuri at 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 <bsd.port.mk>
More information about the svn-ports-all
mailing list