svn commit: r509616 - head/net/rclone

William Grzybowski wg at FreeBSD.org
Thu Aug 22 17:10:07 UTC 2019


Author: wg
Date: Thu Aug 22 17:10:06 2019
New Revision: 509616
URL: https://svnweb.freebsd.org/changeset/ports/509616

Log:
  net/rclone: USES go:modules and fix build with go1.13
  
  PR:		239879
  Submitted by:	Dmitri Goutnik

Modified:
  head/net/rclone/Makefile

Modified: head/net/rclone/Makefile
==============================================================================
--- head/net/rclone/Makefile	Thu Aug 22 17:09:31 2019	(r509615)
+++ head/net/rclone/Makefile	Thu Aug 22 17:10:06 2019	(r509616)
@@ -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>


More information about the svn-ports-all mailing list