Ticket #18295: python30-vars.diff
File python30-vars.diff, 1.5 KB (added by jmroot (Joshua Root), 16 years ago) |
---|
-
Portfile
4 4 5 5 name python30 6 6 version 3.0 7 revision 1 7 8 set branch 3.0 8 9 categories lang 9 10 platforms darwin … … 33 34 depends_lib port:gettext 34 35 35 36 configure.args --enable-shared \ 36 --enable-framework=${ prefix}/Library/Frameworks\37 --enable-framework=${frameworks_dir} \ 37 38 --mandir=${prefix}/share/man \ 38 39 --without-readline \ 39 40 --disable-tk \ … … 41 42 42 43 use_parallel_build no 43 44 45 build.args-append PYTHONAPPSDIR="${applications_dir}/Python ${branch}" 44 46 build.target all libpython${branch}.dylib 45 47 46 48 test.run yes 47 49 test.target test 48 50 51 destroot.args-append PYTHONAPPSDIR="${applications_dir}/Python ${branch}" 49 52 destroot.target frameworkinstall maninstall 50 53 51 54 post-destroot { 52 set framewpath ${ prefix}/Library/Frameworks/Python.framework55 set framewpath ${frameworks_dir}/Python.framework 53 56 set framewdir ${framewpath}/Versions/${branch} 54 57 55 58 foreach dir { lib include } { … … 89 92 } 90 93 91 94 variant universal { 92 configure.args-append --enable-universalsdk 95 configure.args-append --enable-universalsdk=${universal_sysroot} 93 96 } 94 97 95 98 livecheck.check regex