Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 05:53:59 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499426 - head/devel/bingo
Message-ID:  <201904200553.x3K5rxPi029119@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sat Apr 20 05:53:59 2019
New Revision: 499426
URL: https://svnweb.freebsd.org/changeset/ports/499426

Log:
  devel/bingo: Switch to USES=go

Modified:
  head/devel/bingo/Makefile

Modified: head/devel/bingo/Makefile
==============================================================================
--- head/devel/bingo/Makefile	Sat Apr 20 05:53:39 2019	(r499425)
+++ head/devel/bingo/Makefile	Sat Apr 20 05:53:59 2019	(r499426)
@@ -13,8 +13,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 DEPRECATED=	Abandoned upstream
 EXPIRATION_DATE=	2019-10-15
 
-BUILD_DEPENDS=	go>=1.11,1:lang/go
-
+USES=		go:modules
+GO_PKGNAME=	github.com/saibing/bingo
 USE_GITHUB=	yes
 GH_ACCOUNT=	saibing
 GH_TAGNAME=	76bcd777316dde1684ff59793f695e4337c0e62a
@@ -39,12 +39,6 @@ GH_TUPLE=	davecgh:go-spew:v1.1.1:go_spew/vendor/github
 		stretchr:testify:v1.3.0:testify/vendor/github.com/stretchr/testify
 
 PLIST_FILES=	bin/bingo
-
-do-build:
-	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} go build -mod=vendor
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bingo ${STAGEDIR}${PREFIX}/bin
 
 # XXX: Check if useful for other ports and maybe put it in a USES=gomod
 gomod-deps: patch



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