From owner-svn-ports-head@freebsd.org Wed Aug 28 03:05:49 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C0077CECA5; Wed, 28 Aug 2019 03:05:49 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46J9bx4gPCz4dtg; Wed, 28 Aug 2019 03:05:49 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 81C82C11; Wed, 28 Aug 2019 03:05:49 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7S35ncR054255; Wed, 28 Aug 2019 03:05:49 GMT (envelope-from araujo@FreeBSD.org) Received: (from araujo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7S35nCH054254; Wed, 28 Aug 2019 03:05:49 GMT (envelope-from araujo@FreeBSD.org) Message-Id: <201908280305.x7S35nCH054254@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: araujo set sender to araujo@FreeBSD.org using -f From: Marcelo Araujo Date: Wed, 28 Aug 2019 03:05:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r510038 - head/sysutils/go-wtf X-SVN-Group: ports-head X-SVN-Commit-Author: araujo X-SVN-Commit-Paths: head/sysutils/go-wtf X-SVN-Commit-Revision: 510038 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2019 03:05:49 -0000 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 (via email) Reported by: Dmitri Goutnik (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