1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="a reimplementation of Sierra's Adventure Game Interpreter"
8 HOMEPAGE="http://www.dagii.org/"
9 SRC_URI="http://www.dagii.org/dist/${P}.tar.bz2"
13 KEYWORDS="~ppc ~x86 ~x86-fbsd"
16 DEPEND="png? ( >=media-libs/libpng-1.2.8 )
17 >=media-libs/libsdl-1.2.9
18 >=sys-libs/zlib-1.2.0"
22 egamesconf $(use_enable png libpng ) || die "econf failed"
23 emake dep || die "emake dep failed"
24 emake || die "emake failed"
30 doicon "${FILESDIR}/${PN}.xpm"
31 make_desktop_entry ${PN} ${PN} ${PN}.xpm "Game;AdventureGame"
36 elog "Dagii looks for games either in the user's current directory"
37 elog "or in a location passed as a path in the command line"
38 elog "For example: \"$ dagii /usr/share/games/kq3\""
39 elog "Also, dagii can play games which are stored in .zip archives."