summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-13 08:38:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-13 08:38:38 +0000
commit7a84506398b210c0c25453c272b724133b887ffb (patch)
tree50beb8ab56a4b0ccb9bd8b1fd322508924310d03 /games-board
parentrdepend on media-gfx/imagemagick (bug #47654); use emake; tidy (Manifest reco... (diff)
downloadgentoo-2-7a84506398b210c0c25453c272b724133b887ffb.tar.gz
gentoo-2-7a84506398b210c0c25453c272b724133b887ffb.tar.bz2
gentoo-2-7a84506398b210c0c25453c272b724133b887ffb.zip
tidy
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pysol/pysol-4.82.ebuild22
1 files changed, 5 insertions, 17 deletions
diff --git a/games-board/pysol/pysol-4.82.ebuild b/games-board/pysol/pysol-4.82.ebuild
index a803541eca68..29677e2b6ef2 100644
--- a/games-board/pysol/pysol-4.82.ebuild
+++ b/games-board/pysol/pysol-4.82.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.4 2004/03/21 17:13:45 jhuebel Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.5 2004/04/13 08:38:38 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"
@@ -12,13 +12,13 @@ RDEPEND="virtual/python
>=games-board/pysol-sound-server-3.0
>=dev-lang/tk-8.0"
-KEYWORDS="x86 ppc ~amd64"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86 ppc ~amd64"
+IUSE=""
pkg_setup() {
- if ! python -c "import Tkinter" >/dev/null 2>&1
- then
+ if ! python -c "import Tkinter" >/dev/null 2>&1 ; then
eerror "You need to recompile python with Tkinter support."
eerror "That means: USE='tcltk' emerge python"
echo
@@ -39,23 +39,11 @@ src_install () {
-e "s|@prefix@|${prefix}|" \
-e "s|@pkgdatadir@|${pkgdatadir}|" pysol || \
die "sed pysol failed"
- dobin pysol
+ dobin pysol
make prefix=${D}/usr install-data
-
insinto /usr/X11R6/include/X11/pixmaps
doins data/pysol.xpm
-
doman pysol.6
-
-# cp -a ${WORKDIR}/pysol-cardsets-4.40/data/cardset-* ${D}/opt/${P}/data/
-# cp -a ${WORKDIR}/pysol-music-4.40/data/music/* ${D}/opt/${P}/data/music/
dodoc INSTALL NEWS README
}
-
-pkg_postinst() {
- einfo "Please make sure that python was built with TK support:"
- einfo "grep tcltk /var/db/pkg/dev-lang/python*/USE"
- einfo "If the grep fails, then:"
- einfo "USE='tcltk' emerge python"
-}