# -*- 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 67913 2010-05-21 13:26:58Z ryandesign@macports.org $

PortSystem          1.0

name                yorick-gl
cvs.date            20100504
version             1.1.0.cvs${cvs.date}
categories          science
platforms           darwin
maintainers         users.sourceforge.net:paumard
description         OpenGL 3D graphics support for the Yorick language
long_description    This is a compiled add-on for yorick (an interpreted \
                    computer language specialized for numerical and \
                    scientific problems). Yorick-gl adds support for OpenGL \
                    3D graphics.
homepage            http://maumae.net/yorick/doc/plugins.php

depends_lib         port:yorick \
                    port:mesa

fetch.type          cvs
cvs.root            :pserver:anonymous@yorick.cvs.sourceforge.net:/cvsroot/yorick
cvs.module          ${name}
worksrcdir          ${name}

patchfiles          patch-configure \
                    patch-Makefile

post-patch {
    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure
}

universal_variant   no

configure.args      --yorick=${prefix}/bin/yorick
