|
1 | 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
2 | 2 |
|
3 | 3 | PortSystem 1.0
|
4 |
| -PortGroup github 1.0 |
| 4 | +PortGroup obsolete 1.0 |
5 | 5 |
|
6 | 6 | name protobuf-cpp
|
| 7 | +replaced_by protobuf2-cpp |
7 | 8 | version 2.6.1
|
| 9 | +revision 1 |
8 | 10 | categories devel
|
9 |
| -maintainers nomaintainer |
10 |
| -license BSD |
11 |
| -description Encode data in an efficient yet extensible format. |
12 |
| -conflicts protobuf3-cpp |
13 |
| - |
14 |
| -long_description \ |
15 |
| - Google Protocol Buffers are a flexible, efficient, \ |
16 |
| - automated mechanism for serializing structured data -- \ |
17 |
| - think XML, but smaller, faster, and simpler. You \ |
18 |
| - define how you want your data to be structured once, \ |
19 |
| - then you can use special generated source code to \ |
20 |
| - easily write and read your structured data to and from \ |
21 |
| - a variety of data streams and using a variety of \ |
22 |
| - languages. You can even update your data structure \ |
23 |
| - without breaking deployed programs that are compiled \ |
24 |
| - against the "old" format. You specify how you want \ |
25 |
| - the information you're serializing to be structured by \ |
26 |
| - defining protocol buffer message types in .proto \ |
27 |
| - files. Each protocol buffer message is a small \ |
28 |
| - logical record of information, containing a series of \ |
29 |
| - name-value pairs. |
30 |
| - |
31 |
| -github.setup google protobuf ${version} v |
32 |
| -github.tarball_from releases |
33 |
| -homepage https://github.com/google/protobuf |
34 |
| -master_sites https://github.com/google/protobuf/releases/download/v${version} |
35 |
| -distfiles protobuf-${version}.tar.bz2 |
36 |
| -worksrcdir protobuf-${version} |
37 |
| - |
38 |
| -use_bzip2 yes |
39 |
| -checksums sha1 6421ee86d8fb4e39f21f56991daa892a3e8d314b \ |
40 |
| - sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 |
41 |
| - |
42 |
| -platforms darwin |
43 |
| - |
44 |
| -depends_lib port:zlib |
45 |
| - |
46 |
| -# 2.6.1's glibtool doesn't pass -stdlib=libc++ to the linker |
47 |
| -use_autoreconf yes |
48 |
| -autoreconf.args -fvi |
49 |
| - |
50 |
| -configure.cflags-append -g |
51 |
| -configure.cppflags-append -g |
52 |
| - |
53 |
| -post-destroot { |
54 |
| - set docdir ${destroot}${prefix}/share/doc/${name} |
55 |
| - |
56 |
| - xinstall -d -m 755 ${docdir} |
57 |
| - |
58 |
| - foreach f {CHANGES.txt CONTRIBUTORS.txt INSTALL.txt LICENSE README.md editors examples} { |
59 |
| - file copy ${worksrcpath}/${f} ${docdir} |
60 |
| - } |
61 |
| -} |
62 |
| - |
63 |
| -test.run yes |
64 |
| -test.cmd "ulimit -c 0; make" |
65 |
| -test.target check |
0 commit comments