1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

devel/protobuf-c: update to 1.0.1

- Bump port revision due to shlib change
- Add DOCS option
- Pass maintainership to submitter

PR:		192175
Submitted by:	truckman
Approved by:	maintainer
This commit is contained in:
William Grzybowski 2014-08-16 21:04:52 +00:00
parent 3c348581cf
commit f3ff426b00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365134
7 changed files with 120 additions and 16 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= osm2pgsql PORTNAME= osm2pgsql
PORTVERSION= 0.84.0 PORTVERSION= 0.84.0
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= converters geography CATEGORIES= converters geography
MAINTAINER= amdmi3@FreeBSD.org MAINTAINER= amdmi3@FreeBSD.org

View File

@ -2,13 +2,16 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= protobuf-c PORTNAME= protobuf-c
PORTVERSION= 0.15 PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= devel CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MASTER_SITES= https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/v${PORTVERSION}/ \
http://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/v${PORTVERSION}/
MAINTAINER= ahurt@anbcs.com MAINTAINER= truckman@FreeBSD.org
COMMENT= This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++) COMMENT= Code generator and libraries to use Protocol Buffers from pure C
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf LIB_DEPENDS= libprotobuf.so:${PORTSDIR}/devel/protobuf
@ -19,9 +22,30 @@ USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
GITHUB_USER= protobuf-c
GITHUB_REPO= protobuf-c
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
ALL_TARGET= all
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
ALL_TARGET+= html-local
.endif
post-patch: post-patch:
@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf-c.so.1.0.0
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html
.endif
tests: build tests: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)

View File

@ -1,2 +1,2 @@
SHA256 (protobuf-c-0.15.tar.gz) = 8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036 SHA256 (protobuf-c-1.0.1.tar.gz) = e1b2989684ac51e62f8b7de8739c381717b27c7cf4410c7a7e39b958afd3cd74
SIZE (protobuf-c-0.15.tar.gz) = 500911 SIZE (protobuf-c-1.0.1.tar.gz) = 448519

View File

@ -2,4 +2,4 @@ This package provides a code generator and runtime libraries to use
Protocol Buffers from pure C (not C++). Protocol Buffers from pure C (not C++).
It uses a modified version of protoc called protoc-c. It uses a modified version of protoc called protoc-c.
WWW: http://code.google.com/p/protobuf-c/ WWW: http://github.com/protobuf-c/protobuf-c

View File

@ -1,13 +1,92 @@
bin/protoc-c bin/protoc-c
include/google/protobuf-c/protobuf-c-dispatch.h
include/google/protobuf-c/protobuf-c-private.h
include/google/protobuf-c/protobuf-c-rpc.h
include/google/protobuf-c/protobuf-c.h include/google/protobuf-c/protobuf-c.h
include/protobuf-c/protobuf-c.h
lib/libprotobuf-c.a lib/libprotobuf-c.a
lib/libprotobuf-c.la lib/libprotobuf-c.la
lib/libprotobuf-c.so lib/libprotobuf-c.so
lib/libprotobuf-c.so.0 lib/libprotobuf-c.so.1
lib/libprotobuf-c.so.0.0.0 lib/libprotobuf-c.so.1.0.0
libdata/pkgconfig/libprotobuf-c.pc libdata/pkgconfig/libprotobuf-c.pc
%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
%%PORTDOCS%%%%DOCSDIR%%/html/annotated.js
%%PORTDOCS%%%%DOCSDIR%%/html/bc_s.png
%%PORTDOCS%%%%DOCSDIR%%/html/bdwn.png
%%PORTDOCS%%%%DOCSDIR%%/html/classes.html
%%PORTDOCS%%%%DOCSDIR%%/html/closed.png
%%PORTDOCS%%%%DOCSDIR%%/html/dir_2c96eb53f97134aa5468aeff4257fb45.html
%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
%%PORTDOCS%%%%DOCSDIR%%/html/dynsections.js
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2blank.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2doc.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2folderclosed.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2folderopen.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2lastnode.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2link.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2mlastnode.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2mnode.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2node.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2plastnode.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2pnode.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2splitbar.png
%%PORTDOCS%%%%DOCSDIR%%/html/ftv2vertline.png
%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars.html
%%PORTDOCS%%%%DOCSDIR%%/html/gencode.html
%%PORTDOCS%%%%DOCSDIR%%/html/group__api.html
%%PORTDOCS%%%%DOCSDIR%%/html/group__api.js
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/jquery.js
%%PORTDOCS%%%%DOCSDIR%%/html/modules.html
%%PORTDOCS%%%%DOCSDIR%%/html/modules.js
%%PORTDOCS%%%%DOCSDIR%%/html/nav_f.png
%%PORTDOCS%%%%DOCSDIR%%/html/nav_g.png
%%PORTDOCS%%%%DOCSDIR%%/html/nav_h.png
%%PORTDOCS%%%%DOCSDIR%%/html/navtree.css
%%PORTDOCS%%%%DOCSDIR%%/html/navtree.js
%%PORTDOCS%%%%DOCSDIR%%/html/navtreeindex0.js
%%PORTDOCS%%%%DOCSDIR%%/html/open.png
%%PORTDOCS%%%%DOCSDIR%%/html/pack.html
%%PORTDOCS%%%%DOCSDIR%%/html/pages.html
%%PORTDOCS%%%%DOCSDIR%%/html/resize.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCAllocator.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCAllocator.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCBinaryData.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCBinaryData.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCBuffer.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCBuffer.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCBufferSimple.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCBufferSimple.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCEnumDescriptor.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCEnumDescriptor.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCEnumValue.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCEnumValue.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCEnumValueIndex.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCEnumValueIndex.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCFieldDescriptor.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCFieldDescriptor.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCIntRange.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCIntRange.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMessage.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMessage.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMessageDescriptor.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMessageDescriptor.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMessageUnknownField.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMessageUnknownField.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMethodDescriptor.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCMethodDescriptor.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCService.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCService.js
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCServiceDescriptor.html
%%PORTDOCS%%%%DOCSDIR%%/html/structProtobufCServiceDescriptor.js
%%PORTDOCS%%%%DOCSDIR%%/html/sync_off.png
%%PORTDOCS%%%%DOCSDIR%%/html/sync_on.png
%%PORTDOCS%%%%DOCSDIR%%/html/tab_a.png
%%PORTDOCS%%%%DOCSDIR%%/html/tab_b.png
%%PORTDOCS%%%%DOCSDIR%%/html/tab_h.png
%%PORTDOCS%%%%DOCSDIR%%/html/tab_s.png
%%PORTDOCS%%%%DOCSDIR%%/html/tabs.css
@dirrm include/google/protobuf-c @dirrm include/google/protobuf-c
@dirrmtry include/google @dirrm include/protobuf-c
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%

View File

@ -3,7 +3,7 @@
PORTNAME= collectd PORTNAME= collectd
PORTVERSION= 5.4.1 PORTVERSION= 5.4.1
PORTREVISION= 8 PORTREVISION= 9
CATEGORIES= net-mgmt CATEGORIES= net-mgmt
MASTER_SITES= http://collectd.org/files/ MASTER_SITES= http://collectd.org/files/
PKGNAMESUFFIX= 5 PKGNAMESUFFIX= 5

View File

@ -3,6 +3,7 @@
PORTNAME= libgadu PORTNAME= libgadu
DISTVERSION= 1.12.0 DISTVERSION= 1.12.0
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= polish net-im CATEGORIES= polish net-im