diff options
author | Lars Weiler <pylon@gentoo.org> | 2007-06-19 12:06:34 +0000 |
---|---|---|
committer | Lars Weiler <pylon@gentoo.org> | 2007-06-19 12:06:34 +0000 |
commit | 1d1678cf856bb1122cf7c7933cb8dc12c642b84f (patch) | |
tree | 50df263f1e5baab831368bd1fed620334183a914 /dev-tex | |
parent | Marked stable on x86. (diff) | |
download | gentoo-2-1d1678cf856bb1122cf7c7933cb8dc12c642b84f.tar.gz gentoo-2-1d1678cf856bb1122cf7c7933cb8dc12c642b84f.tar.bz2 gentoo-2-1d1678cf856bb1122cf7c7933cb8dc12c642b84f.zip |
Introduce doc and lyx USE-flags. Without doc install a minimal version only.
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/latex-beamer/ChangeLog | 5 | ||||
-rw-r--r-- | dev-tex/latex-beamer/latex-beamer-3.07.ebuild | 21 |
2 files changed, 16 insertions, 10 deletions
diff --git a/dev-tex/latex-beamer/ChangeLog b/dev-tex/latex-beamer/ChangeLog index b735ccd0e99d..59850723ad14 100644 --- a/dev-tex/latex-beamer/ChangeLog +++ b/dev-tex/latex-beamer/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-tex/latex-beamer # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/ChangeLog,v 1.29 2007/06/19 11:25:08 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/ChangeLog,v 1.30 2007/06/19 12:06:34 pylon Exp $ + + 19 Jun 2007; Lars Weiler <pylon@gentoo.org> latex-beamer-3.07.ebuild: + Introduce doc and lyx USE-flags. Without doc install a minimal version only. *latex-beamer-3.07 (19 Jun 2007) diff --git a/dev-tex/latex-beamer/latex-beamer-3.07.ebuild b/dev-tex/latex-beamer/latex-beamer-3.07.ebuild index 67b568e36901..e480c0c23707 100644 --- a/dev-tex/latex-beamer/latex-beamer-3.07.ebuild +++ b/dev-tex/latex-beamer/latex-beamer-3.07.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/latex-beamer-3.07.ebuild,v 1.1 2007/06/19 11:25:08 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex-beamer/latex-beamer-3.07.ebuild,v 1.2 2007/06/19 12:06:34 pylon Exp $ inherit latex-package elisp-common @@ -12,9 +12,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="emacs" +IUSE="doc emacs lyx" DEPEND="emacs? ( app-emacs/auctex ) + lyx? ( app-office/lyx ) >=app-text/tetex-3.0" src_compile() { @@ -26,15 +27,12 @@ src_compile() { src_install() { insinto /usr/share/texmf-site/tex/latex/beamer - doins -r base extensions solutions themes || die + doins -r base extensions themes || die insinto /usr/share/texmf-site/tex/latex/beamer/emulation doins emulation/*.sty || die - insinto /usr/share/doc/${PF} - doins -r examples emulation/examples || die - - if has_version 'app-office/lyx' ; then + if use lyx ; then insinto /usr/share/lyx/layouts doins lyx/layouts/beamer.layout || die insinto /usr/share/lyx/examples @@ -48,6 +46,11 @@ src_install() { fi dodoc AUTHORS ChangeLog FILES TODO README - insinto /usr/share/doc/${PF} - doins doc/* || die + if use doc ; then + insinto /usr/share/doc/${PF} + doins doc/* || die + + insinto /usr/share/doc/${PF} + doins -r examples emulation/examples solutions || die + fi } |