1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Defend your volcano from the attacking ants by firing rocks/bullets at them"
9 HOMEPAGE="http://koti.mbnet.fi/makegho/c/betna/"
10 SRC_URI="http://koti.mbnet.fi/makegho/c/betna/${P}.tgz"
14 KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-fbsd"
17 DEPEND="media-libs/libsdl[video]"
22 -e '/blobprintf.*char msg/s/char msg/const char msg/' \
23 -e "s:images/:${GAMES_DATADIR}/${PN}/:" \
28 -e '/--libs/s/-o/$(LDFLAGS) -o/' \
29 -e 's:-O2:$(CXXFLAGS):g' \
41 insinto "${GAMES_DATADIR}"/${PN}
43 newicon images/target.bmp ${PN}.bmp
44 make_desktop_entry ${PN} Betna /usr/share/pixmaps/${PN}.bmp