# -*- 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 libinfinity version 0.5.3 revision 1 description libinfinity is an implementation of the Infinote protocol written in GObject-based C. long_description ${description} maintainers phw openmaintainer categories comms license LGPL-2+ platforms darwin homepage http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity master_sites http://releases.0x539.de/libinfinity/ checksums rmd160 b8ed727f4c1ec7a705632f8f41d0f6cfa667723b \ sha256 327555971076e8ef4d30fe55fb319dd38fc820623ac5e4ca4a0c4e2dfc1c0a13 depends_build port:pkgconfig depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ port:gtk2 \ port:libxml2 \ port:gnutls \ port:libgsasl # libinfinity doesn't build with clang because some functions use g_return_if_fail() where they should use g_return_val_if_fail() if {[string match *clang* ${configure.compiler}]} { configure.cflags-append -Wno-return-type } # /usr/bin/ranlib: library member: libinftestutil.a(libinfinity-0.5.la) is not an object file (not allowed in a library with multiple architectures) universal_variant no if {${os.platform} == "darwin" && ${os.major} >= 10} { patchfiles-append patch-infinoted-infinoted-pam.c.diff } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"