summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-04-15 10:28:49 +0200
committerPacho Ramos <pacho@gentoo.org>2018-04-15 11:11:12 +0200
commit97e48392c0abdb3facf073a4234d59f8bdc76a15 (patch)
tree2d0ad117caa48ba0f51a582fefee6e82de19d098 /games-arcade/afternoonstalker
parentgames-arcade/abe: Drop old (diff)
downloadgentoo-97e48392c0abdb3facf073a4234d59f8bdc76a15.tar.gz
gentoo-97e48392c0abdb3facf073a4234d59f8bdc76a15.tar.bz2
gentoo-97e48392c0abdb3facf073a4234d59f8bdc76a15.zip
games-arcade/afternoonstalker: Stop using games.eclass
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'games-arcade/afternoonstalker')
-rw-r--r--games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild b/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild
new file mode 100644
index 000000000000..f7f3afc9f23e
--- /dev/null
+++ b/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics"
+HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/afternoonstalker.html"
+SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-games/flatzebra-0.1.6"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
+ -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
+ -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \
+ src/Makefile.am || die
+ eautoreconf
+}
+
+src_install() {
+ emake -C src DESTDIR="${D}" install
+ doman doc/${PN}.6
+ einstalldocs
+}