Ticket #39242: perforce-upgrade-to-2013.1.diff
File perforce-upgrade-to-2013.1.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.1 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 b65956fe6e2024385ad2f9da79ca2c943c351d27 \ 29 sha256 8ef109bc2bbc4c18c0020e40f1f5c21d02f4b5b80cc5790bdda5f5c743633d49 \ 30 p4d \ 31 rmd160 37d8e3c3d7caecfdccbc854b7e237f1516518532 \ 32 sha256 3135a845ec33f4140214e70222e38d3c24ed48207d4ae09e499a65bcc78e1e17 33 } 34 35 if {${os.platform} == "darwin" && ${build_arch} == "i386"} { 36 distfiles p4:i386 p4d:i386 37 38 checksums p4 \ 39 rmd160 30df26b64985501609cef714c591db928d78391d \ 40 sha256 f1cb69e57fe486c0c6212af457243ffe0bd5af8995892651ea22de2fd7e4e38f\ 41 p4d \ 42 rmd160 55d0a495f9b7f918c647298f60e28c8180dca7a4 \ 43 sha256 646c59a8b9f08d9bc1d5ea24f6c73d16f23cd619f745f9babf729b3edccd1a10 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