1 | --- Portfile.orig 2005-08-27 14:35:01.000000000 +0900 |
---|
2 | +++ Portfile 2005-08-27 14:36:37.000000000 +0900 |
---|
3 | @@ -4,7 +4,7 @@ |
---|
4 | |
---|
5 | name python24 |
---|
6 | version 2.4.1 |
---|
7 | -revision 4 |
---|
8 | +revision 5 |
---|
9 | categories lang |
---|
10 | platforms darwin |
---|
11 | maintainers mww@opendarwin.org |
---|
12 | @@ -37,7 +37,7 @@ |
---|
13 | --mandir=${prefix}/share/man \ |
---|
14 | --bindir=${prefix}/bin \ |
---|
15 | --with-readline \ |
---|
16 | - --enable-framework \ |
---|
17 | + --enable-framework=${prefix}/Library/Frameworks \ |
---|
18 | --enable-ipv6 \ |
---|
19 | --disable-tk |
---|
20 | |
---|
21 | @@ -54,12 +54,16 @@ |
---|
22 | destroot.target install maninstall |
---|
23 | } |
---|
24 | |
---|
25 | +variant tk { |
---|
26 | + configure.args-delete --disable-tk |
---|
27 | +} |
---|
28 | + |
---|
29 | post-destroot { |
---|
30 | if {[variant_isset puredarwin]} { |
---|
31 | set py_destroot_libs ${prefix}/lib |
---|
32 | } else { |
---|
33 | - set py_destroot_libs /Library/Frameworks/Python.framework/Libraries |
---|
34 | - system "cd ${destroot}/Library/Frameworks/Python.framework/ && \ |
---|
35 | + set py_destroot_libs ${prefix}/Library/Frameworks/Python.framework/Libraries |
---|
36 | + system "cd ${destroot}${prefix}/Library/Frameworks/Python.framework/ && \ |
---|
37 | ln -s Versions/Current/lib Libraries" |
---|
38 | } |
---|
39 | system "cd ${destroot}${py_destroot_libs} && \ |
---|