/[gentoo-x86]/games-arcade/pydance/pydance-0.8.2.ebuild
Gentoo

Contents of /games-arcade/pydance/pydance-0.8.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun Feb 22 10:20:43 2004 UTC (16 years, 7 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
old

1 mr_bones_ 1.2 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 mr_bones_ 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.3 # $Header: /home/cvsroot/gentoo-x86/games-arcade/pydance/pydance-0.8.2.ebuild,v 1.2 2004/02/20 06:20:00 mr_bones_ Exp $
4 mr_bones_ 1.1
5     inherit games
6    
7     DESCRIPTION="Dance Dance Revolution! You need this game more than Frozen Bubble"
8     HOMEPAGE="http://www.icculus.org/pyddr/"
9     SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz"
10    
11     LICENSE="X11"
12     KEYWORDS="x86"
13     SLOT="0"
14     IUSE=""
15    
16     RDEPEND="dev-python/pygame
17     media-libs/libvorbis
18     media-libs/sdl-mixer"
19     DEPEND="${RDEPEND}
20     >=sys-apps/sed-4"
21     PDEPEND="games-arcade/pydance-songs"
22    
23     src_unpack() {
24     unpack ${A}
25     cd ${S}
26     sed -i \
27     -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \
28     constants.py docs/man/pydance.6 || \
29     die "sed failed"
30     }
31    
32     src_install() {
33     local dir="${GAMES_DATADIR}/${PN}"
34    
35     insinto ${dir}
36     doins *.py || die "doins failed"
37     cp -R {sound,images,utils,themes} "${D}${dir}/" || die "cp failed"
38    
39     insinto ${GAMES_SYSCONFDIR}
40     newins pydance.posix.cfg pydance.cfg || die "newins failed"
41    
42     dogamesbin ${FILESDIR}/pydance || die "dogamesbin failed"
43     dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/pydance
44    
45     dodoc BUGS CREDITS ChangeLog HACKING README TODO || die "dodoc failed"
46     dohtml docs/README.html || die "dohtml failed"
47     doman docs/man/* || die "doman failed"
48     prepgamesdirs
49     }
50    
51     pkg_postinst() {
52     games_pkg_postinst
53     einfo "Emerge the games-arcade/ddrmat package to install"
54     einfo "the ddrmat kernel module, which allows you to use"
55     einfo "a DDR mat with pydance."
56     }

  ViewVC Help
Powered by ViewVC 1.1.20