1 | --- /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/perforce/Portfile 2013-07-15 18:02:34.000000000 +0200 |
---|
2 | +++ /Users/Shared/ports/devel/perforce/Portfile 2013-10-27 19:31:46.000000000 +0100 |
---|
3 | @@ -3,10 +3,10 @@ |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name perforce |
---|
7 | -version 2010.1 |
---|
8 | +version 2013.2 |
---|
9 | categories devel |
---|
10 | platforms darwin |
---|
11 | -maintainers gmail.com:rambiusparkisanius |
---|
12 | +maintainers googlemail.com:gjasny openmaintainer |
---|
13 | |
---|
14 | description Fast source code management system |
---|
15 | |
---|
16 | @@ -15,26 +15,39 @@ |
---|
17 | software. (see the WWW page for details). |
---|
18 | |
---|
19 | homepage http://www.perforce.com/ |
---|
20 | -master_sites http://www.perforce.com/downloads/perforce/r[string range ${version} 2 end]/bin.darwin80u/:prog \ |
---|
21 | - http://www.perforce.com/perforce/doc.052/man/:man |
---|
22 | +master_sites http://filehost.perforce.com/perforce/r[string range ${version} 2 end]/bin.darwin90x86_64/:x86_64 \ |
---|
23 | + http://filehost.perforce.com/perforce/r[string range ${version} 2 end]/bin.darwin90x86/:i386 |
---|
24 | |
---|
25 | -dist_subdir ${name}/${version} |
---|
26 | +dist_subdir ${name}/${version}/${build_arch} |
---|
27 | worksrcdir ${name} |
---|
28 | |
---|
29 | -distfiles p4:prog p4.1:man p4d:prog p4d.1:man |
---|
30 | +if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} { |
---|
31 | + distfiles p4:x86_64 p4d:x86_64 |
---|
32 | |
---|
33 | -checksums p4 md5 4170d202a4bda079e334c7dc5c37c417 \ |
---|
34 | - sha1 c666bd19c6de7a1b7283c14c2f0cf8486c56c516 \ |
---|
35 | - rmd160 5b3fc0fa7cab9d4fcfd8a2e0675379d2a4cceb60 \ |
---|
36 | - p4.1 md5 e5cada2f402e1e016be7999fdc49035d \ |
---|
37 | - sha1 f0740627c5232e2eb72a278fd62d5764b7fcbdbb \ |
---|
38 | - rmd160 c32ac846dfa8110fadba131ca4c7a3782cf1c180 \ |
---|
39 | - p4d md5 dd2f6de1b1a57a70838379d425606896 \ |
---|
40 | - sha1 f26b2b1d2ff1437b343c9bd590f72a0c00846567 \ |
---|
41 | - rmd160 7957d8db3b6a2ec5e85fc291a03f746a15ea6b60 \ |
---|
42 | - p4d.1 md5 1aa86f28ba0698266bf1dcaded3e4106 \ |
---|
43 | - sha1 0383e5eb515ff1a4ecd6fb148aa544a49e68eb59 \ |
---|
44 | - rmd160 913efbe9b299030a143e3c6a1fbf672ec526d7b7 |
---|
45 | + checksums p4 \ |
---|
46 | + rmd160 e37ced97c0618ac537e8f2b4601e7898cbb315a7 \ |
---|
47 | + sha256 2bf0f29e3578bdf430bc050c0cf0aae845c62a0a83d5b1bda2114885c7068626 \ |
---|
48 | + p4d \ |
---|
49 | + rmd160 ec49d60e294a238d507a6481b26812e269e3a066 \ |
---|
50 | + sha256 ff20dfb5fac72333d1473b0cda3c051050cb38f1b6082d4153831a6ba8bb281a |
---|
51 | +} |
---|
52 | + |
---|
53 | +if {${os.platform} == "darwin" && ${build_arch} == "i386"} { |
---|
54 | + distfiles p4:i386 p4d:i386 |
---|
55 | + |
---|
56 | + checksums p4 \ |
---|
57 | + rmd160 90d1fa1d722d8af029fa5823ffa395fa18852cef \ |
---|
58 | + sha256 7a81e33ac9c4f1222d572c8895930a4ab74985a778ed4296918edd5852d51cd0 \ |
---|
59 | + p4d \ |
---|
60 | + rmd160 2e230ba5524c617ffba974b5435c1d867de1fd03 \ |
---|
61 | + sha256 9ef998623448506a819d1c8f227999c67150f056bf2f7810c34cba904da09ea2 |
---|
62 | +} |
---|
63 | + |
---|
64 | +if {${os.major} < 9} { |
---|
65 | + pre-fetch { |
---|
66 | + return -code error "$name requires Mac OS X 10.5 or later." |
---|
67 | + } |
---|
68 | +} |
---|
69 | |
---|
70 | extract.mkdir yes |
---|
71 | extract { |
---|
72 | @@ -48,8 +61,6 @@ |
---|
73 | destroot { |
---|
74 | xinstall -W ${worksrcpath} p4 ${destroot}${prefix}/bin |
---|
75 | xinstall -W ${worksrcpath} p4d ${destroot}${prefix}/sbin |
---|
76 | - xinstall -W ${worksrcpath} -m 644 p4.1 ${destroot}${prefix}/share/man/man1 |
---|
77 | - xinstall -W ${worksrcpath} -m 644 p4d.1 ${destroot}${prefix}/share/man/man8 |
---|
78 | } |
---|
79 | |
---|
80 | variant server { |
---|
81 | @@ -65,8 +76,5 @@ |
---|
82 | } |
---|
83 | } |
---|
84 | |
---|
85 | -supported_archs i386 ppc x86_64 |
---|
86 | -configure.universal_archs i386 ppc x86_64 |
---|
87 | -default_variants +universal |
---|
88 | -variant_set universal |
---|
89 | -variant universal {} |
---|
90 | +supported_archs i386 x86_64 |
---|
91 | +universal_variant no |
---|