aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2019-08-23 01:10:06 +0800
committerwg <wg@FreeBSD.org>2019-08-23 01:10:06 +0800
commitbeca73134e551f024a783cf6e5519e56a6962a16 (patch)
tree4d65b7da6c54886eef7cd6bd0450549fc473e8dd /net
parent52211441e0a664d36178a27b2692286dde9076ba (diff)
downloadfreebsd-ports-gnome-beca73134e551f024a783cf6e5519e56a6962a16.tar.gz
freebsd-ports-gnome-beca73134e551f024a783cf6e5519e56a6962a16.tar.zst
freebsd-ports-gnome-beca73134e551f024a783cf6e5519e56a6962a16.zip
net/rclone: USES go:modules and fix build with go1.13
PR: 239879 Submitted by: Dmitri Goutnik
Diffstat (limited to 'net')
-rw-r--r--net/rclone/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/net/rclone/Makefile b/net/rclone/Makefile
index 9e82fff2a1fd..cbe77499bad3 100644
--- a/net/rclone/Makefile
+++ b/net/rclone/Makefile
@@ -11,17 +11,10 @@ COMMENT= Sync files to and from various cloud services
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= go
+USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= ncw
-GH_SUBDIR= src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
PLIST_FILES= bin/rclone
-do-build:
- cd ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME} && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build .
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-
.include <bsd.port.mk>