Initial addition. Ebuild written by me. Fixes bug #161929.
authorPetteri Räty <betelgeuse@gentoo.org>
Wed, 24 Jan 2007 14:47:10 +0000 (14:47 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Wed, 24 Jan 2007 14:47:10 +0000 (14:47 +0000)
Package-Manager: portage-2.1.2-r1

dev-java/fontbox/ChangeLog [new file with mode: 0644]
dev-java/fontbox/files/digest-fontbox-0.1.0 [new file with mode: 0644]
dev-java/fontbox/fontbox-0.1.0.ebuild [new file with mode: 0644]
dev-java/fontbox/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/fontbox/ChangeLog b/dev-java/fontbox/ChangeLog
new file mode 100644 (file)
index 0000000..991582a
--- /dev/null
@@ -0,0 +1,10 @@
+# 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.
+
diff --git a/dev-java/fontbox/files/digest-fontbox-0.1.0 b/dev-java/fontbox/files/digest-fontbox-0.1.0
new file mode 100644 (file)
index 0000000..c264472
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 c01ac535f0010306984ee44b7f2dbec3 FontBox-0.1.0.zip 6300997
+RMD160 52744b6c10d5da13d11fb9045cd7802dbcc153c6 FontBox-0.1.0.zip 6300997
+SHA256 83f8d121753589f4b2a558bdb028b3ebbad0a6c07cf1bc0be6d0dd6bf9091aa0 FontBox-0.1.0.zip 6300997
diff --git a/dev-java/fontbox/fontbox-0.1.0.ebuild b/dev-java/fontbox/fontbox-0.1.0.ebuild
new file mode 100644 (file)
index 0000000..3984cbf
--- /dev/null
@@ -0,0 +1,50 @@
+# 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
+}
diff --git a/dev-java/fontbox/metadata.xml b/dev-java/fontbox/metadata.xml
new file mode 100644 (file)
index 0000000..68b773e
--- /dev/null
@@ -0,0 +1,14 @@
+<?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>