aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2019-08-27 02:58:59 +0800
committerjrm <jrm@FreeBSD.org>2019-08-27 02:58:59 +0800
commit631ad5fc365985c7f24cb82314e0b66b5e2a0442 (patch)
tree3cee732629e142669ec583a635bede07a2326b98 /sysutils
parent29964f9a64ce21dd1845ff0c4837dd79a9a0f73b (diff)
downloadfreebsd-ports-gnome-631ad5fc365985c7f24cb82314e0b66b5e2a0442.tar.gz
freebsd-ports-gnome-631ad5fc365985c7f24cb82314e0b66b5e2a0442.tar.zst
freebsd-ports-gnome-631ad5fc365985c7f24cb82314e0b66b5e2a0442.zip
sysutils/doctl: Update to v1.28.0 and use Go Modules [1]
[1] - Upstream switched from dependencies to modules in 034d856 (2019-06-20) - No need to set GO_PKGNAME as it is redundant with modules - Switching to modules fixes the build with upcoming go1.13 PR: 240073 Submitted by: dg@syrec.org [1] Sponsored by: DigitalOcean [2] [2] DigitalOcean provided VM credit to test doctl
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/doctl/Makefile7
-rw-r--r--sysutils/doctl/distinfo6
2 files changed, 6 insertions, 7 deletions
diff --git a/sysutils/doctl/Makefile b/sysutils/doctl/Makefile
index bd3a33dcb90e..9069a29d38fa 100644
--- a/sysutils/doctl/Makefile
+++ b/sysutils/doctl/Makefile
@@ -2,7 +2,7 @@
PORTNAME= doctl
DISTVERSIONPREFIX= v
-DISTVERSION= 1.27.0
+DISTVERSION= 1.28.0
CATEGORIES= sysutils
MAINTAINER= jrm@FreeBSD.org
@@ -11,12 +11,11 @@ COMMENT= Command line tool for DigitalOcean services
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-USES= go
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= digitalocean
-GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_TARGET= ${GO_PKGNAME}/cmd/${PORTNAME}
+GO_TARGET= ./cmd/${PORTNAME}
PLIST_FILES= bin/doctl
diff --git a/sysutils/doctl/distinfo b/sysutils/doctl/distinfo
index f4e95400df56..5034b7893267 100644
--- a/sysutils/doctl/distinfo
+++ b/sysutils/doctl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565356126
-SHA256 (digitalocean-doctl-v1.27.0_GH0.tar.gz) = a91e7d78da62bc965a9440cb087e5583d945ce10a3e59211992a304a16f26cad
-SIZE (digitalocean-doctl-v1.27.0_GH0.tar.gz) = 3149741
+TIMESTAMP = 1566826763
+SHA256 (digitalocean-doctl-v1.28.0_GH0.tar.gz) = eafb41457c4fb279762b1a81606130bd8f02f0390df77b032d11108666daff49
+SIZE (digitalocean-doctl-v1.28.0_GH0.tar.gz) = 3173494