/[gentoo-x86]/dev-util/eclipse-cbg-editor/eclipse-cbg-editor-0.3.7.ebuild
Gentoo

Contents of /dev-util/eclipse-cbg-editor/eclipse-cbg-editor-0.3.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jun 9 09:40:58 2007 UTC (12 years, 4 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removed eclipse plugin ebuilds from the tree to the junkyard. Use the update manager for now.

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

  ViewVC Help
Powered by ViewVC 1.1.20