summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-12 17:41:06 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-12 17:41:06 +0000
commit4bcfed2023dfd7a29bc6a4e6e5b80a56aaf85acf (patch)
tree3a79fb78ab760493467dacf73b60d6c15a508f62 /app-editors/jext
parentebuild cleanups (diff)
downloadhistorical-4bcfed2023dfd7a29bc6a4e6e5b80a56aaf85acf.tar.gz
historical-4bcfed2023dfd7a29bc6a4e6e5b80a56aaf85acf.tar.bz2
historical-4bcfed2023dfd7a29bc6a4e6e5b80a56aaf85acf.zip
ebuild cleanups
Diffstat (limited to 'app-editors/jext')
-rw-r--r--app-editors/jext/files/digest-jext-3.2_pre31
-rw-r--r--app-editors/jext/jext-3.2_pre3.ebuild22
2 files changed, 10 insertions, 13 deletions
diff --git a/app-editors/jext/files/digest-jext-3.2_pre3 b/app-editors/jext/files/digest-jext-3.2_pre3
index 9f060a85e4b0..7c8fea73e61d 100644
--- a/app-editors/jext/files/digest-jext-3.2_pre3
+++ b/app-editors/jext/files/digest-jext-3.2_pre3
@@ -1,2 +1 @@
-MD5 7de789ffe602f37b6b978439b3b048d1 jext-3.2pre3.tar.gz 2555439
MD5 57c1482cda431e5d5d7338ddc6ca5724 jext-sources-3.2pre3.tar.gz 1004576
diff --git a/app-editors/jext/jext-3.2_pre3.ebuild b/app-editors/jext/jext-3.2_pre3.ebuild
index 6479e398bd74..26e00b112cf3 100644
--- a/app-editors/jext/jext-3.2_pre3.ebuild
+++ b/app-editors/jext/jext-3.2_pre3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jext/jext-3.2_pre3.ebuild,v 1.12 2004/09/04 15:11:03 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jext/jext-3.2_pre3.ebuild,v 1.13 2004/09/12 17:40:20 axxo Exp $
inherit java-pkg
@@ -9,8 +9,7 @@ IUSE="doc"
DESCRIPTION="A cool and fully featured editor in Java"
HOMEPAGE="http://www.jext.org/"
MY_PV="${PV/_}"
-SRC_URI="mirror://sourceforge/jext/${PN}-${MY_PV}.tar.gz
- mirror://sourceforge/jext/${PN}-sources-${MY_PV}.tar.gz"
+SRC_URI="mirror://sourceforge/jext/${PN}-sources-${MY_PV}.tar.gz"
LICENSE="GPL-2 | JPython"
SLOT="0"
KEYWORDS="~x86 ~ppc sparc"
@@ -20,20 +19,19 @@ DEPEND=">=virtual/jdk-1.3
>=dev-java/jython-2.1-r5"
RDEPEND=">=virtual/jre-1.3"
-S=${WORKDIR}/${PN}-${MY_PV}
+S=${WORKDIR}/${PN}-sources-${MY_PV}
src_compile() {
- cd ${WORKDIR}/jext-sources-3.2pre3/src
- sed -e s:'<property name="classpath" value="" />':"<property name='classpath' value='`java-config --classpath=jython`' />": build.xml > tmp.xml
- mv tmp.xml build.xml
- ant jar javadocs -quiet > /dev/null || die
+ cd ${S}/src
+ sed -e s:'<property name="classpath" value="" />':"<property name='classpath' value='`java-config --classpath=jython`' />": -i build.xml
+ local antflags="jar"
+ use doc && antflags="${antflags} javadocs"
+ ant ${antflags} || die "compile failed"
}
src_install () {
- java-pkg_dojar ${WORKDIR}/jext-sources-3.2pre3/lib/*.jar
+ java-pkg_dojar lib/*.jar
exeinto /usr/bin
newexe ${FILESDIR}/jext-gentoo.sh jext
- if use doc; then
- dohtml -A .css .gif .jpg -r ${WORKDIR}/jext-sources-3.2pre3/docs/api
- fi
+ use doc && dohtml -A .css .gif .jpg -r docs/api
}