diff options
Diffstat (limited to 'dev-java/jmock/jmock-1.1.0-r1.ebuild')
-rw-r--r-- | dev-java/jmock/jmock-1.1.0-r1.ebuild | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/dev-java/jmock/jmock-1.1.0-r1.ebuild b/dev-java/jmock/jmock-1.1.0-r1.ebuild deleted file mode 100644 index 7576b5cbaf1d..000000000000 --- a/dev-java/jmock/jmock-1.1.0-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jmock/jmock-1.1.0-r1.ebuild,v 1.3 2007/04/12 14:08:06 welp Exp $ - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Library for testing Java code using mock objects." -SRC_URI="http://${PN}.codehaus.org/${P}-src.zip" -HOMEPAGE="http://jmock.codehaus.org" -LICENSE="BSD" -SLOT="1.0" -KEYWORDS="amd64 x86" -IUSE="doc examples source" - -COMMON_DEPEND=" - =dev-java/cglib-2.0* - =dev-java/junit-3*" - -RDEPEND=">=virtual/jre-1.4 - ${COMMON_DEPEND}" - -DEPEND=">=virtual/jdk-1.4 - ${COMMON_DEPEND} - dev-java/ant-core - app-arch/unzip - source? ( app-arch/zip )" - -src_unpack() { - unpack ${A} - - cd ${S} - epatch "${FILESDIR}/1.1.0-build.xml.patch" - epatch "${FILESDIR}/1.1.0-junit-3.8.2.patch" - - cd ${S}/lib - rm *.jar - java-pkg_jar-from cglib-2 - java-pkg_jar-from junit -} - -EANT_BUILD_TARGET="core.jar cglib.jar" - -src_test() { - eant core.test.unit cglib.test.unit -} - -src_install() { - java-pkg_newjar build/dist/jars/${PN}-SNAPSHOT.jar ${PN}.jar - java-pkg_newjar build/dist/jars/${PN}-cglib-SNAPSHOT.jar ${PN}-cglib.jar - dodoc CHANGELOG - dohtml overview.html - - use doc && java-pkg_dojavadoc build/javadoc-* - use source && java-pkg_dosrc core/src/org - if use examples; then - dodir /usr/share/doc/${PF}/examples - cp -r examples/* ${D}/usr/share/doc/${PF}/examples - fi -} |