From 2e106e69aab38314bcd2715d434ec5c0e8267b71 Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Sun, 22 Feb 2009 12:53:13 +0000 Subject: Version bump, see bug #259447. (Portage version: 2.1.6.7/cvs/Linux x86_64) --- sci-physics/jaxodraw/ChangeLog | 9 ++++- sci-physics/jaxodraw/jaxodraw-2.0.0.ebuild | 62 ++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 sci-physics/jaxodraw/jaxodraw-2.0.0.ebuild (limited to 'sci-physics/jaxodraw') diff --git a/sci-physics/jaxodraw/ChangeLog b/sci-physics/jaxodraw/ChangeLog index 66e7e43bf715..5e7c0b636ea1 100644 --- a/sci-physics/jaxodraw/ChangeLog +++ b/sci-physics/jaxodraw/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-physics/jaxodraw -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/ChangeLog,v 1.6 2008/05/12 08:51:23 nelchael Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/ChangeLog,v 1.7 2009/02/22 12:53:13 nelchael Exp $ + +*jaxodraw-2.0.0 (22 Feb 2009) + + 22 Feb 2009; Krzysiek Pawlik +jaxodraw-2.0.0.ebuild: + Version bump, see bug #259447. 12 May 2008; Krzysiek Pawlik jaxodraw-1.3.2.ebuild: Rename tex USE flag, see bug #196745. diff --git a/sci-physics/jaxodraw/jaxodraw-2.0.0.ebuild b/sci-physics/jaxodraw/jaxodraw-2.0.0.ebuild new file mode 100644 index 000000000000..9169a12cd136 --- /dev/null +++ b/sci-physics/jaxodraw/jaxodraw-2.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/jaxodraw-2.0.0.ebuild,v 1.1 2009/02/22 12:53:13 nelchael Exp $ + +JAVA_PKG_IUSE="doc source" +WANT_ANT_TASKS="ant-trax" + +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 + http://downloads.sourceforge.net/jaxodraw/axodraw4j_2008_11_19.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="latex" + +DEPEND=">=virtual/jdk-1.4 + latex? ( dev-texlive/texlive-pstricks )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/JaxoDraw-${MY_PV}" + +src_install() { + java-pkg_newjar build/${PN}-${MY_PV}.jar ${PN}.jar + + doicon etc/OS/Linux/*.png + domenu etc/OS/Linux/${PN}.desktop + + use source && java-pkg_dosrc src/main/java/JaxoDraw + + dodoc src/doc/BUGS src/doc/CHANGELOG src/doc/README src/doc/TODO || die + use doc && java-pkg_dojavadoc build/javadoc + + java-pkg_dolauncher "${PN}" + + if use latex; then + dodir /usr/share/texmf/tex/latex/misc/ + insinto /usr/share/texmf/tex/latex/misc/ + doins "${S}/../axodraw4j.sty" + fi +} + +tex_regen() { + if use latex; then + einfo "Regenerating TeX database..." + /usr/bin/mktexlsr /usr/share/texmf /var/spool/texmf > /dev/null + eend $? + fi +} + +pkg_postinst() { + tex_regen +} + +pkg_postrm() { + tex_regen +} -- cgit v1.2.3-65-gdbad