From 34e18a77273094053fdd940f6fab7dcb25f245d0 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Fri, 13 Aug 2004 11:43:25 +0000 Subject: touch --- games-board/pysol/Manifest | 2 +- games-board/pysol/pysol-4.82.ebuild | 28 ++++++++++++---------------- 2 files changed, 13 insertions(+), 17 deletions(-) (limited to 'games-board') diff --git a/games-board/pysol/Manifest b/games-board/pysol/Manifest index 34d8c4bd626a..52c48765be39 100644 --- a/games-board/pysol/Manifest +++ b/games-board/pysol/Manifest @@ -1,4 +1,4 @@ -MD5 a3fd24a6e67bd306685039c523b2892f pysol-4.82.ebuild 1270 MD5 91d6a022bb55420256c4df114a7167ab ChangeLog 933 +MD5 c02535d23eb442313de451883f9cab29 pysol-4.82.ebuild 1265 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 64d3e8b76a0ed236cf4a0fdb4a3e4b50 files/digest-pysol-4.82 64 diff --git a/games-board/pysol/pysol-4.82.ebuild b/games-board/pysol/pysol-4.82.ebuild index e3c3e245cbbf..3a56c43e18df 100644 --- a/games-board/pysol/pysol-4.82.ebuild +++ b/games-board/pysol/pysol-4.82.ebuild @@ -1,10 +1,15 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.7 2004/06/24 22:20:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.8 2004/08/13 11:43:25 mr_bones_ Exp $ DESCRIPTION="An exciting collection of more than 200 solitaire card games" -SRC_URI="http://www.oberhumer.com/opensource/pysol/download/${P}.tar.bz2" HOMEPAGE="http://www.oberhumer.com/opensource/pysol/" +SRC_URI="http://www.oberhumer.com/opensource/pysol/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64" +IUSE="" DEPEND="virtual/python >=sys-apps/sed-4" @@ -12,11 +17,6 @@ RDEPEND="virtual/python >=games-board/pysol-sound-server-3.0 >=dev-lang/tk-8.0" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ppc amd64" -IUSE="" - pkg_setup() { if ! python -c "import Tkinter" >/dev/null 2>&1 ; then eerror "You need to recompile python with Tkinter support." @@ -27,21 +27,17 @@ pkg_setup() { } src_install () { - local prefix - local datadir - local pkgdatadir - - prefix="/usr" - datadir="${prefix}/share" - pkgdatadir=${datadir}/${PN}/${PV} + local prefix="/usr" + local datadir="${prefix}/share" + local pkgdatadir=${datadir}/${PN}/${PV} sed -i \ -e "s|@prefix@|${prefix}|" \ -e "s|@pkgdatadir@|${pkgdatadir}|" pysol || \ die "sed pysol failed" - dobin pysol - make prefix=${D}/usr install-data + dobin pysol || die "dobin failed" + make prefix="${D}/usr" install-data insinto /usr/X11R6/include/X11/pixmaps doins data/pysol.xpm doman pysol.6 -- cgit v1.2.3-65-gdbad