source: trunk/dports/comms/libinfinity/Portfile

Last change on this file was 148228, checked in by mps@…, 19 months ago

gnutls: update to version 3.4.11, bump to the current stable branch 3.4.x (#51147), rebuild dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 148228 2016-04-30 17:55:10Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libinfinity
7version         0.5.4
8revision        2
9categories      comms
10platforms       darwin
11license         LGPL-2+
12maintainers     nomaintainer
13
14description     libinfinity is an implementation of the Infinote protocol written in GObject-based C.
15long_description ${description}
16
17homepage        http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity
18master_sites    http://releases.0x539.de/libinfinity/
19
20checksums       rmd160  c36895b04fc5be315f4f110438d14bcde2fbfb69 \
21                sha256  04004fc1097e0e45945180f844b1f7cef62db18390d752c8abca78253192f6c4
22
23depends_build   port:pkgconfig
24
25depends_lib     path:lib/pkgconfig/glib-2.0.pc:glib2 \
26                port:gtk2 \
27                port:libxml2 \
28                port:gnutls \
29                port:libgsasl \
30                port:libdaemon
31
32configure.args  --with-libdaemon \
33                --without-avahi \
34                --without-gtk3
35
36# libinfinity doesn't build with clang because some functions use g_return_if_fail() where they should use g_return_val_if_fail()
37if {[string match *clang* ${configure.compiler}]} {
38    configure.cflags-append -Wno-return-type
39}
40
41# /usr/bin/ranlib: library member: libinftestutil.a(libinfinity-0.5.la) is not an object file (not allowed in a library with multiple architectures)
42universal_variant no
43
44if {${os.platform} eq "darwin" && ${os.major} >= 10} {
45    patchfiles-append patch-infinoted-infinoted-pam.c.diff
46}
47
48livecheck.type  regex
49livecheck.url   ${master_sites}
50livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.