Files

65 lines
2.0 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup gobject_introspection 1.0
name telepathy-logger
version 0.8.2
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 @dbevans} openmaintainer
categories comms
homepage https://telepathy.freedesktop.org/wiki/Logger
master_sites https://telepathy.freedesktop.org/releases/${name}/
use_bzip2 yes
checksums sha256 8fcad534d653b1b365132c5b158adae947810ffbae9843f72dd1797966415dae \
rmd160 c68a859d9434cdceb8a82788d72e58611616b2ce
depends_build port:pkgconfig \
port:intltool \
port:gtk-doc \
port:autoconf \
port:automake \
port:libtool \
port:python27
depends_lib port:telepathy-glib \
port:libxml2 \
port:sqlite3
license_noconflict python27
gobject_introspection yes
# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
configure.cmd ./autogen.sh
configure.python \
${prefix}/bin/python2.7
configure.args --disable-silent-rules \
--disable-coding-style-checks \
--disable-schemas-compile
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"
}
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}