diff options
Diffstat (limited to 'dev-tex/mdsymbol/mdsymbol-0.5.ebuild')
-rw-r--r-- | dev-tex/mdsymbol/mdsymbol-0.5.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-tex/mdsymbol/mdsymbol-0.5.ebuild b/dev-tex/mdsymbol/mdsymbol-0.5.ebuild new file mode 100644 index 000000000..ef1cd3eaa --- /dev/null +++ b/dev-tex/mdsymbol/mdsymbol-0.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit latex-package + +DESCRIPTION="Symbol fonts to match Adobe Myriad Pro" +HOMEPAGE="http://ctan.tug.org/pkg/${PN}" +SRC_URI="http://mirror.ctan.org/systems/texlive/tlnet/archive/${PN}.tar.xz -> ${P}.tar.xz + source? ( http://mirror.ctan.org/systems/texlive/tlnet/archive/${PN}.source.tar.xz -> ${P}.source.tar.xz ) + doc? ( http://mirror.ctan.org/systems/texlive/tlnet/archive/${PN}.doc.tar.xz -> ${P}.doc.tar.xz )" + +LICENSE="OFL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +S=${WORKDIR} + +src_install() { + # We move all files to the root directory and let the eclass do the magic + find "${S}" -mindepth 2 -type f -execdir mv '{}' "${S}" ';' || die + latex-package_src_install + + echo "MixedMap ${PN}.map" >> "${T}/${PN}.cfg" || die + insinto /etc/texmf/updmap.d + doins "${T}/${PN}.cfg" +} |