blob: aa714c700d32793c4bab31507968003b6e510c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/eclipse-cbg-editor/eclipse-cbg-editor-0.3.7.ebuild,v 1.4 2004/07/20 18:56:00 karltk Exp $
inherit eclipse-ext
DESCRIPTION="Syntax color highlighting editor for Eclipse, using jEdit syntax files"
HOMEPAGE="http://gstaff.org/colorEditor/"
SRC_URI="http://dev.gentoo.org/~karltk/projects/eclipse/distfiles/cbg-editor-${PV}-gentoo.tar.bz2"
LICENSE="grindstaff"
SLOT="0"
KEYWORDS="~x86"
IUSE="jikes"
RDEPEND=">=dev-util/eclipse-sdk-3.0.0"
DEPEND="${RDEPEND}
jikes? ( >=dev-java/jikes-1.19 )
app-arch/unzip"
S=${WORKDIR}/cbg.editor_${PV}
src_compile() {
local myc
use jikes && myc="${myc} -Dbuild.compiler=jikes"
ant ${myc} build.jars || die "Failed to compile"
ant ${myc} zip.plugin || die "Failed to zip"
cd result
mkdir plugins
unzip cbg.editor_${PV} -d plugins
}
src_install() {
eclipse-ext_require-slot 3 || "Failed to find suitable Eclipse installation (3.0.x)"
eclipse-ext_create-ext-layout source || die "Failed to create directory layout"
eclipse-ext_install-plugins result/plugins/* || die "Failed to install plugin"
}
|