/[gentoo-x86]/games-arcade/defendguin/defendguin-0.0.12.ebuild
Gentoo

Diff of /games-arcade/defendguin/defendguin-0.0.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
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-arcade/defendguin/defendguin-0.0.12.ebuild,v 1.6 2012/09/05 07:13:37 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-arcade/defendguin/defendguin-0.0.12.ebuild,v 1.7 2015/01/04 08:54:21 tupone Exp $
4 4
5EAPI=2 5EAPI=5
6inherit eutils games 6inherit eutils games
7 7
8DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme" 8DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme"
9HOMEPAGE="http://www.newbreedsoftware.com/defendguin/" 9HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
10SRC_URI="ftp://ftp.tuxpaint.org/unix/x/${PN}/src/${P}.tar.gz" 10SRC_URI="ftp://ftp.tuxpaint.org/unix/x/${PN}/src/${P}.tar.gz"
14KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd" 14KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd"
15IUSE="" 15IUSE=""
16 16
17DEPEND="media-libs/sdl-mixer[mod] 17DEPEND="media-libs/sdl-mixer[mod]
18 media-libs/libsdl[video]" 18 media-libs/libsdl[video]"
19RDEPEND="${DEPEND}"
19 20
20src_prepare() { 21src_prepare() {
21 sed -i \ 22 sed -i \
22 -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \ 23 -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \
23 -e '/^CFLAGS=.*-O2/d' \ 24 -e '/^CFLAGS=.*-O2/d' \
26 || die 27 || die
27 rm -f data/images/*.sh 28 rm -f data/images/*.sh
28} 29}
29 30
30src_install() { 31src_install() {
31 dogamesbin ${PN} || die 32 dogamesbin ${PN}
32 insinto "${GAMES_DATADIR}"/${PN} 33 insinto "${GAMES_DATADIR}"/${PN}
33 doins -r ./data/* || die 34 doins -r ./data/*
34 newicon data/images/ufo/ufo0.bmp ${PN}.bmp 35 newicon data/images/ufo/ufo0.bmp ${PN}.bmp
35 make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp 36 make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp
36 doman src/${PN}.6 37 doman src/${PN}.6
37 dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt 38 dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt
38 prepgamesdirs 39 prepgamesdirs

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20