Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 18:08:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502130 - head/devel/protobuf
Message-ID:  <201905201808.x4KI8Zt8072424@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon May 20 18:08:34 2019
New Revision: 502130
URL: https://svnweb.freebsd.org/changeset/ports/502130

Log:
  Submitted by:	adamw

Modified:
  head/devel/protobuf/Makefile
  head/devel/protobuf/distinfo

Modified: head/devel/protobuf/Makefile
==============================================================================
--- head/devel/protobuf/Makefile	Mon May 20 18:05:06 2019	(r502129)
+++ head/devel/protobuf/Makefile	Mon May 20 18:08:34 2019	(r502130)
@@ -3,9 +3,10 @@
 
 PORTNAME=	protobuf
 PORTVERSION=	3.7.1
-DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	devel
+MASTER_SITES=	https://github.com/protocolbuffers/protobuf/releases/download/v${PORTVERSION}/
+DISTNAME=	${PORTNAME}-all-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Data interchange format library
@@ -18,7 +19,7 @@ BROKEN_sparc64=	fails to compile: no atomic ops availa
 TEST_DEPENDS=	googlemock>=0:devel/googlemock \
 		googletest>=0:devel/googletest
 
-USES=		autoreconf compiler:c++11-lang gmake libtool localbase pathfix pkgconfig
+USES=		compiler:c++11-lang gmake libtool localbase pathfix pkgconfig
 
 CFLAGS+=	-D_THREAD_SAFE -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src
 CONFIGURE_ENV=	CC_FOR_BUILD="${CC}" \
@@ -33,12 +34,10 @@ TEST_ARGS=	${MAKE_ARGS} ${_MAKE_JOBS}
 TEST_TARGET=	check
 USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-GH_ACCOUNT=	protocolbuffers
-USE_GITHUB=	yes
-
 post-patch:
-	@${REINPLACE_CMD} -e 's|^check-local:|disabled-&|' ${WRKSRC}/Makefile.am
-	@${REINPLACE_CMD} -Ee '/gtest|mock/ s|[^ ]*lib(.*)\.la|-l\1|' ${WRKSRC}/src/Makefile.am
+	@${REINPLACE_CMD} -e 's|^check-local:|disabled-&|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -Ee '/gtest|mock/ s|[^ ]*lib(.*)\.la|-l\1|' ${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>

Modified: head/devel/protobuf/distinfo
==============================================================================
--- head/devel/protobuf/distinfo	Mon May 20 18:05:06 2019	(r502129)
+++ head/devel/protobuf/distinfo	Mon May 20 18:08:34 2019	(r502130)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1553693726
-SHA256 (protocolbuffers-protobuf-v3.7.1_GH0.tar.gz) = f1748989842b46fa208b2a6e4e2785133cfcc3e4d43c17fecb023733f0f5443f
-SIZE (protocolbuffers-protobuf-v3.7.1_GH0.tar.gz) = 4795774
+TIMESTAMP = 1558270022
+SHA256 (protobuf-all-3.7.1.tar.gz) = c10ef8d8ad5a9e5f850483051b7f9ee2c8bb3ca2e0e16a4cf105bd1321afb2d6
+SIZE (protobuf-all-3.7.1.tar.gz) = 7018070



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