diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-25 22:18:00 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-11-25 22:18:00 +0000 |
commit | 65613141387342b323c78414947014da6a4f1f58 (patch) | |
tree | a1f740990f87357fb3cf7b7daa90fa2a76241c5e /app-editors | |
parent | Changed -ppc to ~ppc for gcc-3.2-r4.ebuild, need further testing :) (diff) | |
download | gentoo-2-65613141387342b323c78414947014da6a4f1f58.tar.gz gentoo-2-65613141387342b323c78414947014da6a4f1f58.tar.bz2 gentoo-2-65613141387342b323c78414947014da6a4f1f58.zip |
Fixes #10867.
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/jedit/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/jedit/files/digest-jedit-4.1_pre5 | 1 | ||||
-rw-r--r-- | app-editors/jedit/jedit-4.1_pre5.ebuild | 68 |
3 files changed, 76 insertions, 1 deletions
diff --git a/app-editors/jedit/ChangeLog b/app-editors/jedit/ChangeLog index fdc86eca18c6..e6b8e62535da 100644 --- a/app-editors/jedit/ChangeLog +++ b/app-editors/jedit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/jedit # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.10 2002/11/01 20:53:21 blizzy Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.11 2002/11/25 22:18:00 karltk Exp $ + +*jedit-4.1_pre5 (25 Nov 2002) + + 25 Nov 2002; Karl Trygve Kalleberg <karltk@gentoo.org> jedit-4.1_pre5.ebuild, + files/digest-jedit-4.1_pre4: New upstream version. Fixes to the jedit + script by Dylan Carlson <absinthe@pobox.com>. Fixes #10867. 01 Nov 2002; Maik Schreiber <blizzy@gentoo.org> jedit-4.1_pre4.ebuild: Re-enabled compilation with jikes. diff --git a/app-editors/jedit/files/digest-jedit-4.1_pre5 b/app-editors/jedit/files/digest-jedit-4.1_pre5 new file mode 100644 index 000000000000..8377f14cd41b --- /dev/null +++ b/app-editors/jedit/files/digest-jedit-4.1_pre5 @@ -0,0 +1 @@ +MD5 26bdebba9e27f00f41a9c469fdf2ff73 jedit41pre5source.tar.gz 1065366 diff --git a/app-editors/jedit/jedit-4.1_pre5.ebuild b/app-editors/jedit/jedit-4.1_pre5.ebuild new file mode 100644 index 000000000000..b9b5e0150c8a --- /dev/null +++ b/app-editors/jedit/jedit-4.1_pre5.ebuild @@ -0,0 +1,68 @@ +# Copyright 2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.1_pre5.ebuild,v 1.1 2002/11/25 22:18:00 karltk Exp $ + +MY_PV="41pre5" + +DESCRIPTION="Programmer's editor written in Java" +HOMEPAGE="http://www.jedit.org" +SRC_URI="mirror://sourceforge/jedit/jedit${MY_PV}source.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" +IUSE="jikes" + +RDEPEND=">=virtual/jdk-1.3" +DEPEND="${RDEPEND} + >=dev-java/ant-1.4.1 + jikes? ( >=dev-java/jikes-1.17 )" + +S="${WORKDIR}/jEdit" + +src_compile() { + 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 () { + mkdir -m 755 -p ${D}/usr/share/jedit + mkdir -m 755 ${D}/usr/bin + + cp -R jedit.jar jars doc macros modes properties startup ${D}/usr/share/jedit + cd ${D}/usr/share/jedit + chmod -R u+rw,ug-s,go+u,go-w \ + jedit.jar jars doc macros modes properties startup + + cat >${D}/usr/share/jedit/jedit.sh <<-EOF + #!/bin/bash + + java -jar /usr/share/jedit/jedit.jar $@ + EOF + chmod 755 ${D}/usr/share/jedit/jedit.sh + + ln -s ../share/jedit/jedit.sh ${D}/usr/bin/jedit +} + +pkg_postinst() { + touch /usr/share/jedit/jars/.keep + + einfo "The system directory for jEdit plugins is" + einfo "/usr/share/jedit/jars" +} + +pkg_postrm() { + einfo "jEdit plugins installed into /usr/share/jedit/jars" + einfo "(after installation of jEdit itself) haven't been" + einfo "removed. To get rid of jEdit completely, you may" + einfo "want to run" + einfo "" + einfo "\trm -r /usr/share/jedit" +} |