View | Details | Raw Unified | Return to bug 192175 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-5 / +29 lines)
Lines 2-17 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	protobuf-c
4
PORTNAME=	protobuf-c
5
PORTVERSION=	0.15
5
PORTVERSION=	1.0.1
6
PORTREVISION=	2
7
CATEGORIES=	devel
6
CATEGORIES=	devel
8
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
7
MASTER_SITES=	https://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/v${PORTVERSION}/ \
8
		http://github.com/${GITHUB_USER}/${GITHUB_REPO}/releases/download/v${PORTVERSION}/
9
9
10
MAINTAINER=	ahurt@anbcs.com
10
MAINTAINER=	truckman@FreeBSD.org
11
COMMENT=	This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++)
11
COMMENT=	Code generator and libraries to use Protocol Buffers from pure C
12
12
13
LICENSE=	BSD2CLAUSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
13
LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/devel/protobuf
16
LIB_DEPENDS=	libprotobuf.so:${PORTSDIR}/devel/protobuf
14
17
18
OPTIONS_DEFINE=	DOCS
19
OPTIONS_SUB=	yes
20
21
.include <bsd.port.options.mk>
22
23
GITHUB_USER=	protobuf-c
24
GITHUB_REPO=	protobuf-c
25
26
ALL_TARGET=	all
27
.if ${PORT_OPTIONS:MDOCS}
28
BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
29
ALL_TARGET+=	html-local
30
.endif
31
15
USES=		gmake libtool:keepla pathfix pkgconfig
32
USES=		gmake libtool:keepla pathfix pkgconfig
16
GNU_CONFIGURE=	yes
33
GNU_CONFIGURE=	yes
17
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
Lines 22-27 Link Here
22
post-patch:
39
post-patch:
23
	@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure
40
	@${REINPLACE_CMD} -e 's|GREP "\\-L"|GREP "bin/ld"|g' ${WRKSRC}/configure
24
41
42
post-install:
43
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libprotobuf-c.so.1.0.0
44
.if ${PORT_OPTIONS:MDOCS}
45
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
46
	${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}/html
