Ticket #16770: protobuf-cpp.diff
File protobuf-cpp.diff, 1.1 KB (added by stromnov (Andrey Stromnov), 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 39761 2008-09-03 18:40:40Z blair@macports.org $ 2 2 3 PortSystem 1.03 PortSystem 1.0 4 4 5 5 name protobuf-cpp 6 version 2.0. 16 version 2.0.2 7 7 categories devel 8 8 maintainers blair 9 9 description Encode data in an efficient yet extensible format. … … 30 30 31 31 distname protobuf-${version} 32 32 use_bzip2 yes 33 checksums md5 add533032c5abffa378306fb580a18a4\34 sha1 59338ff41fea179e34aa8e30355f23ac87c628f4\35 rmd160 dbc4b14d9a2d2ec6f3e5bdcfe7fe84014a7089d533 checksums md5 6674270b1d63c2c4b292644f48fede4e \ 34 sha1 b3ebd8895000bb11ded88b1f207cb799653befa0 \ 35 rmd160 bd76eeef45342a44b80a5bbf38ee28ccec021eea 36 36 37 37 platforms darwin 38 38 39 variant py25 description {Support for local python2.5} { 40 depends_lib-append port:python25 41 } 42 43 post-patch { 44 if {[variant_isset py25]} { 45 reinplace "s|#!/usr/bin/python2.4|#!${prefix}/bin/python2.5|g" \ 46 ${worksrcpath}/src/google/protobuf/compiler/python/python_generator.cc 47 } 48 } 49 39 50 post-destroot { 40 51 set docdir ${destroot}${prefix}/share/doc/${name} 41 52