Ticket #39242: perforce-upgrade-to-2013.2.diff
File perforce-upgrade-to-2013.2.diff, 3.9 KB (added by gjasny@…, 11 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name perforce 6 version 201 0.16 version 2013.2 7 7 categories devel 8 8 platforms darwin 9 9 maintainers gmail.com:rambiusparkisanius … … 15 15 software. (see the WWW page for details). 16 16 17 17 homepage http://www.perforce.com/ 18 master_sites http:// www.perforce.com/downloads/perforce/r[string range ${version} 2 end]/bin.darwin80u/:prog\19 http:// www.perforce.com/perforce/doc.052/man/:man18 master_sites http://filehost.perforce.com/perforce/r[string range ${version} 2 end]/bin.darwin90x86_64/:x86_64 \ 19 http://filehost.perforce.com/perforce/r[string range ${version} 2 end]/bin.darwin90x86/:i386 20 20 21 dist_subdir ${name}/${version} 21 dist_subdir ${name}/${version}/${build_arch} 22 22 worksrcdir ${name} 23 23 24 distfiles p4:prog p4.1:man p4d:prog p4d.1:man 24 if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} { 25 distfiles p4:x86_64 p4d:x86_64 25 26 26 checksums p4 md5 4170d202a4bda079e334c7dc5c37c417 \ 27 sha1 c666bd19c6de7a1b7283c14c2f0cf8486c56c516 \ 28 rmd160 5b3fc0fa7cab9d4fcfd8a2e0675379d2a4cceb60 \ 29 p4.1 md5 e5cada2f402e1e016be7999fdc49035d \ 30 sha1 f0740627c5232e2eb72a278fd62d5764b7fcbdbb \ 31 rmd160 c32ac846dfa8110fadba131ca4c7a3782cf1c180 \ 32 p4d md5 dd2f6de1b1a57a70838379d425606896 \ 33 sha1 f26b2b1d2ff1437b343c9bd590f72a0c00846567 \ 34 rmd160 7957d8db3b6a2ec5e85fc291a03f746a15ea6b60 \ 35 p4d.1 md5 1aa86f28ba0698266bf1dcaded3e4106 \ 36 sha1 0383e5eb515ff1a4ecd6fb148aa544a49e68eb59 \ 37 rmd160 913efbe9b299030a143e3c6a1fbf672ec526d7b7 27 checksums p4 \ 28 rmd160 e37ced97c0618ac537e8f2b4601e7898cbb315a7 \ 29 sha256 2bf0f29e3578bdf430bc050c0cf0aae845c62a0a83d5b1bda2114885c7068626 \ 30 p4d \ 31 rmd160 ec49d60e294a238d507a6481b26812e269e3a066 \ 32 sha256 ff20dfb5fac72333d1473b0cda3c051050cb38f1b6082d4153831a6ba8bb281a 33 } 34 35 if {${os.platform} == "darwin" && ${build_arch} == "i386"} { 36 distfiles p4:i386 p4d:i386 37 38 checksums p4 \ 39 rmd160 90d1fa1d722d8af029fa5823ffa395fa18852cef \ 40 sha256 7a81e33ac9c4f1222d572c8895930a4ab74985a778ed4296918edd5852d51cd0 \ 41 p4d \ 42 rmd160 2e230ba5524c617ffba974b5435c1d867de1fd03 \ 43 sha256 9ef998623448506a819d1c8f227999c67150f056bf2f7810c34cba904da09ea2 44 } 45 46 if {${os.major} < 9} { 47 pre-fetch { 48 return -code error "$name requires Mac OS X 10.5 or later." 49 } 50 } 38 51 39 52 extract.mkdir yes 40 53 extract { … … 48 61 destroot { 49 62 xinstall -W ${worksrcpath} p4 ${destroot}${prefix}/bin 50 63 xinstall -W ${worksrcpath} p4d ${destroot}${prefix}/sbin 51 xinstall -W ${worksrcpath} -m 644 p4.1 ${destroot}${prefix}/share/man/man152 xinstall -W ${worksrcpath} -m 644 p4d.1 ${destroot}${prefix}/share/man/man853 64 } 54 65 55 66 variant server { … … 65 76 } 66 77 } 67 78 68 supported_archs i386 ppc x86_64 69 configure.universal_archs i386 ppc x86_64 70 default_variants +universal 71 variant_set universal 72 variant universal {} 79 supported_archs i386 x86_64 80 universal_variant no