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
commit694494ab21ca3cabc2f50401ec993b7c20c654d1 (patch)
treec54e9a0e4f263b3d22146a3199cbb17543a8036d /dev-java/cos
parentSwitched to java-virtuals/servlet-api, set EAPI=1 and switched to slot deps. ... (diff)
downloadhistorical-694494ab21ca3cabc2f50401ec993b7c20c654d1.tar.gz
historical-694494ab21ca3cabc2f50401ec993b7c20c654d1.tar.bz2
historical-694494ab21ca3cabc2f50401ec993b7c20c654d1.zip
Switched to java-virtuals/servlet-api, set EAPI=1 and switched to slot deps. Set JAVA_PKG_IUSE. Removed previous version.
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-java/cos')
-rw-r--r--dev-java/cos/Manifest2
-rw-r--r--dev-java/cos/cos-20021105-r2.ebuild (renamed from dev-java/cos/cos-20021105-r1.ebuild)14
2 files changed, 9 insertions, 7 deletions
diff --git a/dev-java/cos/Manifest b/dev-java/cos/Manifest
index a35f7d6e58e2..ab2a219ee86d 100644
--- a/dev-java/cos/Manifest
+++ b/dev-java/cos/Manifest
@@ -1,5 +1,5 @@
AUX build-20021105.xml 1546 RMD160 ebd507967b0bb2fabe2aac044ef60e3785189654 SHA1 68699e0269a51d6f4eba82e5b15bd485974d8084 SHA256 db486d24f063b5ec263d6da56b52dd2a7cae686cb9c347fb9702cc0d3dda7868
DIST cos-05Nov2002.zip 372387 RMD160 74b16e245513750cd81f362325c0da58ed1c2f8c SHA1 f8e45bc5b86bb9a14133ce63b036d113728039ca SHA256 96f9959e8252eddacce24b592a9c4c1dbf0082749115d7e75619504f70df1d90
-EBUILD cos-20021105-r1.ebuild 1175 RMD160 403c8bb11553b8c305785449f813afe717c42c55 SHA1 67bea9273ac6d2e8a59d5a82280231ced95e9072 SHA256 b3a46cbfd2a70d99211643a76790112468cb34311cae680b070658ae95411221
+EBUILD cos-20021105-r2.ebuild 1230 RMD160 50d4bef47e866504ddbaa1b67326b6966f38ae71 SHA1 6cf09bc444a61caf64cdab89d4e4f429eedadb60 SHA256 ad706df07c72d1d9c76d934a6c0ede86f80e43c18dc4273693e72fe77c64ca8d
MISC ChangeLog 722 RMD160 7ce211fbe76273d6cc1f9605e0decf58beb87000 SHA1 163840ea7756b8700df0bcb412ef0dce6e1a7ed3 SHA256 87e27322fa6496017d75cdb66beba068e8839ef38486a7651e6483ef3f79e603
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
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
}