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 | 4ca7194932b21f8524ec9a5a798b8936ebeb765d (patch) | |
tree | 4bd0676aa6506110a7dee6dfbe61020ac410b520 /dev-java/mockmaker | |
parent | fixed typo (diff) | |
download | historical-4ca7194932b21f8524ec9a5a798b8936ebeb765d.tar.gz historical-4ca7194932b21f8524ec9a5a798b8936ebeb765d.tar.bz2 historical-4ca7194932b21f8524ec9a5a798b8936ebeb765d.zip |
Initial import. Dependency of #63290.
Diffstat (limited to 'dev-java/mockmaker')
-rw-r--r-- | dev-java/mockmaker/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/mockmaker/Manifest | 4 | ||||
-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, 63 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..ee06a8921d6d --- /dev/null +++ b/dev-java/mockmaker/Manifest @@ -0,0 +1,4 @@ +MD5 71748eb7b83c80c5e51ed67b830e3f4f mockmaker-1.12.0_p20050104.ebuild 1047 +MD5 b3ba6f28c08bb46a220f8d6f87e5b01c ChangeLog 413 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +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 +} |