Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2019 14:43:45 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511973 - head/devel/gb
Message-ID:  <201909131443.x8DEhjR8026964@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Sep 13 14:43:45 2019
New Revision: 511973
URL: https://svnweb.freebsd.org/changeset/ports/511973

Log:
  devel/gb: Enumerate GO_TARGETs, remove custom do-install
  
  PR:		240414
  Submitted by:	Dmitri Goutnik <dg@syrec.org>

Modified:
  head/devel/gb/Makefile   (contents, props changed)

Modified: head/devel/gb/Makefile
==============================================================================
--- head/devel/gb/Makefile	Fri Sep 13 14:33:35 2019	(r511972)
+++ head/devel/gb/Makefile	Fri Sep 13 14:43:45 2019	(r511973)
@@ -13,7 +13,7 @@ LICENSE=	MIT
 USES=		go
 USE_GITHUB=	yes
 GH_ACCOUNT=	constabulary
-GH_TUPLE=	pkg:errors:645ef00:errors/../src/github.com/pkg/errors
+GH_TUPLE=	pkg:errors:645ef00:errors/vendor/github.com/pkg/errors
 
 PLIST_FILES=	bin/gb bin/gb-vendor
 
@@ -22,10 +22,10 @@ PORTDOCS=	README.md
 OPTIONS_DEFINE=	DOCS
 
 GO_PKGNAME=	github.com/${GH_ACCOUNT}/${GH_PROJECT}
-GO_TARGET=	./...
+GO_TARGET=	./cmd/gb \
+		./cmd/gb-vendor
 
-do-install:
-	${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/* ${STAGEDIR}/${LOCALBASE}/bin
+post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	( cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ ; )
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909131443.x8DEhjR8026964>