# $Id: Portfile 77816 2011-04-14 05:06:49Z ryandesign@macports.org $ PortSystem 1.0 name gtkglarea2 version 2.0.1 set branch [join [lrange [split ${version} .] 0 1] .] categories x11 devel maintainers nomaintainer description OpenGL widget to GTK+ homepage http://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 gnome:sources/gtkglarea/${branch} distname gtkglarea-${version} use_bzip2 yes checksums sha1 436f3c1e267a421a6df11248b250c82e93a8331d \ rmd160 9e758a6f2e160192ee7ef29fb6ea582fcd97ff3a depends_lib \ port:mesa \ port:gtk2 configure.args --with-GL-prefix=${prefix}