diff options
author | Maik Schreiber <blizzy@gentoo.org> | 2002-07-08 21:03:44 +0000 |
---|---|---|
committer | Maik Schreiber <blizzy@gentoo.org> | 2002-07-08 21:03:44 +0000 |
commit | e0f965484c7b59b41a1336fa2936fa4d89239909 (patch) | |
tree | d49b9b98aba9dbaf99dbe4907e2a1bc384aa53f5 /app-editors/jedit | |
parent | minor changes (diff) | |
download | gentoo-2-e0f965484c7b59b41a1336fa2936fa4d89239909.tar.gz gentoo-2-e0f965484c7b59b41a1336fa2936fa4d89239909.tar.bz2 gentoo-2-e0f965484c7b59b41a1336fa2936fa4d89239909.zip |
minor changes
Diffstat (limited to 'app-editors/jedit')
-rw-r--r-- | app-editors/jedit/jedit-4.0.3.ebuild | 24 | ||||
-rw-r--r-- | app-editors/jedit/jedit-4.0.ebuild | 18 |
2 files changed, 32 insertions, 10 deletions
diff --git a/app-editors/jedit/jedit-4.0.3.ebuild b/app-editors/jedit/jedit-4.0.3.ebuild index edcfc947232b..7e30b71fa37a 100644 --- a/app-editors/jedit/jedit-4.0.3.ebuild +++ b/app-editors/jedit/jedit-4.0.3.ebuild @@ -1,20 +1,32 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author: Maik Schreiber <bZ@iq-computing.de> -# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.0.3.ebuild,v 1.1 2002/07/02 17:53:57 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.0.3.ebuild,v 1.2 2002/07/08 21:02:50 blizzy Exp $ S="${WORKDIR}/jEdit" DESCRIPTION="Programmer's editor written in Java" HOMEPAGE="http://www.jedit.org" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/jedit/jedit403source.tar.gz" LICENSE="GPL-2" -DEPEND=">=dev-java/ant-1.4.1 >=dev-java/jikes-1.15" +SLOT="0" +KEYWORDS="*" + RDEPEND=">=virtual/jdk-1.3" -SRC_URI="http://unc.dl.sourceforge.net/sourceforge/jedit/jedit403source.tar.gz" +DEPEND="${RDEPEND} + >=dev-java/ant-1.4.1 + jikes? ( >=dev-java/jikes-1.15 )" src_compile() { - einfo "Please ignore the following compiler warnings." - einfo "Jikes is just too pedantic..." - ant -Dbuild.compiler=jikes || die "compile problem" + local antflags + + antflags="" + if [ `use jikes` ] ; then + einfo "Please ignore the following compiler warnings." + einfo "Jikes is just too pedantic..." + antflags="${antflags} -Dbuild.compiler=jikes" + fi + + ant ${antflags} || die "compile problem" } src_install () { diff --git a/app-editors/jedit/jedit-4.0.ebuild b/app-editors/jedit/jedit-4.0.ebuild index 5de60abc6d7f..c5213ee4ea7c 100644 --- a/app-editors/jedit/jedit-4.0.ebuild +++ b/app-editors/jedit/jedit-4.0.ebuild @@ -1,17 +1,27 @@ # Copyright 2002 Maik Schreiber # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.0.ebuild,v 1.1 2002/06/10 01:30:58 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.0.ebuild,v 1.2 2002/07/08 21:02:50 blizzy Exp $ S="${WORKDIR}/jEdit" DESCRIPTION="A programmer's editor written in Java" HOMEPAGE="http://www.jedit.org" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/jedit/jedit40source.tar.gz" LICENSE="GPL-2" -DEPEND=">=dev-java/ant-1.4.1 >=dev-java/jikes-1.15" +SLOT="0" +KEYWORDS="*" + RDEPEND=">=virtual/jdk-1.3" -SRC_URI="http://unc.dl.sourceforge.net/sourceforge/jedit/jedit40source.tar.gz" +DEPEND="${RDEPEND} + >=dev-java/ant-1.4.1 + jikes? ( >=dev-java/jikes-1.15 )" src_compile() { - ant -Dbuild.compiler=jikes || die + local antflags + + antflags="" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + + ant ${antflags} || die "compile problem" } src_install () { |