--- /dev/null
+# ChangeLog for media-libs/ftgl
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ChangeLog,v 1.1 2004/12/17 11:29:59 mr_bones_ Exp $
+
+*ftgl-2.1.2 (17 Dec 2004)
+
+ 17 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/2.1.2-ftgl.pc.in.patch, +ftgl-2.1.2.ebuild:
+ initial commit - ebuild provided by Jordi Vilalta via bug #47048
+
--- /dev/null
+MD5 7101bcca115a202a027be77568bfffa8 ftgl-2.1.2.ebuild 1078
+MD5 b9ac9145e9baf74157c47cf626ef5836 ChangeLog 409
+MD5 2c668ede6711942506740cffd25b1245 files/digest-ftgl-2.1.2 62
+MD5 8c117c40c473625c657ecb59b535caa1 files/2.1.2-ftgl.pc.in.patch 334
--- /dev/null
+--- FTGL/unix/ftgl.pc.in.old 2003-08-24 23:18:22.000000000 -0500
++++ FTGL/unix/ftgl.pc.in 2004-09-07 13:47:35.429653782 -0500
+@@ -8,4 +8,4 @@
+ Version: @PACKAGE_VERSION@
+ Requires:
+ Libs: @GL_LIBS@ @FT2_LIBS@ -L${libdir} -lftgl
+-Cflags: -I${includedir} @GL_CFLAGS@ @FT2_CFLAGS@
++Cflags: -I${includedir}/FTGL @GL_CFLAGS@ @FT2_CFLAGS@
--- /dev/null
+MD5 3eabec9ad37371c4d139408c7ffd2429 ftgl-2.1.2.tar.gz 568497
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ftgl-2.1.2.ebuild,v 1.1 2004/12/17 11:29:59 mr_bones_ Exp $
+
+inherit eutils
+
+DESCRIPTION="A free, open source library to enable developers to use arbitrary fonts in their OpenGL applications"
+HOMEPAGE="http://homepages.paradise.net.nz/henryj/code/#FTGL"
+SRC_URI="http://opengl.geek.nz/ftgl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2.0.9
+ virtual/opengl
+ virtual/glut"
+
+S="${WORKDIR}/FTGL/unix"
+
+src_unpack() {
+ unpack ${A}
+ cd "${WORKDIR}"
+
+ # Use the correct includedir for pkg-config
+ epatch "${FILESDIR}/${PV}-ftgl.pc.in.patch"
+ if ! has_version doxygen; then
+ cd FTGL/docs
+ tar xzf html.tar.gz
+ ln -fs ../../docs/html "${S}/docs"
+ fi
+ sed -i \
+ -e "s:\((PACKAGE_NAME)\):\1-${PVR}:g" ${S}/docs/Makefile \
+ || die "sed failed"
+ sed -i \
+ -e "s: \\$:\t\\$:g" ${S}/src/Makefile \
+ || die "sed failed"
+}
+
+src_install() {
+ einstall || die
+ dodoc README.txt
+}