/[gentoo-x86]/games-board/gnushogi/gnushogi-1.4.1.ebuild
Gentoo

Contents of /games-board/gnushogi/gnushogi-1.4.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Aug 13 09:17:01 2014 UTC (5 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
Stable for ppc, wrt bug #505214

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.4.1.ebuild,v 1.4 2014/06/14 10:38:16 phajdan.jr Exp $
4
5 EAPI=5
6 inherit eutils games
7
8 DESCRIPTION="Japanese version of chess (commandline + X-Version)"
9 HOMEPAGE="http://www.gnu.org/software/gnushogi/"
10 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86"
15 IUSE="X"
16
17 RDEPEND="sys-libs/ncurses
18 X? ( x11-libs/libXaw )"
19 DEPEND="${RDEPEND}
20 >=sys-devel/bison-1.34
21 >=sys-devel/flex-2.5"
22
23 src_prepare() {
24 sed -i \
25 -e '/^bbk:/s/$/ gnushogi_compile pat2inc sizetest/' \
26 Makefile.in || die
27 sed -i \
28 -e "/^LIBDIR/s:=.*:=\"$(games_get_libdir)\":" \
29 gnushogi/Makefile.in || die
30 }
31
32 src_configure() {
33 egamesconf \
34 $(use_with X x) \
35 $(use_enable X xshogi)
36 }
37
38 src_install() {
39 dogamesbin gnushogi/gnushogi
40 doman doc/gnushogi.6
41 doinfo doc/gnushogi.info
42 if use X ; then
43 dogamesbin xshogi/xshogi
44 doman doc/xshogi.6
45 make_desktop_entry xshogi XShogi
46 fi
47 dogameslib gnushogi/gnushogi.bbk
48 dodoc README NEWS CONTRIB
49 dohtml doc/gnushogi/*.html
50 prepgamesdirs
51 }

  ViewVC Help
Powered by ViewVC 1.1.20