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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Apr 5 19:28:16 2005 UTC (13 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
clean old files
(Portage version: 2.0.51.19)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/pydance/pydance-1.0.2.ebuild,v 1.3 2004/11/08 01:54:09 josejx Exp $
4
5 inherit games
6
7 DESCRIPTION="pyDance is a DDR clone for linux written in Python"
8 HOMEPAGE="http://www.icculus.org/pyddr/"
9 SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz"
10
11 LICENSE="X11"
12 SLOT="0"
13 KEYWORDS="x86 ppc ~amd64"
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:1\.0\.1:1.0.2:" \
28 -e "s:/etc/:${GAMES_SYSCONFDIR}/:" \
29 pydance.py constants.py docs/man/pydance.6 \
30 || die "sed failed"
31 }
32
33 src_install() {
34 local dir="${GAMES_DATADIR}/${PN}"
35
36 insinto ${dir}
37 doins *.py || die "doins failed"
38 cp -R CREDITS {sound,images,utils,themes} "${D}${dir}/" || die "cp failed"
39
40 insinto ${GAMES_SYSCONFDIR}
41 newins pydance.posix.cfg pydance.cfg
42
43 games_make_wrapper pydance "python ./pydance.py" "${dir}"
44
45 dodoc BUGS CREDITS ChangeLog HACKING README TODO
46 dohtml docs/README.html
47 doman docs/man/*
48 prepgamesdirs
49 }
50
51 pkg_postinst() {
52 games_pkg_postinst
53 einfo "If you want to use a DDR pad with pyDance,"
54 einfo "all you need to do is emerge the games-arcade/ddrmat kernel module."
55 echo
56 }

  ViewVC Help
Powered by ViewVC 1.1.20