summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Polke <dustin.polke@uni-siegen.de>2010-04-22 22:18:51 +0200
committerDustin Polke <dustin.polke@uni-siegen.de>2010-05-07 10:54:52 +0200
commita8d34ebd703e3b018f0a295df14b72c9e4e67d28 (patch)
treea6862ca9f54e5d36d513fda88fff3e05ef4e0175 /dev-tex
parent[dev-tex/libris] Add libris-20090226. (diff)
downloadDuPol-a8d34ebd703e3b018f0a295df14b72c9e4e67d28.tar.gz
DuPol-a8d34ebd703e3b018f0a295df14b72c9e4e67d28.tar.bz2
DuPol-a8d34ebd703e3b018f0a295df14b72c9e4e67d28.zip
[dev-tex/mnsymbol] Add mnsymbol-20070123.
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/mnsymbol/ChangeLog10
-rw-r--r--dev-tex/mnsymbol/Manifest4
-rw-r--r--dev-tex/mnsymbol/metadata.xml9
-rw-r--r--dev-tex/mnsymbol/mnsymbol-20070123.ebuild86
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-tex/mnsymbol/ChangeLog b/dev-tex/mnsymbol/ChangeLog
new file mode 100644
index 0000000..9ba4047
--- /dev/null
+++ b/dev-tex/mnsymbol/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tex/mnsymbol
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*mnsymbol-20070123 (22 Apr 2010)
+
+ 22 Apr 2010; Dustin Polke <dustin.polke@uni-siegen.de>
+ +mnsymbol-20070123.ebuild:
+ Initial commit.
+
diff --git a/dev-tex/mnsymbol/Manifest b/dev-tex/mnsymbol/Manifest
new file mode 100644
index 0000000..89ae52d
--- /dev/null
+++ b/dev-tex/mnsymbol/Manifest
@@ -0,0 +1,4 @@
+DIST mnsymbol-20070123.tar.bz2 5734791 RMD160 02a8efeb122b4cd152cfa9cb36ebe6838191e25d SHA1 ce4ddf299aa956f835fc7e5a9b1e123ddf187291 SHA256 5d3b9b4341e79366797aeb39b718d18a76d5eae3f01e0e1c74ac59f8b612dd9e
+EBUILD mnsymbol-20070123.ebuild 1734 RMD160 cf8259a9646d947d8095d424663110ddf28b0616 SHA1 ac518f4044924231c3a4d08a83555cd25a8e6252 SHA256 db75b89f1021136afaf3a03183d9390bce04a528dbd498c5f624570f1fdcdd88
+MISC ChangeLog 256 RMD160 b2a7f56c39d8e27e89ab53897f4a048bfe223bbe SHA1 eae07e987428ebdd2d54467b0dc31631e2ebaff4 SHA256 b86e59f074566df3ed7b5d17bd0fcc5dfd67762e185ba7681eb77eb659db5afa
+MISC metadata.xml 241 RMD160 783207c6bf4c7d63b3b77147646ec55da4da5d0d SHA1 2f0b7d85c22b97861c88249c641ca210d5094f72 SHA256 e22fb523e9199dab7e1cb4a373fff320eb13f9fb63cbbff2f8bbaae92786e9e4
diff --git a/dev-tex/mnsymbol/metadata.xml b/dev-tex/mnsymbol/metadata.xml
new file mode 100644
index 0000000..1cb7f54
--- /dev/null
+++ b/dev-tex/mnsymbol/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>dustin.polke@uni-siegen.de</email>
+ <name>Dustin Polke</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/dev-tex/mnsymbol/mnsymbol-20070123.ebuild b/dev-tex/mnsymbol/mnsymbol-20070123.ebuild
new file mode 100644
index 0000000..f175ab4
--- /dev/null
+++ b/dev-tex/mnsymbol/mnsymbol-20070123.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit latex-package
+
+DESCRIPTION="MnSymbol font for TeX"
+HOMEPAGE="http://ctan.tug.org/tex-archive/fonts/mnsymbol/"
+SRC_URI="http://78.47.71.153/distfiles/${P}.tar.bz2"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+RDEPEND="dev-texlive/texlive-latex"
+DEPEND="${RDEPEND}"
+
+TEXMF="/usr/share/texmf-site"
+S="${WORKDIR}"/${PN}
+
+IUSE=""
+
+SUPPLIER="."
+
+UPDMAP="${WORKDIR}/mnsymbol.cfg"
+
+src_compile(){
+ cd "${S}"/tex
+ latex-package_src_compile
+}
+
+src_install(){
+ dodoc README *.pdf
+ dosym /usr/share/doc/${PF} "${TEXMF}"/doc/fonts/${PN}
+
+ cd "${S}"/tfm
+ latex-package_src_install
+
+ cd "${S}"/pfb
+ latex-package_src_install
+
+ cd "${S}"/enc
+ insinto ${TEXMF}/fonts/enc/dvips/${PN}
+ doins *.enc || die "doins *.enc failed"
+
+ insinto ${TEXMF}/fonts/map/dvips/${PN}
+ doins *.map || die "doins *.map failed"
+
+ insinto ${TEXMF}/fonts/vtex/config
+ doins *.ali || die "doins *.ali failed"
+
+ cd "${S}"/otf
+ insinto ${TEXMF}/fonts/opentype/${SUPPLIER}/${PN}
+ doins *.otf || die "doins *.otf failed"
+
+ cd "${S}"/source
+ insinto ${TEXMF}/fonts/source/public/${PN}
+ doins *.mf || die "doins *.mf failed"
+
+ cd "${S}"/tex
+ latex-package_src_install
+
+ cd "${S}"/enc
+ for map in *.map; do
+ echo "Map ${map}" >> "${UPDMAP}"
+ done
+
+ if latex-package_has_tetex_3; then
+ insinto /etc/texmf/updmap.d
+ doins "${UPDMAP}"
+ fi
+}
+
+pkg_postinst() {
+ latex-package_pkg_postinst
+ while read map; do
+ latex-package_has_tetex_3 || updmap-sys --enable Map=${map}
+ done < "${UPDMAP}"
+}
+
+pkg_postrm() {
+ latex-package_pkg_postrm
+ while read map; do
+ latex-package_has_tetex_3 || updmap-sys --disable Map=${map}
+ done < "${UPDMAP}"
+}