[Midnightbsd-cvs] mports [24812] trunk/devel: add protobuf-c port

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jan 19 13:13:43 EST 2019


Revision: 24812
          http://svnweb.midnightbsd.org/mports/?rev=24812
Author:   laffer1
Date:     2019-01-19 13:13:42 -0500 (Sat, 19 Jan 2019)
Log Message:
-----------
add protobuf-c port

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/protobuf-c/
    trunk/devel/protobuf-c/Makefile
    trunk/devel/protobuf-c/distinfo
    trunk/devel/protobuf-c/pkg-descr
    trunk/devel/protobuf-c/pkg-plist

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2019-01-19 18:03:44 UTC (rev 24811)
+++ trunk/devel/Makefile	2019-01-19 18:13:42 UTC (rev 24812)
@@ -465,6 +465,7 @@
 SUBDIR += popt
 SUBDIR += projectcenter
 SUBDIR += protobuf
+SUBDIR += protobuf-c
 SUBDIR += protobuf25
 SUBDIR += pth
 SUBDIR += pth-hard

Added: trunk/devel/protobuf-c/Makefile
===================================================================
--- trunk/devel/protobuf-c/Makefile	                        (rev 0)
+++ trunk/devel/protobuf-c/Makefile	2019-01-19 18:13:42 UTC (rev 24812)
@@ -0,0 +1,34 @@
+# $MidnightBSD$
+
+PORTNAME=		protobuf-c
+PORTVERSION=		1.3.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=		devel
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Code generator and libraries to use Protocol Buffers from pure C
+
+LICENSE=	bsd2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libprotobuf.so:devel/protobuf
+
+USES=		autoreconf compiler:c++11-lang gmake libtool pkgconfig
+GNU_CONFIGURE=	yes
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+OPTIONS_DEFINE=	DOCS
+
+PORTDOCS=	*
+
+ALL_TARGET=	all
+INSTALL_TARGET=	install-strip
+
+tests: build
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/protobuf-c/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/protobuf-c/distinfo
===================================================================
--- trunk/devel/protobuf-c/distinfo	                        (rev 0)
+++ trunk/devel/protobuf-c/distinfo	2019-01-19 18:13:42 UTC (rev 24812)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1547921069
+SHA256 (protobuf-c-v1.3.1_GH0.tar.gz) = 5eeec797d7ff1d4b1e507925a1780fad5dd8dd11163203d8832e5a9f20a79b08
+SIZE (protobuf-c-v1.3.1_GH0.tar.gz) = 128705


Property changes on: trunk/devel/protobuf-c/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/protobuf-c/pkg-descr
===================================================================
--- trunk/devel/protobuf-c/pkg-descr	                        (rev 0)
+++ trunk/devel/protobuf-c/pkg-descr	2019-01-19 18:13:42 UTC (rev 24812)
@@ -0,0 +1,5 @@
+This package provides a code generator and runtime libraries to use
+Protocol Buffers from pure C (not C++).
+It uses a modified version of protoc called protoc-c.
+
+WWW: https://github.com/protobuf-c/protobuf-c


Property changes on: trunk/devel/protobuf-c/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/protobuf-c/pkg-plist
===================================================================
--- trunk/devel/protobuf-c/pkg-plist	                        (rev 0)
+++ trunk/devel/protobuf-c/pkg-plist	2019-01-19 18:13:42 UTC (rev 24812)
@@ -0,0 +1,9 @@
+bin/protoc-c
+bin/protoc-gen-c
+include/google/protobuf-c/protobuf-c.h
+include/protobuf-c/protobuf-c.h
+lib/libprotobuf-c.a
+lib/libprotobuf-c.so
+lib/libprotobuf-c.so.1
+lib/libprotobuf-c.so.1.0.0
+libdata/pkgconfig/libprotobuf-c.pc


Property changes on: trunk/devel/protobuf-c/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list