Skip to content

Commit 184623d

Browse files
protobuf{2,3}-cpp: take ownership; cleanup
1 parent b67898e commit 184623d

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

devel/protobuf2-cpp/Portfile

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# -*- 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
22

3-
PortSystem 1.0
4-
PortGroup github 1.0
3+
PortSystem 1.0
4+
PortGroup github 1.0
55

66
name protobuf2-cpp
77
version 2.6.1
88
revision 1
9+
github.setup google protobuf ${version} v
10+
github.tarball_from releases
11+
912
categories devel
10-
maintainers nomaintainer
1113
license BSD
12-
description Encode data in an efficient yet extensible format.
14+
maintainers {mascguy @mascguy} openmaintainer
1315

16+
description Encode data in an efficient yet extensible format.
1417
long_description \
1518
Google Protocol Buffers are a flexible, efficient, \
1619
automated mechanism for serializing structured data -- \
@@ -27,23 +30,19 @@ long_description \
2730
files. Each protocol buffer message is a small \
2831
logical record of information, containing a series of \
2932
name-value pairs.
33+
homepage https://github.com/google/protobuf
3034

31-
github.setup google protobuf ${version} v
32-
github.tarball_from releases
3335
distname protobuf-${version}
3436
dist_subdir protobuf-cpp
35-
homepage https://github.com/google/protobuf
36-
master_sites https://github.com/google/protobuf/releases/download/v${version}
37-
distfiles protobuf-${version}.tar.bz2
3837
worksrcdir protobuf-${version}
39-
4038
use_bzip2 yes
41-
checksums sha1 6421ee86d8fb4e39f21f56991daa892a3e8d314b \
42-
sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910
4339

44-
platforms darwin
40+
checksums rmd160 654acfce84b4ba738a0332d0c967d1399ff6e4c2 \
41+
sha256 ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 \
42+
size 2021416
4543

46-
depends_lib port:zlib
44+
depends_lib-append \
45+
port:zlib
4746

4847
# 2.6.1's glibtool doesn't pass -stdlib=libc++ to the linker
4948
use_autoreconf yes

devel/protobuf3-cpp/Portfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# -*- 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
22

33
PortSystem 1.0
4+
PortGroup cmake 1.1
45
PortGroup compiler_blacklist_versions 1.0
56
PortGroup github 1.0
6-
PortGroup cmake 1.1
77

88
# NOTE: For any version number change, also
99
# NOTE: Update py-protobuf3 version's number to match
@@ -13,13 +13,15 @@ set release_version \
1313
21.12
1414

1515
name protobuf3-cpp
16-
github.setup protocolbuffers protobuf 3.${release_version} v
17-
git.branch v${release_version}
16+
version 3.${release_version}
1817
revision 3
18+
github.setup protocolbuffers protobuf ${version} v
19+
github.tarball_from releases
20+
git.branch v${release_version}
1921

2022
categories devel
21-
maintainers {mascguy @mascguy} openmaintainer
2223
license BSD
24+
maintainers {mascguy @mascguy} openmaintainer
2325

2426
description Encode data in an efficient yet extensible format.
2527
long_description \
@@ -44,7 +46,6 @@ checksums rmd160 f7c2879e427160c2a5055a2ab5d5ab231304fd31 \
4446
sha256 4eab9b524aa5913c6fffb20b2a8abf5ef7f95a80bc0701f3a6dbb4c607f73460 \
4547
size 4842303
4648

47-
github.tarball_from releases
4849
distname protobuf-cpp-${version}
4950
dist_subdir protobuf-cpp
5051
worksrcdir protobuf-${version}

0 commit comments

Comments
 (0)