/[gentoo-x86]/app-editors/jext/jext-3.2_pre3.ebuild
Gentoo

Contents of /app-editors/jext/jext-3.2_pre3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 1 21:47:40 2003 UTC (17 years, 1 month ago) by aliz
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.1: +4 -4 lines
unmaks, SRC_URI and changelog fixes

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-editors/jext/jext-3.2_pre3.ebuild,v 1.1 2003/05/23 15:32:06 tberman Exp $
4
5 inherit java-pkg
6
7 IUSE="doc"
8
9 DESCRIPTION="A cool and fully featured editor in Java"
10 HOMEPAGE="http://www.jext.org/"
11 MY_PV="${PV/_}"
12 SRC_URI="mirror://sourceforge/jext/${PN}-${MY_PV}.tar.gz
13 mirror://sourceforge/jext/${PN}-sources-${MY_PV}.tar.gz"
14 LICENSE="GPL-2 | JPython"
15 SLOT="0"
16 KEYWORDS="~x86 ~ppc ~sparc"
17
18 DEPEND=">=virtual/jdk-1.3
19 >=dev-java/ant-1.4.1
20 dev-java/jython"
21 RDEPEND=">=virtual/jre-1.3"
22
23 S=${WORKDIR}/${PN}-${MY_PV}
24
25 src_compile() {
26 cd ${WORKDIR}/jext-sources-3.2pre3/src
27 sed -e s:'<property name="classpath" value="" />':"<property name='classpath' value='`java-config --classpath=jython`' />": build.xml > tmp.xml
28 mv tmp.xml build.xml
29 ant jar javadocs -quiet > /dev/null || die
30 }
31
32 src_install () {
33 java-pkg_dojar ${WORKDIR}/jext-sources-3.2pre3/lib/*.jar
34 exeinto /usr/bin
35 newexe ${FILESDIR}/jext-gentoo.sh jext
36 if [ -n "`use doc`" ]; then
37 dohtml -A .css .gif .jpg -r ${WORKDIR}/jext-sources-3.2pre3/docs/api
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20