PortSystem 1.0

name		linc
license         GPL-2
version		1.0.3
set branch      [join [lrange [split ${version} .] 0 1] .]
revision	2
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 \
                        obsolete.
maintainers	nomaintainer
categories	devel gnome
platforms	darwin
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
use_bzip2 	yes
# 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

universal_variant no

livecheck.type  gnome
