diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2002-06-10 01:30:58 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2002-06-10 01:30:58 +0000 |
commit | 98271684ee942670f77c9c19924b2f48abb63053 (patch) | |
tree | d9fd0a59c81fe6f4d12e25bfc0b37f56d8566445 /app-editors/jedit/jedit-4.0.ebuild | |
parent | Dummy ebuild for pico. Fixes #3464 (diff) | |
download | historical-98271684ee942670f77c9c19924b2f48abb63053.tar.gz historical-98271684ee942670f77c9c19924b2f48abb63053.tar.bz2 historical-98271684ee942670f77c9c19924b2f48abb63053.zip |
New package. Fixes #3152
Diffstat (limited to 'app-editors/jedit/jedit-4.0.ebuild')
-rw-r--r-- | app-editors/jedit/jedit-4.0.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-editors/jedit/jedit-4.0.ebuild b/app-editors/jedit/jedit-4.0.ebuild new file mode 100644 index 000000000000..5de60abc6d7f --- /dev/null +++ b/app-editors/jedit/jedit-4.0.ebuild @@ -0,0 +1,40 @@ +# 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 $ + +S="${WORKDIR}/jEdit" +DESCRIPTION="A programmer's editor written in Java" +HOMEPAGE="http://www.jedit.org" +LICENSE="GPL-2" +DEPEND=">=dev-java/ant-1.4.1 >=dev-java/jikes-1.15" +RDEPEND=">=virtual/jdk-1.3" +SRC_URI="http://unc.dl.sourceforge.net/sourceforge/jedit/jedit40source.tar.gz" + +src_compile() { + ant -Dbuild.compiler=jikes || die +} + +src_install () { + mkdir -m 755 -p ${D}/usr/jedit + mkdir -m 755 ${D}/usr/bin + + cp -R jedit.jar jars macros modes properties startup ${D}/usr/jedit + chmod -R u+rw,ug-s,go+u,go-w \ + ${D}/usr/jedit/jedit.jar \ + ${D}/usr/jedit/jars \ + ${D}/usr/jedit/macros \ + ${D}/usr/jedit/modes \ + ${D}/usr/jedit/properties \ + ${D}/usr/jedit/startup + + cat >${D}/usr/jedit/jedit.sh <<-EOF + #!/bin/bash + + cd /usr/jedit + java -jar /usr/jedit/jedit.jar $@ + EOF + + chmod 755 ${D}/usr/jedit/jedit.sh + + ln -s ../jedit/jedit.sh ${D}/usr/bin/jedit +} |