Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2018 16:27:26 +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: r478593 - head/devel/goprotobuf
Message-ID:  <201808311627.w7VGRQvt091952@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Aug 31 16:27:26 2018
New Revision: 478593
URL: https://svnweb.freebsd.org/changeset/ports/478593

Log:
  devel/goprotobuf: Update 20170527 -> 1.1.0
  
  PR:		230025
  Submitted by:	Dmitri Goutnik <dg@syrec.org>
  Approved by:	cs (maintainer's timeout; 37 days)

Deleted:
  head/devel/goprotobuf/pkg-plist
Modified:
  head/devel/goprotobuf/Makefile
  head/devel/goprotobuf/distinfo

Modified: head/devel/goprotobuf/Makefile
==============================================================================
--- head/devel/goprotobuf/Makefile	Fri Aug 31 16:14:56 2018	(r478592)
+++ head/devel/goprotobuf/Makefile	Fri Aug 31 16:27:26 2018	(r478593)
@@ -2,24 +2,32 @@
 # $FreeBSD$
 
 PORTNAME=	goprotobuf
-PORTVERSION=	20170527
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.1.0
+PORTEPOCH=	1
 CATEGORIES=	devel
 
 MAINTAINER=	cs@FreeBSD.org
 COMMENT=	Go support for Google's protocol buffers
 
 LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	go:lang/go
 RUN_DEPENDS=	protoc:devel/protobuf
 
-USES=		go
-GO_PKGNAME=	github.com/golang/protobuf
-GO_TARGET=	${GO_PKGNAME}/proto \
-		${GO_PKGNAME}/protoc-gen-go \
-		${GO_PKGNAME}/jsonpb
 USE_GITHUB=	yes
 GH_ACCOUNT=	golang
 GH_PROJECT=	protobuf
-GH_TAGNAME=	9f174c9
+GH_SUBDIR=	src/github.com/golang/protobuf
+GH_TUPLE=	google:go-genproto:02b4e95:genproto/src/google.golang.org/genproto
+
+PLIST_FILES=	bin/protoc-gen-go
+
+do-build:
+	@cd ${WRKSRC}/protoc-gen-go && ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/protoc-gen-go/protoc-gen-go ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/devel/goprotobuf/distinfo
==============================================================================
--- head/devel/goprotobuf/distinfo	Fri Aug 31 16:14:56 2018	(r478592)
+++ head/devel/goprotobuf/distinfo	Fri Aug 31 16:27:26 2018	(r478593)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1495867884
-SHA256 (golang-protobuf-20170527-9f174c9_GH0.tar.gz) = 150eb67cd2cf7d00e5cfc322c9d563843389716ab3713a61e8cc2c10289d50e2
-SIZE (golang-protobuf-20170527-9f174c9_GH0.tar.gz) = 252154
+TIMESTAMP = 1532443980
+SHA256 (golang-protobuf-v1.1.0_GH0.tar.gz) = c086490e7b116b73b7e3e6058eae997576d0523ad8f1b2ec2b698887e62b14a8
+SIZE (golang-protobuf-v1.1.0_GH0.tar.gz) = 324733
+SHA256 (google-go-genproto-02b4e95_GH0.tar.gz) = 71421ee0c9af39492dad0c63736e0e3771ecd41066034f77472bd922208fcdfd
+SIZE (google-go-genproto-02b4e95_GH0.tar.gz) = 2091400



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