summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-12 10:55:07 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-12 10:55:07 +0000
commit23cdd29cb1a42d2cfb663aac09d23a055a9fc557 (patch)
treee28c76fca437c603e1d818875f4fdeb5d41de472 /dev-java/mockmaker
parentBump RSBAC 1.3.1 & fix headers (diff)
downloadgentoo-2-23cdd29cb1a42d2cfb663aac09d23a055a9fc557.tar.gz
gentoo-2-23cdd29cb1a42d2cfb663aac09d23a055a9fc557.tar.bz2
gentoo-2-23cdd29cb1a42d2cfb663aac09d23a055a9fc557.zip
Migrated to generation 2 and added the source use flag. No javadoc support in the build.xml so made it always install the couple of html files that were previously under the doc use flag.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'dev-java/mockmaker')
-rw-r--r--dev-java/mockmaker/ChangeLog12
-rw-r--r--dev-java/mockmaker/files/digest-mockmaker-1.12.0_p200501042
-rw-r--r--dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104-r13
-rw-r--r--dev-java/mockmaker/mockmaker-1.12.0_p20050104-r1.ebuild41
4 files changed, 56 insertions, 2 deletions
diff --git a/dev-java/mockmaker/ChangeLog b/dev-java/mockmaker/ChangeLog
index 4605aeabf756..35dcf0fcd12b 100644
--- a/dev-java/mockmaker/ChangeLog
+++ b/dev-java/mockmaker/ChangeLog
@@ -1,6 +1,14 @@
# 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.3 2005/05/04 20:06:36 luckyduck Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mockmaker/ChangeLog,v 1.4 2007/01/12 10:55:07 betelgeuse Exp $
+
+*mockmaker-1.12.0_p20050104-r1 (12 Jan 2007)
+
+ 12 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +mockmaker-1.12.0_p20050104-r1.ebuild:
+ Migrated to generation 2 and added the source use flag. No javadoc support
+ in the build.xml so made it always install the couple of html files that
+ were previously under the doc use flag.
04 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
mockmaker-1.12.0_p20050104.ebuild:
diff --git a/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104 b/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104
index 7c340030deac..ea912c06e04a 100644
--- a/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104
+++ b/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104
@@ -1 +1,3 @@
MD5 53a0f0c6a4b7a62ea08b426e974058a7 mockmaker-1.12.0_p20050104.tar.bz2 263986
+RMD160 a52109da312dd1537966842ffdc7630b307fd05b mockmaker-1.12.0_p20050104.tar.bz2 263986
+SHA256 5feef7ca748e2e167da64459262b08b3824c7f0323419d01820ea1e99add31a9 mockmaker-1.12.0_p20050104.tar.bz2 263986
diff --git a/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104-r1 b/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104-r1
new file mode 100644
index 000000000000..ea912c06e04a
--- /dev/null
+++ b/dev-java/mockmaker/files/digest-mockmaker-1.12.0_p20050104-r1
@@ -0,0 +1,3 @@
+MD5 53a0f0c6a4b7a62ea08b426e974058a7 mockmaker-1.12.0_p20050104.tar.bz2 263986
+RMD160 a52109da312dd1537966842ffdc7630b307fd05b mockmaker-1.12.0_p20050104.tar.bz2 263986
+SHA256 5feef7ca748e2e167da64459262b08b3824c7f0323419d01820ea1e99add31a9 mockmaker-1.12.0_p20050104.tar.bz2 263986
diff --git a/dev-java/mockmaker/mockmaker-1.12.0_p20050104-r1.ebuild b/dev-java/mockmaker/mockmaker-1.12.0_p20050104-r1.ebuild
new file mode 100644
index 000000000000..db76d1047e1c
--- /dev/null
+++ b/dev-java/mockmaker/mockmaker-1.12.0_p20050104-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/01/12 10:55:07 betelgeuse Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Program for automatically creating source code for mock object."
+HOMEPAGE="http://mockmaker.sourceforge.net"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="1.12"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="source"
+
+RDEPEND=">=virtual/jre-1.4
+ ~dev-java/qdox-20050104"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ rm -v *.jar
+ java-pkg_jar-from qdox-1.6
+ java-pkg_jar-from junit
+ java-pkg_jar-from ant-core
+ java-pkg_jar-from mockobjects
+}
+
+src_compile() {
+ eant compile # no javadoc support in build.xml
+}
+
+src_install() {
+ java-pkg_dojar dist/tmp/${PN}.jar
+
+ dohtml -r docs/website/*
+ use source && java-pkg_dosrc src/*
+}