summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/lyntin/lyntin-4.2.ebuild')
-rw-r--r--games-mud/lyntin/lyntin-4.2.ebuild16
1 files changed, 4 insertions, 12 deletions
diff --git a/games-mud/lyntin/lyntin-4.2.ebuild b/games-mud/lyntin/lyntin-4.2.ebuild
index ff360d76ab3b..04e5cb211963 100644
--- a/games-mud/lyntin/lyntin-4.2.ebuild
+++ b/games-mud/lyntin/lyntin-4.2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/lyntin-4.2.ebuild,v 1.1 2008/12/07 13:50:29 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/lyntin/lyntin-4.2.ebuild,v 1.2 2009/01/19 23:25:20 mr_bones_ Exp $
+EAPI=2
inherit eutils games distutils
DESCRIPTION="tintin mud client clone implemented in Python"
@@ -13,19 +14,10 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="tk"
-DEPEND=">=dev-lang/python-2.2.3"
+DEPEND=">=dev-lang/python-2.2.3[tk?]"
DOCS="COMMANDS PKG-INFO HACKING README"
-pkg_setup() {
- games_pkg_setup
- if use tk && ! built_with_use dev-lang/python tk ; then
- eerror "You need to emerge python with USE=tk set."
- echo
- die "missing tkinter support with installed python"
- fi
-}
-
src_install() {
distutils_src_install
dogamesbin "${D}/usr/bin/runlyntin" || die "dogamesbin failed"