Migrated to gen 2, updated copyrights
authorWilliam Thomson <wltjr@gentoo.org>
Sun, 28 Jan 2007 20:52:04 +0000 (20:52 +0000)
committerWilliam Thomson <wltjr@gentoo.org>
Sun, 28 Jan 2007 20:52:04 +0000 (20:52 +0000)
Package-Manager: portage-2.1.2-r1

dev-java/tagunit/ChangeLog
dev-java/tagunit/files/digest-tagunit-1.0.1
dev-java/tagunit/files/digest-tagunit-1.0.1-r1 [new file with mode: 0644]
dev-java/tagunit/tagunit-1.0.1-r1.ebuild [new file with mode: 0644]
dev-java/tagunit/tagunit-1.0.1.ebuild

index 4930c63823a1fcd8c105e90ccbfca91fe47fd57b..8ddee44ab8b8b400f7b20268b098172da5e2561b 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/tagunit
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/ChangeLog,v 1.9 2005/04/30 21:17:18 luckyduck Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/ChangeLog,v 1.10 2007/01/28 20:52:04 wltjr Exp $
+
+*tagunit-1.0.1-r1 (28 Jan 2007)
+
+  28 Jan 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+  +tagunit-1.0.1-r1.ebuild:
+  Migrated to gen 2, updated copyrights
 
   30 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> tagunit-1.0.1.ebuild:
   added ~ppc to KEYWORDS. introduced support for the source useflag
index 9d05b99e5c1ab6b43ee26c5db2ebebed36e27101..1713efda9832b81f9713ad86be1685b135506bf0 100644 (file)
@@ -1 +1,3 @@
 MD5 1e70fff14c69887cd7ac554c586cf49d tagunit-1.0.1-src.zip 290460
+RMD160 0b2e281b68576d943de5437b3503bf8fc47ecb8c tagunit-1.0.1-src.zip 290460
+SHA256 5ecac67f63cbcde036caaf08a4dc5d544b644337e9ed0afd7e30117f5a8f940e tagunit-1.0.1-src.zip 290460
diff --git a/dev-java/tagunit/files/digest-tagunit-1.0.1-r1 b/dev-java/tagunit/files/digest-tagunit-1.0.1-r1
new file mode 100644 (file)
index 0000000..1713efd
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 1e70fff14c69887cd7ac554c586cf49d tagunit-1.0.1-src.zip 290460
+RMD160 0b2e281b68576d943de5437b3503bf8fc47ecb8c tagunit-1.0.1-src.zip 290460
+SHA256 5ecac67f63cbcde036caaf08a4dc5d544b644337e9ed0afd7e30117f5a8f940e tagunit-1.0.1-src.zip 290460
diff --git a/dev-java/tagunit/tagunit-1.0.1-r1.ebuild b/dev-java/tagunit/tagunit-1.0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..4b9d2be
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/tagunit-1.0.1-r1.ebuild,v 1.1 2007/01/28 20:52:04 wltjr Exp $
+
+inherit java-ant-2 java-pkg-2
+
+DESCRIPTION="TagUnit is a tag library for testing custom tags within JSP pages."
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://www.tagunit.org"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="doc source"
+
+RDEPEND="|| ( =virtual/jre-1.3 =virtual/jre-1.4* )
+       =dev-java/servletapi-2.4*"
+
+DEPEND=" || ( =virtual/jdk-1.3 =virtual/jdk-1.4* )
+       ${RDEPEND}
+       >=dev-java/ant-core-1.6
+       app-arch/unzip
+       source? ( app-arch/zip )"
+
+S="${WORKDIR}/${P}-src/tagunit-core"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       java-ant_rewrite-classpath
+}
+
+src_compile() {
+       echo ${PV} > ../version.txt
+       mkdir ../lib
+
+       local antflags="build"
+       antflags="${antflags} -Dgentoo.classpath=$(java-pkg_getjars ant-core,servletapi-2.4)"
+       eant ${antflags} $(use_doc javadoc)
+}
+
+src_install() {
+       java-pkg_dojar lib/${PN}.jar
+       cd ${S}/..
+       dodoc changes.txt readme.txt
+       use doc && java-pkg_dohtml -r doc/api/*
+       use source && java-pkg_dosrc tagunit-core/src/*
+}
index bac15aa5c2b265b4f3c08d4e8b0f66e53b9a7a93..802217ff1d7b49cd1549050534184877cf28e3db 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/tagunit-1.0.1.ebuild,v 1.11 2005/07/15 14:39:20 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tagunit/tagunit-1.0.1.ebuild,v 1.12 2007/01/28 20:52:04 wltjr Exp $
 
 inherit java-pkg