Ticket #52072: protobuf3-cpp.patch

File protobuf3-cpp.patch, 1.8 KB (added by jeff@…, 8 years ago)

patch for protobuf3-cpp

  • Portfile

     
    55PortGroup  github 1.0
    66
    77name            protobuf3-cpp
    8 version         0.0.0.2
    9 set real_version 3.0.0-alpha-3
     8version         3.0.0
    109categories      devel
    1110maintainers     blair
    1211license         BSD
     
    3029                logical record of information, containing a series of \
    3130                name-value pairs.
    3231
    33 github.setup    google protobuf-cpp ${real_version} v
     32github.setup    google protobuf-cpp ${version} v
    3433github.tarball_from releases
    35 # REMOVE THE VERSION LINE WHEN THERE IS A GA RELEASE AND LEAVE THE ONE ABOVE
    36 version         0.0.0.2
    3734homepage        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.gz
    40 worksrcdir      protobuf-${real_version}
     35master_sites    https://github.com/google/protobuf/releases/download/v${version}
     36distfiles       protobuf-cpp-${version}.tar.gz
     37worksrcdir      protobuf-${version}
    4138
    4239pre-fetch {
    4340    if {${os.platform} eq "darwin" && ${os.major} < 11} {
     
    4643    }
    4744}
    4845
    49 checksums       sha1   531094f573b9d711bebfe161aab424965d332ea6 \
    50                 sha256 a4144ae5e21c5ebf36baf823c6b23efa0d009d08ad1e6fec2fadb69499880fc0
     46checksums       sha1   00140d255922bf33ef3842168954e3269fbba3af \
     47                sha256 318e8f375fb4e5333975a40e0d1215e855b4a8c581d692eb0eb7df70db1a8d4e
    5148
    5249platforms       darwin
    5350
     
    6158
    6259    xinstall -d -m 755 ${docdir}
    6360
    64     foreach f {CHANGES.txt CONTRIBUTORS.txt INSTALL.txt LICENSE README.md editors examples} {
     61    foreach f {CHANGES.txt CONTRIBUTORS.txt LICENSE README.md editors examples} {
    6562        file copy ${worksrcpath}/${f} ${docdir}
    6663    }
    6764}