|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.6 2004/11/12 18:44:49 wolf31o2 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-board/daemonshogi/daemonshogi-0.1.3.ebuild,v 1.6 2004/11/12 18:44:49 wolf31o2 Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils games |
5 |
inherit games |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="A GTK+ based, simple shogi (Japanese chess) program" |
7 |
DESCRIPTION="A GTK+ based, simple shogi (Japanese chess) program" |
| 8 |
HOMEPAGE="http://www.users.yun.co.jp/~tokita/daemonshogi/" |
8 |
HOMEPAGE="http://www.users.yun.co.jp/~tokita/daemonshogi/" |
|
Lines 16-27
Link Here
|
| 16 |
DEPEND="gnome-base/gnome-libs |
16 |
DEPEND="gnome-base/gnome-libs |
| 17 |
nls? ( >=sys-devel/gettext-0.10.38 )" |
17 |
nls? ( >=sys-devel/gettext-0.10.38 )" |
| 18 |
|
18 |
|
| 19 |
src_unpack() { |
|
|
| 20 |
unpack ${A} |
| 21 |
cd "${S}" |
| 22 |
epatch "${FILESDIR}/${P}"-sandbox.patch |
| 23 |
} |
| 24 |
|
| 25 |
src_compile() { |
19 |
src_compile() { |
| 26 |
if use nls && has_version '>=sys-devel/gettext-0.12' ; then |
20 |
if use nls && has_version '>=sys-devel/gettext-0.12' ; then |
| 27 |
export XGETTEXT="/usr/bin/xgettext --from-code=EUC-JP" |
21 |
export XGETTEXT="/usr/bin/xgettext --from-code=EUC-JP" |
|
Lines 31-37
Link Here
|
| 31 |
} |
25 |
} |
| 32 |
|
26 |
|
| 33 |
src_install() { |
27 |
src_install() { |
| 34 |
make install DESTDIR=${D} || die |
28 |
egamesinstall || die |
| 35 |
dodoc ChangeLog README* NEWS |
29 |
dodoc ChangeLog README* NEWS |
| 36 |
prepgamesdirs |
30 |
prepgamesdirs |
| 37 |
} |
31 |
} |