summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-07-27 22:27:40 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-07-27 22:27:40 +0000
commit08b73718c55e24a9431c7a29cb38025c6824c375 (patch)
tree975ae2042a5e542f2695bc043ee37ef2fd3f29a2 /app-text
parentAdd patched version of mono-debugger that works with splitdebug (and uses sys... (diff)
downloadgentoo-2-08b73718c55e24a9431c7a29cb38025c6824c375.tar.gz
gentoo-2-08b73718c55e24a9431c7a29cb38025c6824c375.tar.bz2
gentoo-2-08b73718c55e24a9431c7a29cb38025c6824c375.zip
rev bump to add missing usedeps on camlimages 3.0.1, spotted by maekke
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/active-dvi/ChangeLog8
-rw-r--r--app-text/active-dvi/active-dvi-1.7.3-r1.ebuild76
2 files changed, 83 insertions, 1 deletions
diff --git a/app-text/active-dvi/ChangeLog b/app-text/active-dvi/ChangeLog
index db33bfb2ee0b..4bfd2119678d 100644
--- a/app-text/active-dvi/ChangeLog
+++ b/app-text/active-dvi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/active-dvi
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/ChangeLog,v 1.28 2009/05/30 07:08:07 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/ChangeLog,v 1.29 2009/07/27 22:27:40 aballier Exp $
+
+*active-dvi-1.7.3-r1 (27 Jul 2009)
+
+ 27 Jul 2009; Alexis Ballier <aballier@gentoo.org>
+ +active-dvi-1.7.3-r1.ebuild:
+ rev bump to add missing usedeps on camlimages 3.0.1, spotted by maekke
30 May 2009; Ulrich Mueller <ulm@gentoo.org> active-dvi-1.7.3.ebuild:
Remove app-text/tetex from dependencies, bug 227443. Move epatch to
diff --git a/app-text/active-dvi/active-dvi-1.7.3-r1.ebuild b/app-text/active-dvi/active-dvi-1.7.3-r1.ebuild
new file mode 100644
index 000000000000..ffb666073b65
--- /dev/null
+++ b/app-text/active-dvi/active-dvi-1.7.3-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/active-dvi/active-dvi-1.7.3-r1.ebuild,v 1.1 2009/07/27 22:27:40 aballier Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+MY_PN=${PN/ctive-/}
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A DVI previewer and a presenter for slides written in LaTeX"
+SRC_URI="http://pauillac.inria.fr/advi/${MY_P}.tar.gz"
+HOMEPAGE="http://pauillac.inria.fr/advi/"
+LICENSE="LGPL-2.1"
+
+IUSE="+ocamlopt tk"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=dev-lang/ocaml-3.10.0[ocamlopt?,tk?]
+ >=dev-ml/camlimages-3.0.1[truetype,tiff,jpeg,gs]
+ virtual/latex-base
+ virtual/ghostscript
+ x11-libs/libXinerama"
+DEPEND="${RDEPEND}
+ || ( ( dev-texlive/texlive-pstricks dev-texlive/texlive-pictures )
+ app-text/ptex )
+ x11-proto/xineramaproto
+ dev-ml/findlib
+ dev-tex/hevea"
+
+DOCS="README TODO"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-asneeded.patch"
+ AT_M4DIR="." eautoreconf
+}
+
+src_configure() {
+ export ADVI_LOC="/usr/share/texmf/tex/latex/advi"
+ econf $(use_enable ocamlopt native-program)
+}
+
+src_compile() {
+ emake || die "emake failed"
+ cd doc
+ VARTEXFONTS="${T}/fonts" emake splash.dvi scratch_write_splash.dvi scratch_draw_splash.dvi || die "failed to create documentation"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ # now install the documentation
+ dodoc ${DOCS}
+ cd "${S}"/doc
+ dohtml *.{jpg,gif,css,html}
+ insinto /usr/share/doc/${PF}
+ doins manual.{dvi,pdf,ps} || die "failed to install documentation"
+ # and the manual page
+ doman advi.1
+ insinto /usr/share/texmf/tex/latex/advi
+ doins splash.dvi scratch_write_splash.dvi scratch_draw_splash.dvi || die "failed to install splashes"
+ export STRIP_MASK="*/bin/advi.byt"
+}
+
+pkg_postinst() {
+ einfo "Running texhash to complete installation.."
+ texhash
+}
+
+pkg_postrm() {
+ einfo "Running texhash to complete installation.."
+ texhash
+}