summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-15 19:16:35 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-15 19:16:35 +0000
commit634589141744af4e7e752519b564d090cfbebd94 (patch)
treea653d61b47345ec84da4debaebce38f3ba0368f0 /dev-java/mckoi
parentRemoved threads USE flag and hard-coded --enable-mt again as linphone will no... (diff)
downloadgentoo-2-634589141744af4e7e752519b564d090cfbebd94.tar.gz
gentoo-2-634589141744af4e7e752519b564d090cfbebd94.tar.bz2
gentoo-2-634589141744af4e7e752519b564d090cfbebd94.zip
dep/style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/mckoi')
-rw-r--r--dev-java/mckoi/ChangeLog4
-rw-r--r--dev-java/mckoi/mckoi-1.0.2.ebuild25
-rw-r--r--dev-java/mckoi/mckoi-1.0.3.ebuild23
3 files changed, 25 insertions, 27 deletions
diff --git a/dev-java/mckoi/ChangeLog b/dev-java/mckoi/ChangeLog
index 6aac37619b2e..2f4b098e02f1 100644
--- a/dev-java/mckoi/ChangeLog
+++ b/dev-java/mckoi/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for dev-java/mckoi
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/ChangeLog,v 1.7 2004/12/21 11:51:11 axxo Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/ChangeLog,v 1.8 2005/07/15 19:16:35 axxo Exp $
*mckoi-1.0.3 (21 Dec 2004)
diff --git a/dev-java/mckoi/mckoi-1.0.2.ebuild b/dev-java/mckoi/mckoi-1.0.2.ebuild
index 1c53a8cff754..1bfb1d44b7f7 100644
--- a/dev-java/mckoi/mckoi-1.0.2.ebuild
+++ b/dev-java/mckoi/mckoi-1.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/mckoi-1.0.2.ebuild,v 1.6 2004/12/21 11:42:58 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/mckoi-1.0.2.ebuild,v 1.7 2005/07/15 19:16:35 axxo Exp $
inherit java-pkg
@@ -11,9 +11,11 @@ LICENSE="GPL-2"
SLOT="1"
KEYWORDS="x86"
IUSE="doc"
-DEPEND="=dev-java/gnu-regexp-1.1*
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/gnu-regexp-1.1*"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
app-arch/unzip"
-#RDEPEND=""
S=${WORKDIR}/${PN}${PV}
src_unpack() {
@@ -27,7 +29,7 @@ src_unpack() {
}
src_compile() {
- javac -classpath src:lib:$(java-config -p gnu-regexp-1) -d lib/ \
+ javac -classpath src:lib:$(java-pkg_getjars gnu-regexp-1) -d lib/ \
src/com/mckoi/runtime/McKoiDBMain.java \
src/com/mckoi/JDBCDriver.java \
src/com/mckoi/database/jdbcserver/DefaultLocalBootable.java \
@@ -35,11 +37,10 @@ src_compile() {
src/com/mckoi/database/control/*.java \
src/com/mckoi/tools/*.java \
src/com/mckoi/database/regexbridge/GNURegex.java || die
- (
- cd lib
- jar cf mckoidb-${PV}.jar com
- )
- if (use doc) ; then
+ cd lib
+ jar cf mckoidb.jar com || die "failed too make jar"
+ cd ${S}
+ if use doc; then
javadoc \
src/com/mckoi/runtime/McKoiDBMain.java \
src/com/mckoi/JDBCDriver.java \
@@ -52,7 +53,7 @@ src_compile() {
}
src_install() {
- dodoc LICENSE.txt README.txt db.conf
- java-pkg_dojar lib/mckoidb-${PV}.jar
+ dodoc README.txt db.conf
+ java-pkg_dojar lib/mckoidb.jar
use doc && java-pkg_dohtml -r docs
}
diff --git a/dev-java/mckoi/mckoi-1.0.3.ebuild b/dev-java/mckoi/mckoi-1.0.3.ebuild
index 6d4586472ede..ef14e39e1ab6 100644
--- a/dev-java/mckoi/mckoi-1.0.3.ebuild
+++ b/dev-java/mckoi/mckoi-1.0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/mckoi-1.0.3.ebuild,v 1.2 2004/12/21 12:04:06 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mckoi/mckoi-1.0.3.ebuild,v 1.3 2005/07/15 19:16:35 axxo Exp $
inherit eutils java-pkg
@@ -9,14 +9,15 @@ HOMEPAGE="http://mckoi.com/database/"
SRC_URI="http://www.mckoi.com/database/ver/${P/-/}.zip"
LICENSE="GPL-2"
SLOT="1"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE="doc jikes"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/gnu-regexp-1.1*"
DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
>=dev-java/ant-core-1.6.2
app-arch/unzip
jikes? ( >=dev-java/jikes-1.21 )"
-RDEPEND=">=virtual/jre-1.4
- =dev-java/gnu-regexp-1.1*"
S=${WORKDIR}/${P/-/}
@@ -31,7 +32,7 @@ src_unpack() {
rm *.jar
cp ${FILESDIR}/build.xml .
- echo "gnu-regexp.jar=`java-config -p gnu-regexp-1`" > build.properties
+ echo "gnu-regexp.jar=$(java-pkg_getjars gnu-regexp-1)" > build.properties
cd src/
rm -rf net
@@ -39,17 +40,13 @@ src_unpack() {
src_compile() {
local antflags="jar"
- if use doc; then
- antflags="${antflags} docs"
- fi
- if use jikes; then
- antflags="${antflags} -Dbuild.compiler=jikes"
- fi
+ use doc && antflags="${antflags} docs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "compiling failed"
}
src_install() {
- dodoc LICENSE.txt README.txt db.conf
+ dodoc README.txt db.conf
java-pkg_dojar dist/mckoidb.jar
if use doc; then