set branch [join [lrange [split ${version} .] 0 1] .]
description linc is a library for writing networked servers/clients.
long_description linc is a library that eases the task of writing \
networked servers & clients. It takes care of \
connection initiation and maintainance, and the \
details of various transports. Previously used by \
ORBit2 to handle message transmission/receipt, now \
homepage https://www.gnome.org/projects/ORBit2
master_sites gnome:sources/${name}/${branch}/
checksums md5 29f01b7e3e6045395e369d988573d517
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
depends_build port:pkgconfig
# disable generation of broken gtk-doc html docs that relys on outdated DTDs
configure.args --disable-gtk-doc
configure.cppflags-append "-L${prefix}/lib"
patchfiles patch-only-include-glib.h.diff \
patch-linc-protocols.c.diff