summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2008-02-14 03:06:43 +0000
committerWilliam Thomson <wltjr@gentoo.org>2008-02-14 03:06:43 +0000
commit365ee2f3fd20a6c02f5bd63ac1d509859febc1db (patch)
treecb76511b39708b344c6eb92e2e221e2f27db5760 /dev-java
parentSwitched to java-virtuals/servlet-api, set EAPI=1 and switched to slot deps. ... (diff)
downloadgentoo-2-365ee2f3fd20a6c02f5bd63ac1d509859febc1db.tar.gz
gentoo-2-365ee2f3fd20a6c02f5bd63ac1d509859febc1db.tar.bz2
gentoo-2-365ee2f3fd20a6c02f5bd63ac1d509859febc1db.zip
Switched to java-virtuals/servlet-api, set EAPI=1 and switched to slot deps. Set JAVA_PKG_IUSE. Removed previous version.
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/cos/cos-20021105-r2.ebuild (renamed from dev-java/cos/cos-20021105-r1.ebuild)14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-java/cos/cos-20021105-r1.ebuild b/dev-java/cos/cos-20021105-r2.ebuild
index 571b92d03fd6..b0aeca67f433 100644
--- a/dev-java/cos/cos-20021105-r1.ebuild
+++ b/dev-java/cos/cos-20021105-r2.ebuild
@@ -1,7 +1,9 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/cos-20021105-r1.ebuild,v 1.3 2007/05/04 16:15:13 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cos/cos-20021105-r2.ebuild,v 1.1 2008/02/14 03:06:43 wltjr Exp $
+EAPI=1
+JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
MY_PV=05Nov2002
@@ -13,12 +15,11 @@ SRC_URI="http://servlets.com/${PN}/${MY_P}.zip"
LICENSE="cos"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE=""
RDEPEND=">=virtual/jre-1.4
- =dev-java/servletapi-2.3*"
+ java-virtuals/servlet-api:2.3"
DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
${RDEPEND}"
S=${WORKDIR}
@@ -30,9 +31,9 @@ src_unpack() {
# so i'll just delete it for now..
rm src/com/oreilly/servlet/CacheHttpServlet.java
- cp ${FILESDIR}/build-${PV}.xml build.xml
+ cp "${FILESDIR}"/build-${PV}.xml build.xml
cat > build.properties <<-EOF
- classpath=$(java-pkg_getjars servletapi-2.3)
+ classpath=$(java-pkg_getjars servlet-api-2.3)
EOF
}
@@ -45,4 +46,5 @@ src_install() {
dodoc readme.txt license.txt || die
use doc && java-pkg_dojavadoc dist/doc/api
+ use source && java-pkg_dosrc src/com
}