# $Id: Portfile,v 1.1 2006/06/15 18:59:42 erickt Exp $
PortSystem 1.0
name                    gtkglarea2
version                 1.99.0
categories              x11 devel
maintainers             erickt@opendarwin.org
description             OpenGL widget to GTK+
homepage                ftp://ftp.gnome.org/mirror/gnome.org/sources/gtkglarea/
platforms               darwin
long_description        Just as GTK+ is build on top of GDK, GtkGLArea is built on top of \
                        gdkgl which is basically wrapper around GLX functions. The widget \
                        itself is very similar to GtkDrawinigArea widget and adds only three \
                        extra functions. Lower level gdkgl functions make it easy to render \
                        on any widget that has OpenGL capable visual, rendering to off-screen \
                        pixmaps is also supported. 
master_sites            ftp://ftp.gnome.org/mirror/gnome.org/sources/gtkglarea/1.99/
distname                gtkglarea-${version}
use_bzip2               yes
checksums               md5 cd69f77240ae8038f95a2e5e0b7e5f25 \
                        sha1 5a4e7f37a7cbf628cde948ac0f95d8d810b1a007
depends_lib             lib:libGL.1:XFree86 \
                        lib:libgtk.2:gtk2
configure.post_args     --with-GL-prefix=/usr/X11R6
