# -*- 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 telepathy-logger version 0.8.0 revision 2 set branch [join [lrange [split ${version} .] 0 1] .] license LGPL-2.1+ description The ${name} component of Telepathy - a Flexible Communications Framework long_description \ Telepathy Logger is a session daemon that should be activated whenever telepathy is being used maintainers devans openmaintainer categories comms platforms darwin homepage http://telepathy.freedesktop.org/wiki/Logger master_sites http://telepathy.freedesktop.org/releases/${name}/ use_bzip2 yes checksums sha256 d476f3c16fa25988ced2c0771de70542091d81b5fdd657317cad5c4b110520a2 \ rmd160 901f61e3b7fbd639efa2cc28117ef448d7b75053 depends_build port:pkgconfig \ port:intltool \ port:gtk-doc depends_lib port:telepathy-glib \ port:gobject-introspection \ port:libxml2 \ port:sqlite3 patchfiles patch-configure.diff configure.args --disable-silent-rules \ --disable-coding-style-checks \ --disable-schemas-compile \ --enable-introspection=yes # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" variant python25 conflicts python26 python27 description {Enable building of Python 2.5 bindings} { depends_lib-append port:py25-twisted configure.python ${prefix}/bin/python2.5 } variant python26 conflicts python25 python27 description {Enable building of Python 2.6 bindings} { depends_lib-append port:py26-twisted configure.python ${prefix}/bin/python2.6 } variant python27 conflicts python25 python26 description {Enable building of Python 2.7 bindings} { depends_lib-append port:py27-twisted configure.python ${prefix}/bin/python2.7 } if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python27 } post-destroot { set gsettingsschemadir ${prefix}/share/glib-2.0/schemas file mkdir ${destroot}${gsettingsschemadir} file copy [glob ${worksrcpath}/data/*.gschema.xml] ${destroot}${gsettingsschemadir} } post-activate { system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } # The rules enabled by gobject-introspection require GNU make 3.81+ platform darwin 8 { depends_build-append port:gmake build.cmd ${prefix}/bin/gmake } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}