diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-24 00:22:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-24 00:22:30 +0000 |
commit | 502a1b8d90299997785aaa3d611d8fdcf09bfebc (patch) | |
tree | 06a547ac4164abb0f3aac0673ffdfe1b2f538bf7 /games-board/pysol | |
parent | Fix under quoting of the $ac_unique_file variable by Justace Clutter #96882. (diff) | |
download | gentoo-2-502a1b8d90299997785aaa3d611d8fdcf09bfebc.tar.gz gentoo-2-502a1b8d90299997785aaa3d611d8fdcf09bfebc.tar.bz2 gentoo-2-502a1b8d90299997785aaa3d611d8fdcf09bfebc.zip |
update HOMEPAGE, use python eclass, touchups
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'games-board/pysol')
-rw-r--r-- | games-board/pysol/pysol-4.82.ebuild | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/games-board/pysol/pysol-4.82.ebuild b/games-board/pysol/pysol-4.82.ebuild index 6bbd9cdc77bb..0be918443e5a 100644 --- a/games-board/pysol/pysol-4.82.ebuild +++ b/games-board/pysol/pysol-4.82.ebuild @@ -1,43 +1,39 @@ # Copyright 1999-2005 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.10 2005/06/15 18:31:16 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.11 2005/06/24 00:22:30 vapier Exp $ + +inherit python DESCRIPTION="An exciting collection of more than 200 solitaire card games" -HOMEPAGE="http://www.oberhumer.com/opensource/pysol/" +HOMEPAGE="http://www.pysol.org/" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc amd64" +KEYWORDS="amd64 ppc x86" IUSE="" -DEPEND="virtual/python - >=sys-apps/sed-4" +DEPEND="virtual/python" RDEPEND="virtual/python >=games-board/pysol-sound-server-3.0 >=dev-lang/tk-8.0" pkg_setup() { - 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 - die "missing tkinter support with installed python" - fi + python_tkinter_exists } -src_install () { +src_install() { 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" + -e "s|@pkgdatadir@|${pkgdatadir}|" \ + pysol || die "sed pysol failed" dobin pysol || die "dobin failed" - make prefix="${D}/usr" install-data + make prefix="${D}/usr" install-data || die "install-data failed" insinto /usr/include/X11/pixmaps doins data/pysol.xpm doman pysol.6 |