diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-04-07 17:53:23 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-04-07 17:53:23 +0000 |
commit | cd44ccd507b55876efbdab354570c0c8950616c4 (patch) | |
tree | 57dc7725d47afbbe5a5b2d142962c5fb641b2097 /dev-tex/mh | |
parent | elog -> ewarn #216523 (diff) | |
download | gentoo-2-cd44ccd507b55876efbdab354570c0c8950616c4.tar.gz gentoo-2-cd44ccd507b55876efbdab354570c0c8950616c4.tar.bz2 gentoo-2-cd44ccd507b55876efbdab354570c0c8950616c4.zip |
Initial import, ebuild by Andrey Grozin <A.G.Grozin@inp.nsk.su> simplified by me, bug #214163
(Portage version: 2.1.5_rc2)
Diffstat (limited to 'dev-tex/mh')
-rw-r--r-- | dev-tex/mh/ChangeLog | 11 | ||||
-rw-r--r-- | dev-tex/mh/Manifest | 4 | ||||
-rw-r--r-- | dev-tex/mh/metadata.xml | 5 | ||||
-rw-r--r-- | dev-tex/mh/mh-20080407.ebuild | 41 |
4 files changed, 61 insertions, 0 deletions
diff --git a/dev-tex/mh/ChangeLog b/dev-tex/mh/ChangeLog new file mode 100644 index 000000000000..56c5632f288b --- /dev/null +++ b/dev-tex/mh/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-tex/mh +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/mh/ChangeLog,v 1.1 2008/04/07 17:53:23 aballier Exp $ + +*mh-20080407 (07 Apr 2008) + + 07 Apr 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml, + +mh-20080407.ebuild: + Initial import, ebuild by Andrey Grozin <A.G.Grozin@inp.nsk.su> simplified + by me, bug #214163 + diff --git a/dev-tex/mh/Manifest b/dev-tex/mh/Manifest new file mode 100644 index 000000000000..94c701d7fb13 --- /dev/null +++ b/dev-tex/mh/Manifest @@ -0,0 +1,4 @@ +DIST mh-20080407.zip 1859965 RMD160 1d6bb18d7a25c537c86ae94981b10449cc97c8bd SHA1 ea55b996bbfd10d75b8d3e17484046a74344504d SHA256 b8ac866ae418c6928b01b4e46d651d4b77a698c7582ada435a4705cde7aa0733 +EBUILD mh-20080407.ebuild 801 RMD160 3380992a1d4399d9eb2e2038ba28f5e13b887a0b SHA1 a19c8a2f2d0b7b374336669185875a3ecb9f195d SHA256 91a6f158c8bc9fa84bcd168881863b10c2f35a2b1b366106dce7bee8fd705341 +MISC ChangeLog 328 RMD160 66f2900902b493cb0fefb6078cc53c5fd33e1a1d SHA1 ca77f43b1c2894e0582db359e537c9f94f7d529e SHA256 c9aa258346e6db3731425073b20d337411a2c1693d4149af7885b14ff4371551 +MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 diff --git a/dev-tex/mh/metadata.xml b/dev-tex/mh/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/dev-tex/mh/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +</pkgmetadata> diff --git a/dev-tex/mh/mh-20080407.ebuild b/dev-tex/mh/mh-20080407.ebuild new file mode 100644 index 000000000000..f0103847ddb3 --- /dev/null +++ b/dev-tex/mh/mh-20080407.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/mh/mh-20080407.ebuild,v 1.1 2008/04/07 17:53:23 aballier Exp $ + +inherit latex-package + +DESCRIPTION="Additional LaTeX math tools." +HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/mh/" +SRC_URI="mirror://gentoo/${P}.zip" +LICENSE="LPPL-1.3" +SLOT="0" +IUSE="doc" +KEYWORDS="~amd64" + +RDEPEND="" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN} +TEXMF=/usr/share/texmf-site + +src_compile() { + # To avoid sandbox violations + export VARTEXFONTS="${T}/fonts" + + # Unpacking *.dtx + for i in *.dtx; do + tex ${i} || die "TeXing ${i} failed" + done + + latex-package_src_compile +} + +src_install() { + latex-package_src_doinstall styles fonts bin + + insinto "${TEXMF}/tex/latex/${PN}" + doins *.sym + + use doc && latex-package_src_doinstall doc + dodoc README +} |