# $Id: Portfile 62483 2010-01-09 04:38:07Z ryandesign@macports.org $

PortSystem 1.0

name                    gtkglarea2
version                 1.99.0
categories              x11 devel
maintainers             nomaintainer
description             OpenGL widget to GTK+
homepage                ftp://ftp.gnome.org/mirror/gnome.org/sources/gtkglarea/
platforms               darwin
long_description        Just as GTK+ is built 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 \
	port:mesa \
	port:gtk2
configure.ccache        no

use_autoreconf yes
autoreconf.args -fvi

configure.post_args --with-GL-prefix=${prefix}
