summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-08-13 11:43:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-08-13 11:43:25 +0000
commit34e18a77273094053fdd940f6fab7dcb25f245d0 (patch)
treedfc85d191c50aeeaee547956a58a6cf4a02eb2cb /games-board
parentcosmetics (diff)
downloadhistorical-34e18a77273094053fdd940f6fab7dcb25f245d0.tar.gz
historical-34e18a77273094053fdd940f6fab7dcb25f245d0.tar.bz2
historical-34e18a77273094053fdd940f6fab7dcb25f245d0.zip
touch
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pysol/Manifest2
-rw-r--r--games-board/pysol/pysol-4.82.ebuild28
2 files changed, 13 insertions, 17 deletions
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