summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/pathological/pathological-1.1.3.ebuild')
-rw-r--r--games-puzzle/pathological/pathological-1.1.3.ebuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/games-puzzle/pathological/pathological-1.1.3.ebuild b/games-puzzle/pathological/pathological-1.1.3.ebuild
index 9070402fb273..327f27657d48 100644
--- a/games-puzzle/pathological/pathological-1.1.3.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3.ebuild
@@ -1,15 +1,16 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3.ebuild,v 1.8 2005/01/03 22:33:49 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3.ebuild,v 1.9 2005/01/29 00:34:31 vapier Exp $
inherit games
DESCRIPTION="An enriched clone of the game 'Logical' by Rainbow Arts"
HOMEPAGE="http://pathological.sourceforge.net/"
SRC_URI="mirror://sourceforge/pathological/${P}.tar.gz"
-KEYWORDS="x86 ~amd64 ppc"
+
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86 amd64 ppc"
IUSE="doc"
DEPEND="doc? ( media-libs/netpbm )
@@ -21,14 +22,14 @@ src_unpack() {
unpack ${A}
cd ${S}
- use doc && {
+ if use doc ; then
sed -i \
-e '5,$ s/=/ /g' makehtml \
|| die "sed makehtml failed"
- } || {
+ else
echo "#!/bin/sh" > makehtml \
- || die "clearing makehtml failed"
- }
+ || die "clearing makehtml failed"
+ fi
sed -i \
-e "/^cd / s/usr/share/pathological${GAMES_DATADIR}/${PN}" \