/[gentoo-x86]/dev-tex/mh/mh-20111011.ebuild
Gentoo

Contents of /dev-tex/mh/mh-20111011.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (hide annotations) (download)
Sun Aug 10 21:27:27 2014 UTC (4 months, 1 week ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 slyfox 1.12 # Copyright 1999-2014 Gentoo Foundation
2 aballier 1.1 # Distributed under the terms of the GNU General Public License v2
3 slyfox 1.12 # $Header: /var/cvsroot/gentoo-x86/dev-tex/mh/mh-20111011.ebuild,v 1.11 2012/05/24 21:41:41 aballier Exp $
4 aballier 1.1
5     inherit latex-package
6    
7 slyfox 1.12 DESCRIPTION="Additional LaTeX math tools"
8 aballier 1.1 HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/mh/"
9     SRC_URI="mirror://gentoo/${P}.zip"
10     LICENSE="LPPL-1.3"
11     SLOT="0"
12     IUSE="doc"
13 aballier 1.10 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
14 aballier 1.1
15     RDEPEND="dev-tex/xcolor
16 aballier 1.11 >=dev-texlive/texlive-latexrecommended-2011"
17 aballier 1.1 DEPEND="${RDEPEND}
18     app-arch/unzip"
19    
20     S=${WORKDIR}/${PN}
21     TEXMF=/usr/share/texmf-site
22    
23     src_compile() {
24     # To avoid sandbox violations
25     export VARTEXFONTS="${T}/fonts"
26    
27     # Unpacking *.dtx
28     for i in *.dtx; do
29     tex ${i} || die "TeXing ${i} failed"
30     done
31    
32     latex-package_src_compile
33     }
34    
35     src_install() {
36     latex-package_src_doinstall styles fonts bin
37    
38     insinto "${TEXMF}/tex/latex/${PN}"
39     doins *.sym
40    
41     use doc && latex-package_src_doinstall doc
42     dodoc README
43     }

  ViewVC Help
Powered by ViewVC 1.1.20