/[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.2 - (hide annotations) (download)
Fri Mar 28 20:40:59 2014 UTC (5 years, 10 months ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +2 -2 lines
Update HOMEPAGE

(Portage version: 2.2.8-r1/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 mr_bones_ 1.2 # $Header: /var/cvsroot/gentoo-x86/games-board/gnushogi/gnushogi-1.4.1.ebuild,v 1.1 2014/01/22 03:20:10 mr_bones_ Exp $
4 mr_bones_ 1.1
5     EAPI=5
6     inherit eutils games
7    
8     DESCRIPTION="Japanese version of chess (commandline + X-Version)"
9 mr_bones_ 1.2 HOMEPAGE="http://www.gnu.org/software/gnushogi/"
10 mr_bones_ 1.1 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