diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-03-29 23:46:04 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-03-29 23:46:04 +0000 |
commit | ff3cc3b43e85d0218076891415d58472c4202993 (patch) | |
tree | 874b3cd96b96dda027272b9b14d11ee5f6d405d1 /dev-java | |
parent | Masked dnsmasq 2.21 (diff) | |
download | gentoo-2-ff3cc3b43e85d0218076891415d58472c4202993.tar.gz gentoo-2-ff3cc3b43e85d0218076891415d58472c4202993.tar.bz2 gentoo-2-ff3cc3b43e85d0218076891415d58472c4202993.zip |
Don't smack your forehead! Make it load your classes :-)
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/forehead/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/forehead/Manifest | 3 | ||||
-rw-r--r-- | dev-java/forehead/files/build.xml | 26 | ||||
-rw-r--r-- | dev-java/forehead/files/digest-forehead-1.0_beta5 | 1 | ||||
-rw-r--r-- | dev-java/forehead/forehead-1.0_beta5.ebuild | 45 | ||||
-rw-r--r-- | dev-java/forehead/metadata.xml | 12 |
6 files changed, 97 insertions, 0 deletions
diff --git a/dev-java/forehead/ChangeLog b/dev-java/forehead/ChangeLog new file mode 100644 index 000000000000..d5425e296d64 --- /dev/null +++ b/dev-java/forehead/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/forehead +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/forehead/ChangeLog,v 1.1 2005/03/29 23:46:04 compnerd Exp $ + +*forehead-1.0_beta5 (29 Mar 2005) + + 29 Mar 2005; Saleem Abdulrasool <compnerd@gentoo.org> +files/build.xml, + +forehead-1.0_beta5.ebuild: + Initial import; Resolves bug #70843 + diff --git a/dev-java/forehead/Manifest b/dev-java/forehead/Manifest new file mode 100644 index 000000000000..515f98837dde --- /dev/null +++ b/dev-java/forehead/Manifest @@ -0,0 +1,3 @@ +MD5 440e1d960b019fc93568977b770c3b02 forehead-1.0_beta5.ebuild 955 +MD5 8e3682b89c499d6bd691457bb8bc96ad files/build.xml 815 +MD5 e735d8acbc33f698e1cbfc3218f4138a files/digest-forehead-1.0_beta5 67 diff --git a/dev-java/forehead/files/build.xml b/dev-java/forehead/files/build.xml new file mode 100644 index 000000000000..8500031afabb --- /dev/null +++ b/dev-java/forehead/files/build.xml @@ -0,0 +1,26 @@ +<project name="forehead" default="jar" basedir="."> + <property name="src" value="src"/> + <property name="build" value="build"/> + <property name="dest" value="dest"/> + <property name="docs" value="docs"/> + <property name="packages" value="com.werken.forehead.*"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + <mkdir dir="${dest}"/> + <mkdir dir="${docs}"/> + </target> + + <target name="compile" depends="init"> + <javac srcdir="${src}" destdir="${build}"/> + </target> + + <target name="jar" depends="compile"> + <jar destfile="${dest}/forehead-${version}.jar" basedir="${build}"/> + </target> + + <target name="javadoc" depends="compile,jar"> + <javadoc packagenames="${packages}" sourcepath="${src}/java" destdir="${docs}"/> + </target> +</project> diff --git a/dev-java/forehead/files/digest-forehead-1.0_beta5 b/dev-java/forehead/files/digest-forehead-1.0_beta5 new file mode 100644 index 000000000000..04f15828b190 --- /dev/null +++ b/dev-java/forehead/files/digest-forehead-1.0_beta5 @@ -0,0 +1 @@ +MD5 1af49db63178aefe24c7217430658bb5 forehead-1.0_beta5.tbz2 15665 diff --git a/dev-java/forehead/forehead-1.0_beta5.ebuild b/dev-java/forehead/forehead-1.0_beta5.ebuild new file mode 100644 index 000000000000..438659fa4d7b --- /dev/null +++ b/dev-java/forehead/forehead-1.0_beta5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/forehead/forehead-1.0_beta5.ebuild,v 1.1 2005/03/29 23:46:04 compnerd Exp $ + +inherit java-pkg + +DESCRIPTION="A framework to assist in controlling the run-time ClassLoader" +HOMEPAGE="http://forehead.werken.com" +SRC_URI="mirror://gentoo/forehead-${PV}.tbz2" + +LICENSE="Werken-1.1.1.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.3" + +S=${WORKDIR}/forehead + +src_unpack() { + unpack ${A} || die "Unpack failed!" + + # Copy over the new build.xml + cp ${FILESDIR}/build.xml ${S} +} + +src_compile() { + cd ${S} + + local antflags="-Dversion=${PV}" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + + ant -f build.xml ${antflags} || die "Compile failed!" +} + +src_install() { + java-pkg_dojar ${S}/dest/forehead-${PV}.jar + + dodoc LICENSE.txt + use doc && java-pkg_dohtml docs/* +} diff --git a/dev-java/forehead/metadata.xml b/dev-java/forehead/metadata.xml new file mode 100644 index 000000000000..c74025e07608 --- /dev/null +++ b/dev-java/forehead/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>compnerd@gentoo.org</email> + <name>Saleem Abdulrasool</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> + |