1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Port from an old amiga game"
8 HOMEPAGE="http://methane.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
13 KEYWORDS="~amd64 ~x86"
16 RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]"
24 eapply "${FILESDIR}"/${P}-gentoo.patch
27 eapply "${FILESDIR}"/${P}-gcc5.patch
28 eapply "${FILESDIR}"/${P}-fullscreen.patch
31 -e "s:@GENTOO_DATADIR@:/usr/share:" \
32 sources/target.cpp || die
34 # fix weird parallel make issue wrt #450422
40 insinto /usr/share/${PN}
42 newicon docs/puff.gif ${PN}.gif
43 make_desktop_entry ${PN} "Super Methane Brothers" /usr/share/pixmaps/${PN}.gif
44 HTML_DOCS="docs/*" dodoc authors.txt history.txt readme.txt