summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-09-09 17:56:29 +0000
committerMike Frysinger <vapier@gentoo.org>2014-09-09 17:56:29 +0000
commit44a221ccbdd2df5534b9e3f29657309c18e8f3d3 (patch)
tree8983ea073cb827a92d7bb833dc9a8eec2a8d1af1 /media-fonts
parentupstream tarball reenroll, bug#522066 (diff)
downloadgentoo-2-44a221ccbdd2df5534b9e3f29657309c18e8f3d3.tar.gz
gentoo-2-44a221ccbdd2df5534b9e3f29657309c18e8f3d3.tar.bz2
gentoo-2-44a221ccbdd2df5534b9e3f29657309c18e8f3d3.zip
Version bump #509860 by bill.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/terminus-font/ChangeLog9
-rw-r--r--media-fonts/terminus-font/terminus-font-4.39.ebuild79
2 files changed, 86 insertions, 2 deletions
diff --git a/media-fonts/terminus-font/ChangeLog b/media-fonts/terminus-font/ChangeLog
index 042213696503..2d78d5ff4406 100644
--- a/media-fonts/terminus-font/ChangeLog
+++ b/media-fonts/terminus-font/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-fonts/terminus-font
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.100 2013/09/06 14:58:02 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/ChangeLog,v 1.101 2014/09/09 17:56:29 vapier Exp $
+
+*terminus-font-4.39 (09 Sep 2014)
+
+ 09 Sep 2014; Mike Frysinger <vapier@gentoo.org> +terminus-font-4.39.ebuild:
+ Version bump #509860 by bill.
06 Sep 2013; Agostino Sarubbo <ago@gentoo.org> terminus-font-4.38.ebuild:
Stable for sparc, wrt bug #448010
diff --git a/media-fonts/terminus-font/terminus-font-4.39.ebuild b/media-fonts/terminus-font/terminus-font-4.39.ebuild
new file mode 100644
index 000000000000..19b1ffacccc4
--- /dev/null
+++ b/media-fonts/terminus-font/terminus-font-4.39.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-fonts/terminus-font/terminus-font-4.39.ebuild,v 1.1 2014/09/09 17:56:29 vapier Exp $
+
+EAPI=4
+
+inherit eutils font
+
+DESCRIPTION="A clean fixed font for the console and X11"
+HOMEPAGE="http://terminus-font.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="OFL-1.1 GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="a-like-o +center-tilde distinct-l ru-dv +ru-g quote ru-i ru-k +psf raw-font-data +pcf"
+
+DEPEND="app-arch/gzip
+ dev-lang/perl
+ virtual/awk
+ pcf? ( x11-apps/bdftopcf )"
+RDEPEND=""
+
+FONTDIR=/usr/share/fonts/terminus
+DOCS="README README-BG AUTHORS CHANGES"
+
+REQUIRED_USE="X? ( pcf )"
+
+src_prepare() {
+ # Upstream patches. Some of them are suggested to be applied by default
+ # dv - de NOT like latin g, but like caps greek delta
+ # ve NOT like greek beta, but like caps latin B
+ # ge - ge NOT like "mirrored" latin s, but like caps greek gamma
+ # ka - small ka NOT like minimised caps latin K, but like small latin k
+ use a-like-o && epatch "${S}"/alt/ao2.diff
+ use center-tilde && epatch "${S}"/alt/td1.diff
+ use distinct-l && epatch "${S}"/alt/ll2.diff
+ use ru-i && epatch "${S}"/alt/ij1.diff
+ use ru-k && epatch "${S}"/alt/ka2.diff
+ use ru-dv && epatch "${S}"/alt/dv1.diff
+ use ru-g && epatch "${S}"/alt/ge2.diff
+ use quote && epatch "${S}"/alt/gq2.diff
+}
+
+src_configure() {
+ # selfwritten configure script without executable bit
+ chmod +x ./configure || die
+ ./configure \
+ --prefix="${EPREFIX}"/usr \
+ --psfdir="${EPREFIX}"/usr/share/consolefonts \
+ --acmdir="${EPREFIX}"/usr/share/consoletrans \
+ --unidir="${EPREFIX}"/usr/share/consoletrans \
+ --x11dir="${EPREFIX}"/${FONTDIR} || die
+}
+
+src_compile() {
+ local args=(
+ $(usex psf 'psf txt' '')
+ $(usex raw-font-data 'raw' '')
+ $(usex pcf 'pcf' '')
+ )
+ [[ ${#args[@]} -gt 0 ]] && emake "${args[@]}"
+}
+
+src_install() {
+ local args=(
+ $(usex psf 'install-psf install-uni install-acm install-ref' '')
+ $(usex raw-font-data 'install.raw' '')
+ $(usex pcf 'install-pcf')
+ )
+ # Set the CHECKDIR to a dummy location so we always get the same set of
+ # files installed regardless of what is in / or ROOT or wherever.
+ [[ ${#args[@]} -gt 0 ]] && emake DESTDIR="${D}" CHECKDIR="${D}" "${args[@]}"
+
+ # Remove trans files that the kbd package takes care of installing.
+ rm -f "${ED}"/usr/share/consoletrans/*.trans
+
+ font_src_install
+}