# -*- 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 108135 2013-07-13 18:55:50Z devans@macports.org $

PortSystem              1.0

name                    gtkglarea2
set gname               gtkglarea
version                 2.0.1
license                 GPL-2
set branch              [join [lrange [split ${version} .] 0 1] .]
categories              x11 devel
maintainers             nomaintainer
platforms               darwin

description             GtkGLArea is an OpenGL context provider for GTK+ 2.

long_description        ${description} It provides a simple OpenGL rendering canvas \
                        similar in use to GtkDrawingArea. In addition, lower level \
                        objects allow the adding of an OpenGL context to almost any \
                        existing drawable widget and off-screen rendering to pixmap objects.

homepage                http://www.mono-project.com/GtkGLArea
master_sites            gnome:sources/${gname}/${branch}
distname                ${gname}-${version}

use_bzip2               yes

checksums               sha1    436f3c1e267a421a6df11248b250c82e93a8331d \
                        rmd160  9e758a6f2e160192ee7ef29fb6ea582fcd97ff3a

depends_build           port:pkgconfig
depends_lib             port:mesa \
                        port:gtk2

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

livecheck.type          gnome
livecheck.name          ${gname}
