summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-19 02:28:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-19 02:28:41 +0000
commitbc227bb4279215bbd1392dec3e5cb94f909bbc76 (patch)
tree57656e68dcafeab62e9692e2557b8d984f3d5b90 /games-board
parentVersion bump #309865 by Samuli Suominen. (diff)
downloadgentoo-2-bc227bb4279215bbd1392dec3e5cb94f909bbc76.tar.gz
gentoo-2-bc227bb4279215bbd1392dec3e5cb94f909bbc76.tar.bz2
gentoo-2-bc227bb4279215bbd1392dec3e5cb94f909bbc76.zip
Add default-font to install a font that works for xboard.
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r--games-board/xboard/ChangeLog6
-rw-r--r--games-board/xboard/metadata.xml1
-rw-r--r--games-board/xboard/xboard-4.4.2.ebuild14
3 files changed, 17 insertions, 4 deletions
diff --git a/games-board/xboard/ChangeLog b/games-board/xboard/ChangeLog
index 76ab40fd0508..57a7e85b185e 100644
--- a/games-board/xboard/ChangeLog
+++ b/games-board/xboard/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/xboard
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.26 2010/01/23 15:50:46 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.27 2010/03/19 02:28:41 mr_bones_ Exp $
+
+ 19 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> xboard-4.4.2.ebuild,
+ metadata.xml:
+ Add default-font to install a font that works for xboard.
23 Jan 2010; Brent Baude <ranger@gentoo.org> xboard-4.4.1.ebuild:
stable ppc, bug 295707
diff --git a/games-board/xboard/metadata.xml b/games-board/xboard/metadata.xml
index f2b21840e01d..8ad0acd7e3a8 100644
--- a/games-board/xboard/metadata.xml
+++ b/games-board/xboard/metadata.xml
@@ -4,5 +4,6 @@
<herd>games</herd>
<use>
<flag name="zippy">Enable experimental zippy client</flag>
+ <flag name="default-font">Install the default font that xboard uses</flag>
</use>
</pkgmetadata>
diff --git a/games-board/xboard/xboard-4.4.2.ebuild b/games-board/xboard/xboard-4.4.2.ebuild
index bbdca4c43db4..b7d410687baf 100644
--- a/games-board/xboard/xboard-4.4.2.ebuild
+++ b/games-board/xboard/xboard-4.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.4.2.ebuild,v 1.2 2010/01/11 17:34:52 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.4.2.ebuild,v 1.3 2010/03/19 02:28:41 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
@@ -14,7 +14,7 @@ SRC_URI="mirror://gnu/xboard/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="Xaw3d zippy"
+IUSE="Xaw3d +default-font zippy"
RESTRICT="test" #124112
RDEPEND="Xaw3d? ( x11-libs/Xaw3d )
@@ -25,10 +25,15 @@ RDEPEND="Xaw3d? ( x11-libs/Xaw3d )
x11-libs/libXt
x11-libs/libXmu
x11-libs/libXext
- x11-libs/libICE"
+ x11-libs/libICE
+ default-font? ( media-fonts/font-adobe-100dpi )"
DEPEND="${RDEPEND}
x11-proto/xproto"
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
src_prepare() {
epatch "${FILESDIR}"/${P}*
eautoreconf
@@ -56,4 +61,7 @@ pkg_postinst() {
elog "No chess engines are emerged by default! If you want a chess engine"
elog "to play with, you can emerge gnuchess or crafty."
elog "Read xboard FAQ for information."
+ if ! use default-font ; then
+ ewarn "Read the xboard(6) man page for specifying the font for xboard to use."
+ fi
}