Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 12:51:37 +0000 (UTC)
From:      Don Lewis <truckman@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383422 - head/devel/protobuf-c
Message-ID:  <201504061251.t36CpbmW013331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: truckman
Date: Mon Apr  6 12:51:36 2015
New Revision: 383422
URL: https://svnweb.freebsd.org/changeset/ports/383422

Log:
  Convert to USE_GITHUB. This requires USES=autoreconf, but eliminates
  the need for USES=pathfix as well as a patch.
  
  Differential Revision:	https://reviews.freebsd.org/D2234
  Approved by:	mat (mentor)
  Sponsored by:	Farsight Security, Inc.

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

Modified: head/devel/protobuf-c/Makefile
==============================================================================
--- head/devel/protobuf-c/Makefile	Mon Apr  6 12:42:39 2015	(r383421)
+++ head/devel/protobuf-c/Makefile	Mon Apr  6 12:51:36 2015	(r383422)
@@ -1,11 +1,10 @@
 # Created by: Aaron Hurt <ahurt@anbcs.com>
 # $FreeBSD$
 
-PORTNAME=	protobuf-c
-PORTVERSION=	1.1.0
-CATEGORIES=	devel
-MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${PORTVERSION}/ \
-		LOCAL/truckman/farsight
+PORTNAME=		protobuf-c
+PORTVERSION=		1.1.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=		devel
 
 MAINTAINER=	truckman@FreeBSD.org
 COMMENT=	Code generator and libraries to use Protocol Buffers from pure C
@@ -15,8 +14,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/devel/protobuf
 
-USES=		gmake libtool pathfix pkgconfig
+USES=		autoreconf gmake libtool pkgconfig
 GNU_CONFIGURE=	yes
+USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
@@ -34,9 +34,6 @@ DOXYGEN_ALL_TARGET=	html-local
 
 .include <bsd.port.options.mk>
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure
-
 .if ${PORT_OPTIONS:MDOXYGEN}
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html

Modified: head/devel/protobuf-c/distinfo
==============================================================================
--- head/devel/protobuf-c/distinfo	Mon Apr  6 12:42:39 2015	(r383421)
+++ head/devel/protobuf-c/distinfo	Mon Apr  6 12:51:36 2015	(r383422)
@@ -1,2 +1,2 @@
-SHA256 (protobuf-c-1.1.0.tar.gz) = 9a973fc04aac003f9cf2b5a90ac4b8fa294cacb4e3f0796d3b5a789a5ad46c07
-SIZE (protobuf-c-1.1.0.tar.gz) = 453852
+SHA256 (protobuf-c-v1.1.0_GH0.tar.gz) = 8ced3df85ce862f34dd1d8e773ac79ea1079842065ff39a6a65f51cc83aa2604
+SIZE (protobuf-c-v1.1.0_GH0.tar.gz) = 115866



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