Ticket #52072: protobuf3-cpp.patch
File protobuf3-cpp.patch, 1.8 KB (added by jeff@…, 8 years ago) |
---|
-
Portfile
5 5 PortGroup github 1.0 6 6 7 7 name protobuf3-cpp 8 version 0.0.0.2 9 set real_version 3.0.0-alpha-3 8 version 3.0.0 10 9 categories devel 11 10 maintainers blair 12 11 license BSD … … 30 29 logical record of information, containing a series of \ 31 30 name-value pairs. 32 31 33 github.setup google protobuf-cpp ${ real_version} v32 github.setup google protobuf-cpp ${version} v 34 33 github.tarball_from releases 35 # REMOVE THE VERSION LINE WHEN THERE IS A GA RELEASE AND LEAVE THE ONE ABOVE36 version 0.0.0.237 34 homepage https://github.com/google/protobuf 38 master_sites https://github.com/google/protobuf/releases/download/v${ real_version}39 distfiles protobuf-cpp-${ real_version}.tar.gz40 worksrcdir protobuf-${ real_version}35 master_sites https://github.com/google/protobuf/releases/download/v${version} 36 distfiles protobuf-cpp-${version}.tar.gz 37 worksrcdir protobuf-${version} 41 38 42 39 pre-fetch { 43 40 if {${os.platform} eq "darwin" && ${os.major} < 11} { … … 46 43 } 47 44 } 48 45 49 checksums sha1 531094f573b9d711bebfe161aab424965d332ea6\50 sha256 a4144ae5e21c5ebf36baf823c6b23efa0d009d08ad1e6fec2fadb69499880fc046 checksums sha1 00140d255922bf33ef3842168954e3269fbba3af \ 47 sha256 318e8f375fb4e5333975a40e0d1215e855b4a8c581d692eb0eb7df70db1a8d4e 51 48 52 49 platforms darwin 53 50 … … 61 58 62 59 xinstall -d -m 755 ${docdir} 63 60 64 foreach f {CHANGES.txt CONTRIBUTORS.txt INSTALL.txtLICENSE README.md editors examples} {61 foreach f {CHANGES.txt CONTRIBUTORS.txt LICENSE README.md editors examples} { 65 62 file copy ${worksrcpath}/${f} ${docdir} 66 63 } 67 64 }