summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-10-14 00:01:18 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-10-14 00:01:18 +0000
commit7adc2496e4c0aa63508d93d0723e4cf41be93926 (patch)
tree3f7485de79fe50ebfbcee81650994334481c549b /sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild
parentFix a PTRACE_* compilation error, thanks to Thomas Veith <th_veith@web.de> (diff)
downloadgentoo-2-7adc2496e4c0aa63508d93d0723e4cf41be93926.tar.gz
gentoo-2-7adc2496e4c0aa63508d93d0723e4cf41be93926.tar.bz2
gentoo-2-7adc2496e4c0aa63508d93d0723e4cf41be93926.zip
Initial version of JaxoDraw.
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild')
-rw-r--r--sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild b/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild
new file mode 100644
index 000000000000..558ddbd40468
--- /dev/null
+++ b/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild,v 1.1 2006/10/14 00:01:18 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2 versionator eutils
+
+MY_PV=$(replace_version_separator 2 -)
+
+DESCRIPTION="Java program for drawing Feynman diagrams"
+HOMEPAGE="http://jaxodraw.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}_src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/JaxoDraw-${MY_PV}"
+
+src_compile() {
+
+ eant jar $(use_doc)
+
+}
+
+src_install() {
+
+ cd "${S}"
+
+ java-pkg_newjar ${PN}-${MY_PV}.jar ${PN}.jar
+
+ doicon etc/OS/Linux/*.png
+ domenu etc/OS/Linux/${PN}.desktop
+
+ use source && java-pkg_dosrc src/java/JaxoDraw
+
+ dodoc doc/BUGS doc/CHANGELOG doc/README doc/TODO
+ doman doc/man/${PN}.1
+ use doc && java-pkg_dohtml -r build/javadoc
+
+ java-pkg_dolauncher "${PN}" --main JaxoDraw.JaxoDraw
+
+}