Index: head/net/rclone/Makefile =================================================================== --- head/net/rclone/Makefile (revision 509615) +++ head/net/rclone/Makefile (revision 509616) @@ -1,27 +1,20 @@ # $FreeBSD$ PORTNAME= rclone DISTVERSIONPREFIX= v DISTVERSION= 1.48.0 CATEGORIES= net MAINTAINER= wg@FreeBSD.org 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