# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 91182 2012-03-25 08:16:23Z jeremyhu@macports.org $

PortSystem          1.0

name                gtkglarea
version             1.2.3
revision            3
categories          x11 devel
platforms           darwin
maintainers         nomaintainer

description         OpenGL widget to GTK+

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.

homepage            http://www.student.oulu.fi/~jlof/gtkglarea/

master_sites        http://www.imem.unavarra.es/3d_mec/download/sources/ \
                    http://www.cis.nctu.edu.tw/~is85005/dports/gtkglarea/

checksums           md5     cd82b1ca47d9bd13e0b890181b33a871

depends_lib         port:mesa \
                    port:gettext \
                    port:gtk1

patchfiles          patch-gtkgl.m4.diff

use_parallel_build  yes
