# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name libgweather version 2.30.3 revision 6 set branch [join [lrange [split ${version} .] 0 1] .] maintainers devans openmaintainer categories net gnome license GPL-2+ LGPL-2.1+ platforms darwin description Library to accessing online weather informations. long_description \ libgweather is a library to access weather \ information from online services for numerous \ locations. homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_bzip2 yes checksums md5 bf6a0a05051341ecb250f332e3edfb88 \ sha1 e89aadc89d3405d1a3de12005fa839d9da5adbc1 \ rmd160 84158a5099c41b028a5f8d15ce99534dbd992051 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc depends_lib port:gconf \ port:libsoup patchfiles patch-python-prefix.diff configure.args --disable-schemas-install \ --disable-silent-rules \ --disable-glibtest \ --enable-python variant python25 conflicts python26 python27 description {Use python 2.5} { configure.python ${prefix}/bin/python2.5 depends_lib-append port:py25-pygtk set python_framework ${frameworks_dir}/Python.framework/Versions/2.5 configure.pkg_config_path ${python_framework}/lib/pkgconfig # ensure build path contains path to python executables (#26201) build.env PATH=${python_framework}/bin:$env(PATH) } variant python26 conflicts python25 python27 description {Use python 2.6} { configure.python ${prefix}/bin/python2.6 depends_lib-append port:py26-pygtk set python_framework ${frameworks_dir}/Python.framework/Versions/2.6 configure.pkg_config_path ${python_framework}/lib/pkgconfig # ensure build path contains path to python executables (#26201) build.env PATH=${python_framework}/bin:$env(PATH) } variant python27 conflicts python25 python26 description {Use python 2.7} { configure.python ${prefix}/bin/python2.7 depends_lib-append port:py27-pygtk set python_framework ${frameworks_dir}/Python.framework/Versions/2.7 configure.pkg_config_path ${python_framework}/lib/pkgconfig # ensure build path contains path to python executables (#26201) build.env PATH=${python_framework}/bin:$env(PATH) } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } post-activate { system "\ GCONF_CONFIG_SOURCE= \ gconftool-2 --makefile-install-rule \ ${prefix}/etc/gconf/schemas/gweather.schemas" } livecheck.type gnome