diff --git a/Portfile b/Portfile
index 9151aca..642f67f 100644
a
|
b
|
PortSystem 1.0 |
5 | 5 | |
6 | 6 | name git-core |
7 | 7 | version 1.7.3.3 |
| 8 | revision 1 |
8 | 9 | description A fast version control system |
9 | 10 | long_description Git is a fast, scalable, distributed open source version \ |
10 | 11 | control system focusing on speed and efficiency. |
… |
… |
checksums git-${version}${extract.suffix} \ |
28 | 29 | rmd160 402ce22ba5c3b13e1562feb5f94f4dd0cca7753f |
29 | 30 | |
30 | 31 | depends_run port:rsync port:p5-error |
31 | | depends_lib path:bin/perl:perl5 port:curl port:zlib port:openssl port:expat port:libiconv port:python26 |
| 32 | depends_lib path:bin/perl:perl5 port:curl port:zlib port:openssl port:expat port:libiconv |
32 | 33 | |
33 | 34 | patchfiles patch-Makefile.diff |
34 | 35 | |
… |
… |
if {[variant_isset universal]} { |
52 | 53 | build.args CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ |
53 | 54 | CC=${configure.cc} \ |
54 | 55 | prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \ |
55 | | PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1 \ |
| 56 | PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 \ |
56 | 57 | NO_R_TO_GCC_LINKER=1 |
57 | 58 | |
58 | 59 | test.run yes |
… |
… |
test.cmd make |
60 | 61 | test.target test |
61 | 62 | test.dir ${worksrcpath} |
62 | 63 | test.args prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \ |
63 | | PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1 |
| 64 | PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 |
64 | 65 | |
65 | 66 | destroot.destdir DESTDIR=${destroot} prefix=${prefix} |
66 | 67 | destroot.target install |
67 | 68 | destroot.args CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ |
68 | 69 | prefix=${prefix} CURLDIR=${prefix} OPENSSLDIR=${prefix} ICONVDIR=${prefix} \ |
69 | | PERL_PATH="${prefix}/bin/perl" PYTHON_PATH="${prefix}/bin/python2.6" NO_FINK=1 NO_DARWIN_PORTS=1 \ |
| 70 | PERL_PATH="${prefix}/bin/perl" NO_FINK=1 NO_DARWIN_PORTS=1 \ |
70 | 71 | NO_R_TO_GCC_LINKER=1 |
71 | 72 | |
72 | 73 | post-destroot { |
… |
… |
post-destroot { |
95 | 96 | } |
96 | 97 | } |
97 | 98 | |
| 99 | if {![variant_isset python26] && ![variant_isset python27]} { |
| 100 | default_variants +python26 |
| 101 | } |
| 102 | |
| 103 | variant python26 conflicts python27 description {Use Python 2.6} { |
| 104 | build.args-append PYTHON_PATH="${prefix}/bin/python2.6" |
| 105 | destroot.args-append PYTHON_PATH="${prefix}/bin/python2.6" |
| 106 | test.args-append PYTHON_PATH="${prefix}/bin/python2.6" |
| 107 | depends_lib-append port:python26 |
| 108 | } |
| 109 | |
| 110 | variant python27 conflicts python26 description {Use Python 2.7} { |
| 111 | build.args-append PYTHON_PATH="${prefix}/bin/python2.7" |
| 112 | destroot.args-append PYTHON_PATH="${prefix}/bin/python2.7" |
| 113 | test.args-append PYTHON_PATH="${prefix}/bin/python2.7" |
| 114 | depends_lib-append port:python27 |
| 115 | } |
| 116 | |
98 | 117 | variant doc description {Install HTML and plaintext documentation} { |
99 | 118 | distfiles-append git-htmldocs-${version}${extract.suffix} |
100 | 119 | checksums-append git-htmldocs-${version}${extract.suffix} \ |