blob: 232e308ddcd780782142e80b19626a50c51e5994 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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"
}
|