# $Id: Portfile,v 1.4 2005/08/24 02:30:46 pguyot Exp $

PortSystem			1.0
name				lablgtk2
version				2.4.0
revision			1
categories			x11
maintainers			pguyot@kallisys.net
description			Objective Caml interface to gtk+ 2.x
long_description	LablGTK2 is is an Objective Caml interface to gtk+ 2.x. \
					It uses the rich type system of Objective Caml 3 to provide a \
					strongly typed, yet very comfortable, object-oriented interface to \
					gtk+. This is not that easy if you know the dynamic typing approach \
					taken by gtk+.
homepage			http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
platforms			darwin
master_sites		http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
distname			lablgtk-${version}
checksums			md5 faa7b28c3ad97a1a76d983d24f26f567
depends_lib			bin:camlp4:ocaml \
					lib:libgtk.2:gtk2 \
					lib:libglade-2:libglade2 \
					lib:libgnomecanvas:libgnomecanvas
configure.args		--without-gl --without-rsvg --with-glade --with-gnomecanvas
build.target		world

variant rsvg {
	configure.args-delete	--without-rsvg
	configure.args-append	--with-rsvg
	depends_lib-append		lib:librsvg-2:librsvg
}
