# $Id: Portfile,v 1.2 2006/05/22 01:15:07 erickt Exp $

PortSystem 1.0
name               glew
version            1.3.4
revision           0
categories         graphics devel
maintainers        erickt@opendarwin.org
description        OpenGL Extension Wrangler Library
long_description   The OpenGL Extension Wrangler Library (GLEW) is a \
                   cross-platform C/C++ extension loading library. GLEW \
                   provides efficient run-time mechanisms for determining \
                   which OpenGL extensions are supported on the target \
                   platform. OpenGL core and extension functionality is \
                   exposed in a single header file.

homepage           http://glew.sourceforge.net
master_sites       sourceforge
distfiles          ${distname}-src.tgz
checksums          md5 9c3911bf30b0ae48fd97d508b21811ca \
                   sha1 d70fb9fc07b99ec87a192818f73fc31b42c0811b \
                   rmd160 1f845fddb61c5a679a105aeae9ff21037d9fab6d
worksrcdir         ${name}
use_configure      no
build.env          GLEW_DEST=${prefix}
destroot.env       GLEW_DEST=${destroot}${prefix}

platform darwin 8  { build.args CC=/usr/bin/gcc-4.0 }

