Date: Sat, 17 Aug 2019 02:06:06 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509135 - head/finance/cointop Message-ID: <201908170206.x7H266oc015610@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Aug 17 02:06:06 2019 New Revision: 509135 URL: https://svnweb.freebsd.org/changeset/ports/509135 Log: finance/cointop: Switch to USES=go:modules, fix build with go1.13 PR: 239866 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: portmgr (unbreak with the upcoming go1.13) Modified: head/finance/cointop/Makefile Modified: head/finance/cointop/Makefile ============================================================================== --- head/finance/cointop/Makefile Sat Aug 17 02:02:13 2019 (r509134) +++ head/finance/cointop/Makefile Sat Aug 17 02:06:06 2019 (r509135) @@ -10,23 +10,13 @@ COMMENT= Light cryptocurrency coin stats LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.md -USES= go +USES= go:modules USE_GITHUB= yes GH_ACCOUNT= miguelmota -GH_PROJECT= cointop -PLIST_FILES= bin/cointop +GO_BUILDFLAGS= -ldflags="-X main.Version=${DISTVERSION}" -do-build: - @${MKDIR} ${WRKSRC}/github.com/${GH_ACCOUNT} - @${RLN} ${WRKSRC} ${WRKSRC}/github.com/${GH_ACCOUNT}/${PORTNAME} - @${RLN} ${WRKSRC} ${WRKSRC}/src - cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${GO_ENV} CGO_ENABLED=0 GOPATH=${WRKSRC} \ - ${GO_CMD} build -ldflags "-X main.Version=${DISTVERSION}" -o bin/${PORTNAME} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ +PLIST_FILES= bin/cointop .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908170206.x7H266oc015610>