diff options
author | Jason Donenfeld <zx2c4@gentoo.org> | 2012-12-16 05:46:20 +0000 |
---|---|---|
committer | Jason Donenfeld <zx2c4@gentoo.org> | 2012-12-16 05:46:20 +0000 |
commit | 3e1f02b481b64be38eadc7a7f0fde602659932bf (patch) | |
tree | a435901424d9b079acbffbadb7fbad4e70ec1b9a /media-fonts/source-pro/source-pro-20121216.ebuild | |
parent | whitespace (diff) | |
download | historical-3e1f02b481b64be38eadc7a7f0fde602659932bf.tar.gz historical-3e1f02b481b64be38eadc7a7f0fde602659932bf.tar.bz2 historical-3e1f02b481b64be38eadc7a7f0fde602659932bf.zip |
Per Gregory Beauregard's suggestion, bump.
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64
Diffstat (limited to 'media-fonts/source-pro/source-pro-20121216.ebuild')
-rw-r--r-- | media-fonts/source-pro/source-pro-20121216.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-fonts/source-pro/source-pro-20121216.ebuild b/media-fonts/source-pro/source-pro-20121216.ebuild new file mode 100644 index 000000000000..60205f92a570 --- /dev/null +++ b/media-fonts/source-pro/source-pro-20121216.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-fonts/source-pro/source-pro-20121216.ebuild,v 1.1 2012/12/16 05:46:16 zx2c4 Exp $ + +EAPI=4 +inherit font + +CODE_P=SourceCodePro_FontsOnly-1.013 +SANS_P=SourceSansPro_FontsOnly-1.038 + +DESCRIPTION="Adobe Source Pro, an open source multi-lingual font family" +HOMEPAGE="http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html + http://blogs.adobe.com/typblography/2012/09/source-code-pro.html" +SRC_URI="mirror://sourceforge/sourcecodepro.adobe/${CODE_P}.zip + mirror://sourceforge/sourcesans.adobe/${SANS_P}.zip" + +LICENSE="OFL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +# This ebuild does not install any binaries +RESTRICT="binchecks strip" + +RDEPEND="media-libs/fontconfig" +DEPEND="app-arch/unzip" + +S="${WORKDIR}" +FONT_SUFFIX="otf ttf" +FONT_S=${S} +FONT_CONF=( "${FILESDIR}"/63-${PN}.conf ) + +src_prepare() { + # Put otf and ttf files in one directory so that font_src_install can + # actually find them. We make this non-fatal because releases appear to be + # alternating between having OTF/TTF subdirs and not, so it's easier just to + # glob for everything. + mv -vf ${CODE_P}/{OTF,TTF,""}/* . + mv -vf ${SANS_P}/{OTF,TTF,""}/* . +} + +src_install() { + font_src_install + dohtml *.html +} |