# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 65794 2010-04-01 02:02:22Z ryandesign@macports.org $

PortSystem	1.0

name		ftgl
version		2.1.3-rc5
set my_version	[strsed ${version} g/-/~/]
platforms	darwin
categories	graphics
maintainers		krugazor@free.fr
description		Freetype / OpenGL bridge

long_description	FTGL takes freetype fonts, decodes them,\
			and generate an OpenGL object out of it.\
			It supports a lot of rendering modes

homepage		http://ftgl.wiki.sourceforge.net/
checksums		md5 fcf4d0567b7de9875d4e99a9f7423633
			
master_sites		sourceforge

depends_lib		port:freetype

depends_build		bin:doxygen:doxygen \
			port:gsed

worksrcdir		${name}-${my_version}

patchfiles		patch-docs-Makefile.in.diff

# Note, this package finds OpenGL.framework... perhaps there should be an x11 variant for mesa?

# Skip building the example program by failing to find GLUT
configure.args		--with-glut-inc=/dev/null --with-glut-lib=/dev/null

livecheck.version	${my_version}
livecheck.distname	FTGL Source
