/[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.1 - (hide annotations) (download)
Wed Jan 22 03:20:10 2014 UTC (6 years, 1 month ago) by mr_bones_
Branch: MAIN
version bump

(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)

1 mr_bones_ 1.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.3.ebuild,v 1.19 2010/10/27 09:33:04 tupone 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/directory/games/gnushogi.html"
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