Changeset 80079
- Timestamp:
- 07/03/11 16:49:21 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/net/libgweather/Portfile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/libgweather/Portfile
r77689 r80079 6 6 name libgweather 7 7 version 2.30.3 8 revision 28 revision 3 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 maintainers devans openmaintainer … … 31 31 32 32 depends_lib port:gconf \ 33 port:libsoup \ 34 port:py26-gtk 33 port:libsoup 35 34 36 35 patchfiles patch-python-prefix.diff … … 41 40 --enable-python 42 41 43 configure.python ${prefix}/bin/python2.6 44 set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 45 configure.pkg_config_path ${python_framework}/lib/pkgconfig 42 variant python25 conflicts python26 python27 description {Use python 2.5} { 43 configure.python ${prefix}/bin/python2.5 44 depends_lib-append port:py25-gtk 45 set python_framework ${frameworks_dir}/Python.framework/Versions/2.5 46 configure.pkg_config_path ${python_framework}/lib/pkgconfig 46 47 47 # 48 # ensure build path contains path to python executables (#26201)49 # 48 # ensure build path contains path to python executables (#26201) 49 build.env PATH=${python_framework}/bin:$env(PATH) 50 } 50 51 51 build.env PATH=${python_framework}/bin:$env(PATH) 52 variant python26 conflicts python25 python27 description {Use python 2.6} { 53 configure.python ${prefix}/bin/python2.6 54 depends_lib-append port:py26-gtk 55 set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 56 configure.pkg_config_path ${python_framework}/lib/pkgconfig 57 58 # ensure build path contains path to python executables (#26201) 59 build.env PATH=${python_framework}/bin:$env(PATH) 60 } 61 62 variant python27 conflicts python25 python26 description {Use python 2.7} { 63 configure.python ${prefix}/bin/python2.7 64 depends_lib-append port:py27-gtk 65 set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 66 configure.pkg_config_path ${python_framework}/lib/pkgconfig 67 68 # ensure build path contains path to python executables (#26201) 69 build.env PATH=${python_framework}/bin:$env(PATH) 70 } 71 72 if {![variant_isset python25] && ![variant_isset python26]} { 73 default_variants +python27 74 } 52 75 53 76 post-activate {
Note: See TracChangeset
for help on using the changeset viewer.

