Date: Wed, 28 Aug 2019 03:05:49 +0000 (UTC) From: Marcelo Araujo <araujo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r510038 - head/sysutils/go-wtf Message-ID: <201908280305.x7S35nCH054254@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: araujo Date: Wed Aug 28 03:05:49 2019 New Revision: 510038 URL: https://svnweb.freebsd.org/changeset/ports/510038 Log: - Simplify the port moving out unneeded post-extract, do-build and do-install. - Bump PORTREVISION for safety. Submitted by: Christopher Hall <hsw@bitmark.com> (via email) Reported by: Dmitri Goutnik <dg@syrec.org> (via email) Modified: head/sysutils/go-wtf/Makefile Modified: head/sysutils/go-wtf/Makefile ============================================================================== --- head/sysutils/go-wtf/Makefile Wed Aug 28 02:56:51 2019 (r510037) +++ head/sysutils/go-wtf/Makefile Wed Aug 28 03:05:49 2019 (r510038) @@ -3,6 +3,7 @@ PORTNAME= wtf PORTVERSION= 0.20.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils PKGNAMEPREFIX= go- @@ -94,17 +95,10 @@ GH_TUPLE= \ zmb3:spotify:158b1863f5b5:zmb3_spotify/vendor/github.com/zmb3/spotify \ zorkian:go-datadog-api:v2.21.0:zorkian_go_datadog_api/vendor/github.com/zorkian/go-datadog-api -# this is missing, so use the local copy +# this is missing, so use the local vendor copy # yfronto:newrelic:7c9c2852e8f9:yfronto_newrelic/vendor/github.com/yfronto/newrelic -post-extract: - ${LN} -s ${PKGNAME}/vendor/github.com/yfronto/newrelic ${WRKDIR}/newrelic-7c9c2852e8f9 -do-build: - @cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} go 'install' -ldflags "-X main.version=${DISTVERSION}" -v -buildmode=exe -mod=vendor . - -do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/go/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin +GO_BUILDFLAGS= -ldflags "-X main.version=${DISTVERSION}" PORTDOCS= README.md
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908280305.x7S35nCH054254>