# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@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"
configure.cflags-append	-no-cpp-precomp
patchfiles	patch-linc-protocols.c.diff

livecheck.type  regex
livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
