--- /dev/null
+# ChangeLog for dev-java/fontbox
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fontbox/ChangeLog,v 1.1 2007/01/24 14:47:10 betelgeuse Exp $
+
+*fontbox-0.1.0 (24 Jan 2007)
+
+ 24 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +fontbox-0.1.0.ebuild:
+ Initial addition. Ebuild written by me. Fixes bug #161929.
+
--- /dev/null
+MD5 c01ac535f0010306984ee44b7f2dbec3 FontBox-0.1.0.zip 6300997
+RMD160 52744b6c10d5da13d11fb9045cd7802dbcc153c6 FontBox-0.1.0.zip 6300997
+SHA256 83f8d121753589f4b2a558bdb028b3ebbad0a6c07cf1bc0be6d0dd6bf9091aa0 FontBox-0.1.0.zip 6300997
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fontbox/fontbox-0.1.0.ebuild,v 1.1 2007/01/24 14:47:10 betelgeuse Exp $
+
+WANT_ANT_TASKS="ant-nodeps"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="An open source Java library for parsing font files"
+HOMEPAGE="http://www.fontbox.org/"
+MY_PN=FontBox
+MY_P=${MY_PN}-${PV}
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v lib/*.jar
+}
+
+EANT_BUILD_TARGET="package"
+
+#These are not in the zip
+#Probably only in CVS
+#src_test() {
+# eant junit
+#}
+
+src_install() {
+ java-pkg_newjar ./lib/${MY_P}.jar ${PN}.jar
+ mv docs/javadoc . || die
+ dohtml -r docs/*
+ use doc && java-pkg_dojavadoc javadoc/
+ mv javadoc docs
+ use source && java-pkg_dosrc src/org
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+
+ <longdescription lang="en">
+ FontBox is a Java font library used to obtain low level information
+ from font files.
+ </longdescription>
+ <longdescription lang="fi">
+ FontBox on Java-kirjasto alhaisen tason tiedon noutamiseen fontti-
+ tiedostoista.
+ </longdescription>
+</pkgmetadata>