summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-09-26 08:31:12 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-09-26 08:31:12 +0000
commite674c085abf543e3806015861f06330d4d398cfa (patch)
tree247e2c26516169df7ef3983cb573f941dcfc34f9 /media-fonts/aquapfont/aquapfont-2.6-r2.ebuild
parentVersion bump (diff)
downloadgentoo-2-e674c085abf543e3806015861f06330d4d398cfa.tar.gz
gentoo-2-e674c085abf543e3806015861f06330d4d398cfa.tar.bz2
gentoo-2-e674c085abf543e3806015861f06330d4d398cfa.zip
Fix the installed fontconfig file; 2.6-r1 installed the mikachan file instead of its own.
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'media-fonts/aquapfont/aquapfont-2.6-r2.ebuild')
-rw-r--r--media-fonts/aquapfont/aquapfont-2.6-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild b/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild
new file mode 100644
index 000000000000..00976f36a769
--- /dev/null
+++ b/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/aquapfont/aquapfont-2.6-r2.ebuild,v 1.1 2009/09/26 08:31:12 flameeyes Exp $
+
+inherit font
+
+MY_P="${PN/font/}${PV/\./_}"
+
+DESCRIPTION="Very pretty Japanese proportional truetype font"
+HOMEPAGE="http://aquablue.milkcafe.to/"
+SRC_URI="http://aquablue.milkcafe.to/tears/font/${MY_P}.zip"
+
+LICENSE="aquafont"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+FONT_S="${S}"
+FONT_SUFFIX="ttf"
+DOCS="readme.txt"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+# Only installs fonts
+RESTRICT="strip binchecks"
+
+FONT_CONF=( "${T}/60-aquapfont.conf" )
+
+src_compile() {
+ cp "${FILESDIR}"/60-aquapfont-r1.conf "${T}"/60-aquapfont.conf || die
+}
+
+pkg_postinst() {
+ font_pkg_postinst
+
+ echo
+ elog "To use aquapfont instead of the default font for sans and serif use:"
+ elog " eselect fontconfig enable 60-aquapfont.conf"
+ echo
+}