diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-15 01:26:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-15 01:26:33 +0000 |
commit | 169121ebaf931416e8c388ace426d32710f5801d (patch) | |
tree | 1d9f1641cb89df464764055bf861bd2b0eed4074 /games-puzzle | |
parent | Version bump. (diff) | |
download | gentoo-2-169121ebaf931416e8c388ace426d32710f5801d.tar.gz gentoo-2-169121ebaf931416e8c388ace426d32710f5801d.tar.bz2 gentoo-2-169121ebaf931416e8c388ace426d32710f5801d.zip |
clean out old ebuilds and use a normal separator char in sed expression #112379 by Ulrich Mueller
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/pathological/files/digest-pathological-1.1.3 | 1 | ||||
-rw-r--r-- | games-puzzle/pathological/pathological-1.1.3-r1.ebuild | 6 | ||||
-rw-r--r-- | games-puzzle/pathological/pathological-1.1.3.ebuild | 76 |
3 files changed, 3 insertions, 80 deletions
diff --git a/games-puzzle/pathological/files/digest-pathological-1.1.3 b/games-puzzle/pathological/files/digest-pathological-1.1.3 deleted file mode 100644 index 6e8753cc1e88..000000000000 --- a/games-puzzle/pathological/files/digest-pathological-1.1.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 76a446080c0fed12baf39354d8e0ce4a pathological-1.1.3.tar.gz 6995274 diff --git a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild index 4f4161e0d064..643ec35714cd 100644 --- a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild +++ b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild @@ -1,6 +1,6 @@ # 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-r1.ebuild,v 1.1 2005/10/16 05:09:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3-r1.ebuild,v 1.2 2005/11/15 01:26:33 vapier Exp $ inherit games eutils @@ -34,11 +34,11 @@ src_unpack() { fi sed -i \ - -e "/^cd / s/usr/share/pathological${GAMES_DATADIR}/${PN}" \ + -e "/^cd /s:/usr/share/pathological:${GAMES_DATADIR}/${PN}:" \ pathological || die "sed pathological failed" sed -i \ - -e "/^write_highscores / s/usr/lib/pathological/bin${GAMES_LIBDIR}/${PN}" \ + -e "/^write_highscores /s:/usr/lib/pathological/bin:${GAMES_LIBDIR}/${PN}:" \ pathological.py || die "sed pathological.py failed" } diff --git a/games-puzzle/pathological/pathological-1.1.3.ebuild b/games-puzzle/pathological/pathological-1.1.3.ebuild deleted file mode 100644 index 18867930c8de..000000000000 --- a/games-puzzle/pathological/pathological-1.1.3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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.11 2005/07/11 15:08:46 gustavoz 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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 amd64 ppc sparc" -IUSE="doc" - -DEPEND="doc? ( media-libs/netpbm ) - >=sys-apps/sed-4" -RDEPEND=">=dev-python/pygame-1.5.5 - dev-lang/python" - -src_unpack() { - unpack ${A} - cd ${S} - - if use doc ; then - sed -i \ - -e '5,$ s/=/ /g' makehtml \ - || die "sed makehtml failed" - else - echo "#!/bin/sh" > makehtml \ - || die "clearing makehtml failed" - fi - - sed -i \ - -e "/^cd / s/usr/share/pathological${GAMES_DATADIR}/${PN}" \ - pathological || die "sed pathological failed" - - sed -i \ - -e "/^write_highscores / s/usr/lib/pathological/bin${GAMES_LIBDIR}/${PN}" \ - pathological.py || die "sed pathological.py failed" -} - -src_install() { - # executables - dogamesbin pathological || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/${PN}" - insopts -m0750 - doins pathological.py || die "doins failed" - exeinto "${GAMES_LIBDIR}/${PN}" - doexe write-highscores || die "doexe failed" - - # removed some unneeded resource files - rm -f graphics/*.xcf - rm -f sounds/*.orig - # "install" resource files - # Use cp, not mv so install can be done multiple times (for ebuild devel). - cp -R circuits graphics music sounds "${D}/${GAMES_DATADIR}/${PN}" \ - || die "cp failed" - - # setup high score file - insinto "${GAMES_STATEDIR}" - insopts -m0664 - doins pathological_scores || die "doins failed (pathological_scores)" - - # documentation - dodoc README TODO - doman pathological.6.gz - use doc && dohtml -r html/ - - insinto /usr/share/pixmaps - doins pathological.xpm - - make_desktop_entry pathological Pathological pathological.xpm - - prepgamesdirs -} |