blob: aaf0b4f3e5352fb2a468ee03a97fda0de872dcec (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/dfarc/dfarc-3.10.ebuild,v 1.1 2013/07/11 00:14:23 hasufell Exp $
EAPI=5
WX_GTK_VER="2.8"
inherit gnome2-utils fdo-mime wxwidgets games
DESCRIPTION="Frontend and .dmod installer for GNU FreeDink"
HOMEPAGE="http://www.freedink.org/"
SRC_URI="mirror://gnu/freedink/${P}.tar.gz"
LICENSE="GPL-3 BSD-4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="
app-arch/bzip2
x11-misc/xdg-utils
x11-libs/wxGTK:${WX_GTK_VER}"
DEPEND="${RDEPEND}
nls? ( >=dev-util/intltool-0.31 )"
src_prepare() {
sed -i \
-e 's#^datarootdir =.*$#datarootdir = /usr/share#' \
share/Makefile.in || die
}
src_configure() {
egamesconf \
$(use_enable nls) \
--disable-desktopfiles
}
src_install() {
default
dodoc TRANSLATIONS.txt
prepgamesdirs
}
pkg_preinst() {
games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
games_pkg_postinst
gnome2_icon_cache_update
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}
|