# $Id: Portfile 105215 2013-04-13 16:23:32Z devans@macports.org $

PortSystem 1.0

name		linc
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. It is used by \
			the new ORBit to handle message transmission/receipt.
maintainers	nomaintainer
categories	devel gnome
platforms	darwin
homepage	http://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
configure.args  --mandir=${prefix}/share/man
configure.cppflags-append	"-L${prefix}/lib"
patchfiles	patch-only-include-glib.h.diff \
                patch-linc-protocols.c.diff

universal_variant no

livecheck.type  gnome
