Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 19:55:51 -0500 (CDT)
From:      "ahurt@anbcs.com" <root@anbcs.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ahurt@anbcs.com
Subject:   ports/157099: New port: devel/protobuf-c - This package provides a pure C (not C++) interface to protobuf
Message-ID:  <201105170055.p4H0tpLR003397@schroeder.anbcs.com>
Resent-Message-ID: <201105170130.p4H1UBRi061237@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157099
>Category:       ports
>Synopsis:       New port: devel/protobuf-c - This package provides a pure C (not C++) interface to protobuf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 17 01:30:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Hurt
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
anbcs.com 
>Environment:
System: FreeBSD schroeder.anbcs.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	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.
	
>How-To-Repeat:
	
>Fix:

	

--- protobuf-c.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	protobuf-c
#	protobuf-c/Makefile
#	protobuf-c/distinfo
#	protobuf-c/pkg-descr
#	protobuf-c/pkg-plist
#
echo c - protobuf-c
mkdir -p protobuf-c > /dev/null 2>&1
echo x - protobuf-c/Makefile
sed 's/^X//' >protobuf-c/Makefile << '8c7062c0b9a2d2b055542035e3a5cab4'
X# New Ports collection makefile for:	protobuf
X# Date created:				2011.05.16
X# Whom:					Aaron Hurt <ahurt@anbcs.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	protobuf-c
XPORTVERSION=	0.15
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
X
XMAINTAINER=	ahurt@anbcs.com
XCOMMENT=	This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++).
X
XLIB_DEPENDS=	protobuf.7:${PORTSDIR}/devel/protobuf
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XUSE_GNOME=	pkgconfig
X
XCXXFLAGS+=	-I/usr/local/include
XLDFLAGS+=	-L/usr/local/lib
X
XCONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
XCONFIGURE_ARGS=	--prefix=${PREFIX}
X
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure
X
Xtests: build
X	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
X
X.include <bsd.port.mk>
8c7062c0b9a2d2b055542035e3a5cab4
echo x - protobuf-c/distinfo
sed 's/^X//' >protobuf-c/distinfo << '7b90107e541b30599d44006078e86fd0'
XSHA256 (protobuf-c-0.15.tar.gz) = 8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036
XSIZE (protobuf-c-0.15.tar.gz) = 500911
7b90107e541b30599d44006078e86fd0
echo x - protobuf-c/pkg-descr
sed 's/^X//' >protobuf-c/pkg-descr << 'a168b0d5e8a99cb30ce95397f9a270db'
XThis package provides a code generator and runtime libraries to use
XProtocol Buffers from pure C (not C++).
XIt uses a modified version of protoc called protoc-c.
X
XWWW: http://code.google.com/p/protobuf-c/
a168b0d5e8a99cb30ce95397f9a270db
echo x - protobuf-c/pkg-plist
sed 's/^X//' >protobuf-c/pkg-plist << '0001334fa39f931dd49520c09f95e5c5'
Xbin/protoc-c
Xinclude/google/protobuf-c/protobuf-c-dispatch.h
Xinclude/google/protobuf-c/protobuf-c-private.h
Xinclude/google/protobuf-c/protobuf-c-rpc.h
Xinclude/google/protobuf-c/protobuf-c.h
Xlib/libprotobuf-c.a
Xlib/libprotobuf-c.la
Xlib/libprotobuf-c.so
Xlib/libprotobuf-c.so.0
Xlib/pkgconfig/libprotobuf-c.pc
X@dirrm include/google/protobuf-c
X@dirrmtry include/google
0001334fa39f931dd49520c09f95e5c5
exit
--- protobuf-c.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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