47
.endif
48
25
tests: build
49
tests: build
26
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
50
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
27
51
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (protobuf-c-0.15.tar.gz) = 8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036
1
SHA256 (protobuf-c-1.0.1.tar.gz) = e1b2989684ac51e62f8b7de8739c381717b27c7cf4410c7a7e39b958afd3cd74
2
SIZE (protobuf-c-0.15.tar.gz) = 500911
2
SIZE (protobuf-c-1.0.1.tar.gz) = 448519
(-)pkg-descr (-1 / +1 lines)
Lines 2-5 Link Here
2
Protocol Buffers from pure C (not C++).
2
Protocol Buffers from pure C (not C++).
3
It uses a modified version of protoc called protoc-c.
3
It uses a modified version of protoc called protoc-c.
4
4
5
WWW: http://code.google.com/p/protobuf-c/
5
WWW: http://github.com/protobuf-c/protobuf-c
(-)pkg-plist (-6 / +85 lines)
Lines 1-13 Link Here
1
bin/protoc-c
1
bin/protoc-c
2
include/google/protobuf-c/protobuf-c-dispatch.h
3
include/google/protobuf-c/protobuf-c-private.h
4
include/google/protobuf-c/protobuf-c-rpc.h
5
include/google/protobuf-c/protobuf-c.h
2
include/google/protobuf-c/protobuf-c.h
3
include/protobuf-c/protobuf-c.h
6
lib/libprotobuf-c.a
4
lib/libprotobuf-c.a
7
lib/libprotobuf-c.la
5
lib/libprotobuf-c.la
8
lib/libprotobuf-c.so
6
lib/libprotobuf-c.so
9
lib/libprotobuf-c.so.0
7
lib/libprotobuf-c.so.1
10
lib/libprotobuf-c.so.0.0.0
8
lib/libprotobuf-c.so.1.0.0
11
libdata/pkgconfig/libprotobuf-c.pc
9
libdata/pkgconfig/libprotobuf-c.pc
10
%%DOCS%%%%DOCSDIR%%/html/annotated.html
11
%%DOCS%%%%DOCSDIR%%/html/annotated.js
12
%%DOCS%%%%DOCSDIR%%/html/bc_s.png
13
%%DOCS%%%%DOCSDIR%%/html/bdwn.png
14
%%DOCS%%%%DOCSDIR%%/html/classes.html
15
%%DOCS%%%%DOCSDIR%%/html/closed.png
16
%%DOCS%%%%DOCSDIR%%/html/dir_2c96eb53f97134aa5468aeff4257fb45.html
17
%%DOCS%%%%DOCSDIR%%/html/doxygen.css
18
%%DOCS%%%%DOCSDIR%%/html/doxygen.png
19
%%DOCS%%%%DOCSDIR%%/html/dynsections.js
20
%%DOCS%%%%DOCSDIR%%/html/ftv2blank.png
21
%%DOCS%%%%DOCSDIR%%/html/ftv2doc.png
22
%%DOCS%%%%DOCSDIR%%/html/ftv2folderclosed.png
23
%%DOCS%%%%DOCSDIR%%/html/ftv2folderopen.png
24
%%DOCS%%%%DOCSDIR%%/html/ftv2lastnode.png
25
%%DOCS%%%%DOCSDIR%%/html/ftv2link.png
26
%%DOCS%%%%DOCSDIR%%/html/ftv2mlastnode.png
27
%%DOCS%%%%DOCSDIR%%/html/ftv2mnode.png
28
%%DOCS%%%%DOCSDIR%%/html/ftv2node.png
29
%%DOCS%%%%DOCSDIR%%/html/ftv2plastnode.png
30
%%DOCS%%%%DOCSDIR%%/html/ftv2pnode.png
31
%%DOCS%%%%DOCSDIR%%/html/ftv2splitbar.png
32
%%DOCS%%%%DOCSDIR%%/html/ftv2vertline.png
33
%%DOCS%%%%DOCSDIR%%/html/functions.html
34
%%DOCS%%%%DOCSDIR%%/html/functions_vars.html
35
%%DOCS%%%%DOCSDIR%%/html/gencode.html
36
%%DOCS%%%%DOCSDIR%%/html/group__api.html
37
%%DOCS%%%%DOCSDIR%%/html/group__api.js
38
%%DOCS%%%%DOCSDIR%%/html/index.html
39
%%DOCS%%%%DOCSDIR%%/html/jquery.js
40
%%DOCS%%%%DOCSDIR%%/html/modules.html
41
%%DOCS%%%%DOCSDIR%%/html/modules.js
42
%%DOCS%%%%DOCSDIR%%/html/nav_f.png
43
%%DOCS%%%%DOCSDIR%%/html/nav_g.png
44
%%DOCS%%%%DOCSDIR%%/html/nav_h.png
45
%%DOCS%%%%DOCSDIR%%/html/navtree.css
46
%%DOCS%%%%DOCSDIR%%/html/navtree.js
47
%%DOCS%%%%DOCSDIR%%/html/navtreeindex0.js
48
%%DOCS%%%%DOCSDIR%%/html/open.png
49
%%DOCS%%%%DOCSDIR%%/html/pack.html
50
%%DOCS%%%%DOCSDIR%%/html/pages.html
51
%%DOCS%%%%DOCSDIR%%/html/resize.js
52
%%DOCS%%%%DOCSDIR%%/html/structProtobufCAllocator.html
53
%%DOCS%%%%DOCSDIR%%/html/structProtobufCAllocator.js
54
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBinaryData.html
55
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBinaryData.js
56
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBuffer.html
57
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBuffer.js
58
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBufferSimple.html
59
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBufferSimple.js
60
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumDescriptor.html
61
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumDescriptor.js
62
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValue.html
63
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValue.js
64
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValueIndex.html
65
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValueIndex.js
66
%%DOCS%%%%DOCSDIR%%/html/structProtobufCFieldDescriptor.html
67
%%DOCS%%%%DOCSDIR%%/html/structProtobufCFieldDescriptor.js
68
%%DOCS%%%%DOCSDIR%%/html/structProtobufCIntRange.html
69
%%DOCS%%%%DOCSDIR%%/html/structProtobufCIntRange.js
70
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessage.html
71
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessage.js
72
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageDescriptor.html
73
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageDescriptor.js
74
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageUnknownField.html
75
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageUnknownField.js
76
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMethodDescriptor.html
77
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMethodDescriptor.js
78
%%DOCS%%%%DOCSDIR%%/html/structProtobufCService.html
79
%%DOCS%%%%DOCSDIR%%/html/structProtobufCService.js
80
%%DOCS%%%%DOCSDIR%%/html/structProtobufCServiceDescriptor.html
81
%%DOCS%%%%DOCSDIR%%/html/structProtobufCServiceDescriptor.js
82
%%DOCS%%%%DOCSDIR%%/html/sync_off.png
83
%%DOCS%%%%DOCSDIR%%/html/sync_on.png
84
%%DOCS%%%%DOCSDIR%%/html/tab_a.png
85
%%DOCS%%%%DOCSDIR%%/html/tab_b.png
86
%%DOCS%%%%DOCSDIR%%/html/tab_h.png
87
%%DOCS%%%%DOCSDIR%%/html/tab_s.png
88
%%DOCS%%%%DOCSDIR%%/html/tabs.css
12
@dirrm include/google/protobuf-c
89
@dirrm include/google/protobuf-c
13
@dirrmtry include/google
90
@dirrm include/protobuf-c
91
%%DOCS%%@dirrmtry %%DOCSDIR%%/html
92
%%DOCS%%@dirrmtry %%DOCSDIR%%

Return to bug 192175