summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-08-01 13:47:25 -0500
committerAustin English <wizardedit@gentoo.org>2016-08-01 13:50:17 -0500
commit636a661e83744745ae24312cd1105825111890d1 (patch)
tree923b88a415cdaf751120a897e59eb6b06be7948f /games-board/xfreecell/xfreecell-1.0.5b-r1.ebuild
parentgames-board/xgammon: remove deprecated games eclass (diff)
downloadgentoo-636a661e83744745ae24312cd1105825111890d1.tar.gz
gentoo-636a661e83744745ae24312cd1105825111890d1.tar.bz2
gentoo-636a661e83744745ae24312cd1105825111890d1.zip
games-board/xfreecell: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0
Diffstat (limited to 'games-board/xfreecell/xfreecell-1.0.5b-r1.ebuild')
-rw-r--r--games-board/xfreecell/xfreecell-1.0.5b-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/games-board/xfreecell/xfreecell-1.0.5b-r1.ebuild b/games-board/xfreecell/xfreecell-1.0.5b-r1.ebuild
new file mode 100644
index 00000000000..232e308ddcd
--- /dev/null
+++ b/games-board/xfreecell/xfreecell-1.0.5b-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="A freecell game for X"
+HOMEPAGE="http://www2.giganet.net/~nakayama/"
+SRC_URI="http://www2.giganet.net/~nakayama/${P}.tgz
+ http://www2.giganet.net/~nakayama/MSNumbers.gz"
+
+LICENSE="HPND"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND="media-fonts/font-misc-misc
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xextproto"
+
+S=${WORKDIR}/${PN}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-gcc43.patch
+)
+
+src_install() {
+ dobin xfreecell
+ insinto /usr/share/${PN}
+ doins "${WORKDIR}"/MSNumbers
+ dodoc CHANGES README mshuffle.txt
+ doman xfreecell.6
+ make_desktop_entry xfreecell XFreecell
+}
+
+pkg_postinst() {
+ einfo "Remember to restart X if this is the first time you've installed media-fonts/font-misc-misc"
+}