From 3bb0914b7c762a331e22e49a5a2bb18c8cb838dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Wed, 24 Jan 2007 14:47:10 +0000 Subject: [PATCH] Initial addition. Ebuild written by me. Fixes bug #161929. Package-Manager: portage-2.1.2-r1 --- dev-java/fontbox/ChangeLog | 10 +++++ dev-java/fontbox/files/digest-fontbox-0.1.0 | 3 ++ dev-java/fontbox/fontbox-0.1.0.ebuild | 50 +++++++++++++++++++++ dev-java/fontbox/metadata.xml | 14 ++++++ 4 files changed, 77 insertions(+) create mode 100644 dev-java/fontbox/ChangeLog create mode 100644 dev-java/fontbox/files/digest-fontbox-0.1.0 create mode 100644 dev-java/fontbox/fontbox-0.1.0.ebuild create mode 100644 dev-java/fontbox/metadata.xml diff --git a/dev-java/fontbox/ChangeLog b/dev-java/fontbox/ChangeLog new file mode 100644 index 000000000000..991582a64fa9 --- /dev/null +++ b/dev-java/fontbox/ChangeLog @@ -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 +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 index 000000000000..c264472ed352 --- /dev/null +++ b/dev-java/fontbox/files/digest-fontbox-0.1.0 @@ -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 index 000000000000..3984cbf147a3 --- /dev/null +++ b/dev-java/fontbox/fontbox-0.1.0.ebuild @@ -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 index 000000000000..68b773e99567 --- /dev/null +++ b/dev-java/fontbox/metadata.xml @@ -0,0 +1,14 @@ + + + + java + + + FontBox is a Java font library used to obtain low level information + from font files. + + + FontBox on Java-kirjasto alhaisen tason tiedon noutamiseen fontti- + tiedostoista. + + -- 2.26.2