summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2008-05-12 08:51:23 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2008-05-12 08:51:23 +0000
commitc90ec8df030e0274d4b0f7f5a4c8108480569875 (patch)
tree3ac9b9545baa577a2abb04196ccdfb0d053d5e95 /sci-physics/jaxodraw
parentstable x86, bug 221747 (diff)
downloadgentoo-2-c90ec8df030e0274d4b0f7f5a4c8108480569875.tar.gz
gentoo-2-c90ec8df030e0274d4b0f7f5a4c8108480569875.tar.bz2
gentoo-2-c90ec8df030e0274d4b0f7f5a4c8108480569875.zip
Rename tex USE flag, see bug #196745.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'sci-physics/jaxodraw')
-rw-r--r--sci-physics/jaxodraw/ChangeLog7
-rw-r--r--sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild16
2 files changed, 11 insertions, 12 deletions
diff --git a/sci-physics/jaxodraw/ChangeLog b/sci-physics/jaxodraw/ChangeLog
index 8a5ad4ac9fc8..66e7e43bf715 100644
--- a/sci-physics/jaxodraw/ChangeLog
+++ b/sci-physics/jaxodraw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-physics/jaxodraw
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/ChangeLog,v 1.5 2007/08/03 22:57:55 betelgeuse Exp $
+# 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 $
+
+ 12 May 2008; Krzysiek Pawlik <nelchael@gentoo.org> jaxodraw-1.3.2.ebuild:
+ Rename tex USE flag, see bug #196745.
03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> jaxodraw-1.3.2.ebuild:
Migrate to splitted ant and QA fixes.
diff --git a/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild b/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild
index 0157ca16cf64..7bdf329531e0 100644
--- a/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild
+++ b/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 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.5 2007/08/03 22:57:55 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild,v 1.6 2008/05/12 08:51:23 nelchael Exp $
JAVA_PKG_IUSE="doc source"
WANT_ANT_TASKS="ant-trax"
@@ -16,10 +16,10 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}_src.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="tetex"
+IUSE="latex"
DEPEND=">=virtual/jdk-1.4
- tetex? ( virtual/tetex )"
+ latex? ( virtual/latex-base )"
RDEPEND=">=virtual/jre-1.4"
S="${WORKDIR}/JaxoDraw-${MY_PV}"
@@ -41,7 +41,7 @@ src_install() {
java-pkg_dolauncher "${PN}" --main JaxoDraw.JaxoDraw
- if use tetex; then
+ if use latex; then
dodir /usr/share/texmf/tex/latex/misc/
insinto /usr/share/texmf/tex/latex/misc/
doins "${S}/etc/axodraw.sty"
@@ -50,7 +50,7 @@ src_install() {
}
tex_regen() {
- if use tetex; then
+ if use latex; then
einfo "Regenerating TeX database..."
/usr/bin/mktexlsr /usr/share/texmf /var/spool/texmf > /dev/null
eend $?
@@ -58,13 +58,9 @@ tex_regen() {
}
pkg_postinst() {
-
tex_regen
-
}
pkg_postrm() {
-
tex_regen
-
}