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

Collapse All | Expand All

(-)devel/protobuf-c/Makefile (-4 / +28 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.0
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=	ahurt@anbcs.com
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
(-)devel/protobuf-c/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (protobuf-c-0.15.tar.gz) = 8fcb538e13a5431c46168fc8f2e6ad2574e2db9b684c0c72b066e24f010a0036
1
SHA256 (protobuf-c-1.0.0.tar.gz) = de453698d693bd1a3842759964d436e66a7afee18f3be1e324b7b74e8c0eaaea
2
SIZE (protobuf-c-0.15.tar.gz) = 500911
2
SIZE (protobuf-c-1.0.0.tar.gz) = 448440
(-)devel/protobuf-c/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
(-)devel/protobuf-c/pkg-plist (-5 / +88 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/ftv2cl.png
22
%%DOCS%%%%DOCSDIR%%/html/ftv2doc.png
23
%%DOCS%%%%DOCSDIR%%/html/ftv2folderclosed.png
24
%%DOCS%%%%DOCSDIR%%/html/ftv2folderopen.png
25
%%DOCS%%%%DOCSDIR%%/html/ftv2lastnode.png
26
%%DOCS%%%%DOCSDIR%%/html/ftv2link.png
27
%%DOCS%%%%DOCSDIR%%/html/ftv2mlastnode.png
28
%%DOCS%%%%DOCSDIR%%/html/ftv2mnode.png
29
%%DOCS%%%%DOCSDIR%%/html/ftv2mo.png
30
%%DOCS%%%%DOCSDIR%%/html/ftv2node.png
31
%%DOCS%%%%DOCSDIR%%/html/ftv2ns.png
32
%%DOCS%%%%DOCSDIR%%/html/ftv2plastnode.png
33
%%DOCS%%%%DOCSDIR%%/html/ftv2pnode.png
34
%%DOCS%%%%DOCSDIR%%/html/ftv2splitbar.png
35
%%DOCS%%%%DOCSDIR%%/html/ftv2vertline.png
36
%%DOCS%%%%DOCSDIR%%/html/functions.html
37
%%DOCS%%%%DOCSDIR%%/html/functions_vars.html
38
%%DOCS%%%%DOCSDIR%%/html/gencode.html
39
%%DOCS%%%%DOCSDIR%%/html/group__api.html
40
%%DOCS%%%%DOCSDIR%%/html/group__api.js
41
%%DOCS%%%%DOCSDIR%%/html/index.html
42
%%DOCS%%%%DOCSDIR%%/html/jquery.js
43
%%DOCS%%%%DOCSDIR%%/html/modules.html
44
%%DOCS%%%%DOCSDIR%%/html/modules.js
45
%%DOCS%%%%DOCSDIR%%/html/nav_f.png
46
%%DOCS%%%%DOCSDIR%%/html/nav_g.png
47
%%DOCS%%%%DOCSDIR%%/html/nav_h.png
48
%%DOCS%%%%DOCSDIR%%/html/navtree.css
49
%%DOCS%%%%DOCSDIR%%/html/navtree.js
50
%%DOCS%%%%DOCSDIR%%/html/navtreeindex0.js
51
%%DOCS%%%%DOCSDIR%%/html/open.png
52
%%DOCS%%%%DOCSDIR%%/html/pack.html
53
%%DOCS%%%%DOCSDIR%%/html/pages.html
54
%%DOCS%%%%DOCSDIR%%/html/resize.js
55
%%DOCS%%%%DOCSDIR%%/html/structProtobufCAllocator.html
56
%%DOCS%%%%DOCSDIR%%/html/structProtobufCAllocator.js
57
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBinaryData.html
58
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBinaryData.js
59
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBuffer.html
60
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBuffer.js
61
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBufferSimple.html
62
%%DOCS%%%%DOCSDIR%%/html/structProtobufCBufferSimple.js
63
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumDescriptor.html
64
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumDescriptor.js
65
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValue.html
66
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValue.js
67
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValueIndex.html
68
%%DOCS%%%%DOCSDIR%%/html/structProtobufCEnumValueIndex.js
69
%%DOCS%%%%DOCSDIR%%/html/structProtobufCFieldDescriptor.html
70
%%DOCS%%%%DOCSDIR%%/html/structProtobufCFieldDescriptor.js
71
%%DOCS%%%%DOCSDIR%%/html/structProtobufCIntRange.html
72
%%DOCS%%%%DOCSDIR%%/html/structProtobufCIntRange.js
73
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessage.html
74
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessage.js
75
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageDescriptor.html
76
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageDescriptor.js
77
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageUnknownField.html
78
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMessageUnknownField.js
79
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMethodDescriptor.html
80
%%DOCS%%%%DOCSDIR%%/html/structProtobufCMethodDescriptor.js
81
%%DOCS%%%%DOCSDIR%%/html/structProtobufCService.html
82
%%DOCS%%%%DOCSDIR%%/html/structProtobufCService.js
83
%%DOCS%%%%DOCSDIR%%/html/structProtobufCServiceDescriptor.html
84
%%DOCS%%%%DOCSDIR%%/html/structProtobufCServiceDescriptor.js
85
%%DOCS%%%%DOCSDIR%%/html/sync_off.png
86
%%DOCS%%%%DOCSDIR%%/html/sync_on.png
87
%%DOCS%%%%DOCSDIR%%/html/tab_a.png
88
%%DOCS%%%%DOCSDIR%%/html/tab_b.png
89
%%DOCS%%%%DOCSDIR%%/html/tab_h.png
90
%%DOCS%%%%DOCSDIR%%/html/tab_s.png
91
%%DOCS%%%%DOCSDIR%%/html/tabs.css
12
@dirrm include/google/protobuf-c
92
@dirrm include/google/protobuf-c
93
@dirrm include/protobuf-c
13
@dirrmtry include/google
94
@dirrmtry include/google
95
%%DOCS%%@dirrmtry %%DOCSDIR%%/html
96
%%DOCS%%@dirrmtry %%DOCSDIR%%

Return to bug 192175