Fix bug #168729 - installing axodraw.sty.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Sat, 3 Mar 2007 17:45:03 +0000 (17:45 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Sat, 3 Mar 2007 17:45:03 +0000 (17:45 +0000)
Package-Manager: portage-2.1.2-r13

sci-physics/jaxodraw/ChangeLog
sci-physics/jaxodraw/Manifest
sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild

index 6cc6e51e682f3c563d77aace9108d1d9a731031d..508aea94f4ef84ab4addc9f680fcdfdc298ec504 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for sci-physics/jaxodraw
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/ChangeLog,v 1.3 2006/10/14 20:41:34 nichoj Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/ChangeLog,v 1.4 2007/03/03 17:45:03 nelchael Exp $
+
+  03 Mar 2007; Krzysiek Pawlik <nelchael@gentoo.org> jaxodraw-1.3.2.ebuild:
+  Fix bug #168729 - installing axodraw.sty.
 
   14 Oct 2006; Joshua Nichols <nichoj@gentoo.org> jaxodraw-1.3.2.ebuild:
   Keyworded ~amd64.
index bbd36da0f8c0fd853d3a953cb346d3456f1be2ff..8e37522c8304500d31bf5e69eabd44bb85f5a613 100644 (file)
@@ -1,12 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 DIST jaxodraw-1.3-2_src.tar.gz 2585869 RMD160 649daca7ab4b940c720e062d5872db9f32346af1 SHA1 241ada28ef88954c0882e07f2eae013d1e60724e SHA256 0dd1a6e37ae3fdbda7d62ee58c8e2db802dffb3113c72ca8162c03c0cf39680b
-EBUILD jaxodraw-1.3.2.ebuild 1056 RMD160 6c829bc751ad2d69cd08c33d449ddc890e9965a5 SHA1 34dfa9e339a5eac37c246593be567c45ceaa0d69 SHA256 eb068c4c8d837c6f9a4b12172dfdc253acc680a77f460469f6cf4f3b36adf641
-MD5 4a733fc2af5fe16d33a4438fca599e56 jaxodraw-1.3.2.ebuild 1056
-RMD160 6c829bc751ad2d69cd08c33d449ddc890e9965a5 jaxodraw-1.3.2.ebuild 1056
-SHA256 eb068c4c8d837c6f9a4b12172dfdc253acc680a77f460469f6cf4f3b36adf641 jaxodraw-1.3.2.ebuild 1056
-MISC ChangeLog 563 RMD160 91d5b18607f58948a43032f9d0f1ca09677dea23 SHA1 91bc9042a76ceed295081d6a360eefc1178ed368 SHA256 521b8be4194c754da13358f63bc6e5a85558de0514f0cb8ffe1e85ea1ce8178b
-MD5 2d4530462a7e61668995b35e654f9ccd ChangeLog 563
-RMD160 91d5b18607f58948a43032f9d0f1ca09677dea23 ChangeLog 563
-SHA256 521b8be4194c754da13358f63bc6e5a85558de0514f0cb8ffe1e85ea1ce8178b ChangeLog 563
+EBUILD jaxodraw-1.3.2.ebuild 1450 RMD160 c7c23140f2584cfc35d699154d70263d63e8f95d SHA1 4014469382a92f768bc22fcbefdfb8ec3a08a74d SHA256 ce02d8f11f74d8ea6a2995b9b49b3204f41cd6902fccbe0fa54014394b6c508b
+MD5 ea24fe358608653344e9a6145f0efbc9 jaxodraw-1.3.2.ebuild 1450
+RMD160 c7c23140f2584cfc35d699154d70263d63e8f95d jaxodraw-1.3.2.ebuild 1450
+SHA256 ce02d8f11f74d8ea6a2995b9b49b3204f41cd6902fccbe0fa54014394b6c508b jaxodraw-1.3.2.ebuild 1450
+MISC ChangeLog 686 RMD160 252d8a83c5e7f6d16c8c350b92ba35d3ef8578d4 SHA1 1dc734fbea22d50235655aaaeede08db3abb310c SHA256 257ce232a131b52ade27da1c0c92ae0fbe45b65911ff14c7b4a3d547f0b27811
+MD5 7de59208c667eddb507fcbe3c658ddd3 ChangeLog 686
+RMD160 252d8a83c5e7f6d16c8c350b92ba35d3ef8578d4 ChangeLog 686
+SHA256 257ce232a131b52ade27da1c0c92ae0fbe45b65911ff14c7b4a3d547f0b27811 ChangeLog 686
 MISC metadata.xml 229 RMD160 322816d0867441a53b3047c253ee09b370ce959a SHA1 6d3d4dff8b25ee138e7e132d0a8de44ad1621350 SHA256 079d2f373b5e2ca609cdc131c5e2475c4efb1ccaa51b1e9efd333f87c76440d9
 MD5 ad6c642942432308ac216ef6a400b9ce metadata.xml 229
 RMD160 322816d0867441a53b3047c253ee09b370ce959a metadata.xml 229
@@ -14,3 +17,10 @@ SHA256 079d2f373b5e2ca609cdc131c5e2475c4efb1ccaa51b1e9efd333f87c76440d9 metadata
 MD5 8f31e7f9b9851cd87acbbe360b020e88 files/digest-jaxodraw-1.3.2 259
 RMD160 11e712d1253b18d97c07fed8413c64b4ce134712 files/digest-jaxodraw-1.3.2 259
 SHA256 e16fa1393e25e294c345bfc4cc1cf974877d8c2ca1d2fe7750e1397c7ffe6d53 files/digest-jaxodraw-1.3.2 259
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF6bS6go/w9rxVVVERAovOAJ4geo8ziGP/dT1zR3IW+4WrXIaTAgCgrGuI
+0rjrm+zEkiyEIX4UzkTYY9o=
+=fPv6
+-----END PGP SIGNATURE-----
index 674ac1ecbbe89fea754260f284a571f459fbe539..85b688e6596d0d921d10d36ee2aee3e9d9562833 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 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.3 2006/10/14 20:41:34 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/jaxodraw/jaxodraw-1.3.2.ebuild,v 1.4 2007/03/03 17:45:03 nelchael Exp $
 
 inherit java-pkg-2 java-ant-2 versionator eutils
 
@@ -13,10 +13,11 @@ SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}_src.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc source"
+IUSE="doc source tetex"
 
 DEPEND=">=virtual/jdk-1.4
-       dev-java/ant"
+       dev-java/ant
+       tetex? ( virtual/tetex )"
 RDEPEND=">=virtual/jre-1.4"
 
 S="${WORKDIR}/JaxoDraw-${MY_PV}"
@@ -44,4 +45,30 @@ src_install() {
 
        java-pkg_dolauncher "${PN}" --main JaxoDraw.JaxoDraw
 
+       if use tetex; then
+               dodir /usr/share/texmf/tex/latex/misc/
+               insinto /usr/share/texmf/tex/latex/misc/
+               doins "${S}/etc/axodraw.sty"
+       fi
+
+}
+
+tex_regen() {
+       if use tetex; 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
+
 }