Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Sep 2022 18:48:57 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e956cc2873e0 - main - devel/protobuf-c: Update to 1.4.1
Message-ID:  <202209111848.28BImv7V051739@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e956cc2873e089fc8047681408c40dff61cf48ce

commit e956cc2873e089fc8047681408c40dff61cf48ce
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-09-11 18:44:46 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-09-11 18:48:32 +0000

    devel/protobuf-c: Update to 1.4.1
    
    - Use upstream release archive as recommended by Porters Handbook
      USE_GITHUB section
    - Do some minor rework of port to improve readability and some
      minor cleanups
    
    PR:             265191
    Approved by:    truckman (maintainer timeout, 6+ weeks)
---
 devel/protobuf-c/Makefile  | 27 ++++++++++-----------------
 devel/protobuf-c/distinfo  |  6 +++---
 devel/protobuf-c/pkg-plist |  1 -
 3 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/devel/protobuf-c/Makefile b/devel/protobuf-c/Makefile
index c5a90723b07b..dce9f30d48de 100644
--- a/devel/protobuf-c/Makefile
+++ b/devel/protobuf-c/Makefile
@@ -1,8 +1,7 @@
-PORTNAME=		protobuf-c
-PORTVERSION=		1.4.0
-DISTVERSIONPREFIX=	v
-PORTREVISION=	3
-CATEGORIES=		devel
+PORTNAME=	protobuf-c
+DISTVERSION=	1.4.1
+CATEGORIES=	devel
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	truckman@FreeBSD.org
 COMMENT=	Code generator and libraries to use Protocol Buffers from pure C
@@ -13,22 +12,19 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libprotobuf.so:devel/protobuf
 
-USES=		autoreconf compiler:c++11-lang gmake libtool pkgconfig
-USE_GITHUB=	yes
+USES=		compiler:c++11-lang gmake libtool pkgconfig
+GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
+PORTDOCS=	*
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CONFIGURE_ARGS=	--disable-static
 
 OPTIONS_DEFINE=	DOXYGEN DOCS
 OPTIONS_DEFAULT=	DOXYGEN
 
-PORTDOCS=	*
-
-ALL_TARGET=	all
-INSTALL_TARGET=	install-strip
 DOXYGEN_IMPLIES=	DOCS
 DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
 DOXYGEN_ALL_TARGET=	html-local
@@ -37,7 +33,4 @@ post-install-DOXYGEN-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
 	${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html
 
-tests: build
-	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
-
 .include <bsd.port.mk>
diff --git a/devel/protobuf-c/distinfo b/devel/protobuf-c/distinfo
index 4ebc545a9034..09223f55bad9 100644
--- a/devel/protobuf-c/distinfo
+++ b/devel/protobuf-c/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622437645
-SHA256 (protobuf-c-protobuf-c-v1.4.0_GH0.tar.gz) = 1068bca1e9870e9492096f97c409cd15f10c5019c183e52ec6d53e8d18630cbf
-SIZE (protobuf-c-protobuf-c-v1.4.0_GH0.tar.gz) = 134352
+TIMESTAMP = 1662921353
+SHA256 (protobuf-c-1.4.1.tar.gz) = 4cc4facd508172f3e0a4d3a8736225d472418aee35b4ad053384b137b220339f
+SIZE (protobuf-c-1.4.1.tar.gz) = 513596
diff --git a/devel/protobuf-c/pkg-plist b/devel/protobuf-c/pkg-plist
index fd1f27144529..ea6fc65a2e7c 100644
--- a/devel/protobuf-c/pkg-plist
+++ b/devel/protobuf-c/pkg-plist
@@ -3,7 +3,6 @@ bin/protoc-gen-c
 include/google/protobuf-c/protobuf-c.h
 include/protobuf-c/protobuf-c.h
 include/protobuf-c/protobuf-c.proto
-lib/libprotobuf-c.a
 lib/libprotobuf-c.so
 lib/libprotobuf-c.so.1
 lib/libprotobuf-c.so.1.0.0



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