Permalink
Browse files

dev-tex/luximono-2004

  • Loading branch information...
1 parent fd0de4b commit 304d60449984ac2dd8c01822aaa253aa647fd1cc @wmark committed May 8, 2012
Showing with 72 additions and 0 deletions.
  1. +2 −0 dev-tex/luximono/Manifest
  2. +69 −0 dev-tex/luximono/luximono-2004.ebuild
  3. +1 −0 profiles/categories
@@ -0,0 +1,2 @@
+DIST LuxiMono.zip 199660 RMD160 edc8d07911945f4db27c5741e6c7597cceebdae6 SHA1 3b59fd6e57c1e96dbaacb0c21222a49477468181 SHA256 93f6466649edcb0de608589805c1bc0f04cb364a4efcac3a81fbc38488272293
+EBUILD luximono-2004.ebuild 1540 RMD160 0e84c51d19c104b3cc97018c4d27fbb3392730cc SHA1 43d892b6900677d6303c2d5348ec1bc10979727e SHA256 c9658efac0553c1a9e9076b67b887b9ea485d6fc3cc5cd30879bda481173125d
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit latex-package
+
+MY_PN="LuxiMono"
+DESCRIPTION="LaTeX Type1 typewriter font"
+# SRC_URI="http://dev.gentooexperimental.org/~dreeevil/${MY_PN}-${PV}.zip"
+SRC_URI="ftp://tug.ctan.org/pub/tex-archive/fonts/${MY_PN}.zip"
+HOMEPAGE="http://www.ctan.org/tex-archive/fonts/LuxiMono/"
+LICENSE="luximono"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="amd64 x86 arm"
+
+RDEPEND="virtual/latex-base"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}/${MY_PN}
+SUPPLIER="public"
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}"
+ unzip ul9.zip || die "unzip failed"
+}
+
+src_install() {
+ local pack="luxi"
+ local texshr="${TEXMF}/fonts"
+
+ # latex-package_src_doinstall generally uses different
+ # directories than this package expects
+
+ dodoc doc/fonts/luxi/* README.luximono || die "dodoc failed"
+
+ insinto ${texshr}/map/dvips/luxi
+ doins dvips/config/* || die
+
+ insinto ${texshr}/afm/${SUPPLIER}/luxi
+ doins *.afm || die "doins afm failed"
+
+ insinto ${texshr}/tfm/${SUPPLIER}/luxi
+ doins fonts/tfm/public/luxi/*.tfm || die "doins tfm failed"
+
+ insinto ${texshr}/vf/${SUPPLIER}/luxi
+ doins fonts/vf/public/luxi/*.vf || die "doins vf failed"
+
+ insinto ${texshr}/type1/${SUPPLIER}/luxi
+ doins *.pfb || die "doins pfb failed"
+
+ insinto ${TEXMF}/tex/latex/luxi
+ doins tex/latex/luxi/* || die
+
+}
+
+pkg_postinst() {
+# this order is intended
+ latex-package_rehash
+ updmap-sys --enable Map ul9.map
+}
+
+pkg_postrm() {
+ updmap-sys --disable ul9.map
+ latex-package_rehash
+}
View
@@ -9,6 +9,7 @@ dev-lang
dev-libs
dev-php5
dev-python
+dev-tex
dev-util
mail-filter
media-sound

0 comments on commit 304d604

Please sign in to comment.