diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-04 23:13:33 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-04 23:13:33 +0000 |
commit | e74fe6426f939ed80bd2ce0ade5f4b4407101af5 (patch) | |
tree | 0993d9c671a515e142cafbe021f73272ba0e8b40 | |
parent | fixed typo (diff) | |
download | gentoo-2-e74fe6426f939ed80bd2ce0ade5f4b4407101af5.tar.gz gentoo-2-e74fe6426f939ed80bd2ce0ade5f4b4407101af5.tar.bz2 gentoo-2-e74fe6426f939ed80bd2ce0ade5f4b4407101af5.zip |
Initial import. Dependency of #63290.
-rw-r--r-- | dev-java/mockmaker/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/mockmaker/Manifest | 2 | ||||
-rw-r--r-- | dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104 | 1 | ||||
-rw-r--r-- | dev-java/mockmaker/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/mockmaker/mockmaker-1.12.0_p20050104.ebuild | 43 |
5 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/mockmaker/ChangeLog b/dev-java/mockmaker/ChangeLog new file mode 100644 index 000000000000..a7c036b60f91 --- /dev/null +++ b/dev-java/mockmaker/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/mockmaker +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/mockmaker/ChangeLog,v 1.1 2005/01/04 23:13:33 luckyduck Exp $ + +*mockmaker-1.12.0_p20050104 (05 Jan 2005) + + 05 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> + +mockmaker-1.12.0_p20050104.ebuild: + Initial import. Ebuild provided by myself. Dependency of #63290. + diff --git a/dev-java/mockmaker/Manifest b/dev-java/mockmaker/Manifest new file mode 100644 index 000000000000..fa74aa446bc9 --- /dev/null +++ b/dev-java/mockmaker/Manifest @@ -0,0 +1,2 @@ +MD5 9c2ddd4bd6739cf908b28d0d9809d12b mockmaker-1.12.0_p20050104.ebuild 981 +MD5 cd7215d2bd3ac5807cc1fb09071cfb51 files/digest-mockmaker-1.12.0_p20050104 79 diff --git a/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104 b/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104 new file mode 100644 index 000000000000..7c340030deac --- /dev/null +++ b/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104 @@ -0,0 +1 @@ +MD5 53a0f0c6a4b7a62ea08b426e974058a7 mockmaker-1.12.0_p20050104.tar.bz2 263986 diff --git a/dev-java/mockmaker/metadata.xml b/dev-java/mockmaker/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/mockmaker/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> diff --git a/dev-java/mockmaker/mockmaker-1.12.0_p20050104.ebuild b/dev-java/mockmaker/mockmaker-1.12.0_p20050104.ebuild new file mode 100644 index 000000000000..c122d1a65ffa --- /dev/null +++ b/dev-java/mockmaker/mockmaker-1.12.0_p20050104.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/mockmaker/mockmaker-1.12.0_p20050104.ebuild,v 1.1 2005/01/04 23:13:33 luckyduck Exp $ + +inherit java-pkg + +DESCRIPTION="Program for automatically creating source code for mock object." +SRC_URI="mirror://gentoo/${P}.tar.bz2" +HOMEPAGE="http://mockmaker.sourceforge.net" +LICENSE="MIT" +SLOT="1.12" +KEYWORDS="~x86 ~amd64" +IUSE="jikes" +DEPEND=">=virtual/jdk-1.4 + jikes? ( >=dev-java/jikes-1.21 ) + >=dev-java/ant-core-1.4 + ~dev-java/qdox-20050104" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + cd ${S}/lib + + # we keep mmmockobjects.jar since it's used for bootstrapping + java-pkg_jar-from qdox-1.6 +} + +src_compile() { + local antflags="compile" + if use jikes; then + antflags="${antflags} -Dbuild.compiler=jikes" + fi + ant ${antflags} || die "failed to build" +} + +src_install() { + java-pkg_dojar dist/tmp/${PN}.jar + dodoc LICENSE.txt README.txt + + if use doc; then + java-pkg_dohtml -r doc/* + fi +} |