source: trunk/dports/net/loudmouth/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.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148228 2016-04-30 17:55:10Z ryandesign@macports.org $
3PortSystem          1.0
4
5name                loudmouth
6version             1.4.3
7revision            4
8maintainers         nomaintainer
9categories          net devel
10license             LGPL-2+
11platforms           darwin
12
13description         A lightweight C library for the jabber protocol.
14long_description    Loudmouth is a lightweight and easy-to-use C \
15                    library for programming with the Jabber protocol. \
16                    It's designed to be easy to get started with and yet \
17                    extensible to let you do anything the Jabber protocol allows.
18
19homepage            https://launchpad.net/loudmouth
20master_sites        http://ftp.imendio.com/pub/imendio/loudmouth/src/
21checksums           rmd160  f19851a1f6aa4d1501710b76cb2a5373fcd01708 \
22                    sha256  db252747e974b6be3e31d1b11089dc6aec3780989083df9bd75d76ddae7fb613
23
24# gtk-doc is needed for m4 files due to the use of use_autoreconf below
25depends_build       port:pkgconfig port:gtk-doc
26depends_lib         port:gnutls path:lib/pkgconfig/glib-2.0.pc:glib2
27
28# Use pkg-config to detect gnutls now
29# http://groups.google.com/group/loudmouth-dev/browse_thread/thread/3f78255837048daf
30patchfiles          patch-configure.ac.diff \
31                    patch-automake-1.13.diff \
32                    patch-loudmouth-lm-error.c.diff
33
34platform darwin {
35    if {${os.major} >= 13} {
36        #On Mavericks, TCP constants are declared, apart from TCP_KEEPIDLE
37        patchfiles-append   patch-keepidle.diff
38    } else {
39        #On ML and lower, TCP constants are not declared, so force deactivation
40        patchfiles-append   patch-configure-tcp.diff
41    }
42}
43
44use_autoreconf      yes
45
46configure.args      --without-check
47
Note: See TracBrowser for help on using the repository browser.