summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/freedink')
-rw-r--r--games-rpg/freedink/Manifest1
-rw-r--r--games-rpg/freedink/freedink-108.4.ebuild55
-rw-r--r--games-rpg/freedink/metadata.xml5
3 files changed, 61 insertions, 0 deletions
diff --git a/games-rpg/freedink/Manifest b/games-rpg/freedink/Manifest
new file mode 100644
index 00000000000..7fb176ecbfd
--- /dev/null
+++ b/games-rpg/freedink/Manifest
@@ -0,0 +1 @@
+DIST freedink-108.4.tar.gz 1897701 SHA256 82cfb2e019e78b6849395dc4750662b67087d14f406d004f6d9e39e96a0c8521 SHA512 1496b6a7826bf694a2919add22a8b4b08a4967d8a7fdebf2d599bd99c7a7ce67de6c2b11124423c7aa1f0feb2e7c03ce1cf00252070182936e7481791dafee61 WHIRLPOOL 487f82adc1c36631220f23c6ac6aebaaafb3788bfdfbbf8a4e30d0c77d2a1ff97a9c43d5017fa5d50bfc7c3c36042521f3f7e194c4faa77f836ad45cff845d75
diff --git a/games-rpg/freedink/freedink-108.4.ebuild b/games-rpg/freedink/freedink-108.4.ebuild
new file mode 100644
index 00000000000..8d47573110d
--- /dev/null
+++ b/games-rpg/freedink/freedink-108.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+DESCRIPTION="Dink Smallwood is an adventure/role-playing game, similar to Zelda (2D top view)"
+HOMEPAGE="http://www.freedink.org/"
+SRC_URI="mirror://gnu/freedink/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="
+ >=media-libs/fontconfig-2.4
+ >=media-libs/libsdl-1.2[X,sound,joystick,video]
+ >=media-libs/sdl-gfx-2.0
+ >=media-libs/sdl-image-1.2
+ >=media-libs/sdl-mixer-1.2[midi,vorbis,wav]
+ >=media-libs/sdl-ttf-2.0.9"
+RDEPEND="${DEPEND}
+ ~games-rpg/freedink-data-1.08.20140901"
+DEPEND="${DEPEND}
+ dev-libs/check
+ virtual/pkgconfig
+ sys-devel/gettext"
+
+src_prepare() {
+ sed -i \
+ -e 's#^datarootdir =.*$#datarootdir = /usr/share#' \
+ share/Makefile.in || die
+}
+
+src_configure() {
+ egamesconf \
+ --disable-embedded-resources \
+ --localedir="/usr/share/locale"
+}
+
+src_install() {
+ default
+ dodoc TROUBLESHOOTING
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo
+ elog "optional dependencies:"
+ elog " games-util/dfarc (dmod installer and frontend)"
+ einfo
+}
diff --git a/games-rpg/freedink/metadata.xml b/games-rpg/freedink/metadata.xml
new file mode 100644
index 00000000000..cad5a2aa177
--- /dev/null
+++ b/games-rpg/freedink/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+</pkgmetadata>