blob: cfa2ae686e89d8833d4448fe0e22c6c50359d34c (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit games multilib subversion
DESCRIPTION="2D Game editor"
HOMEPAGE="http://game-editor.com"
ESVN_REPO_URI="https://game-editor.svn.sourceforge.net/svnroot/game-editor/trunk"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="x11-libs/libXext
x11-libs/libxcb"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e "s:lib32:$(get_libdir):" gameEditor/makefile.editor || die
sed -i -e "s:functions.xml:${GAMES_DATADIR}/${PN}/functions.xml:" gameEditor/FunctionPanel.cpp || die
sed -i -e "s:b_xy.png:${GAMES_DATADIR}/${PN}/b_xy.png:" gameEngine/EditBox.cpp || die
sed -i -e "s:editor.dat:${GAMES_DATADIR}/${PN}/editor.dat:" gameEngine/GameControl.cpp || die
sed -i -e "s:config.xml:${GAMES_DATADIR}/${PN}/config.xml:" wxGameEditor/Behavior/wxJigsawEditor/wxJigsawEditorMainFrame.cpp || die
}
src_install() {
insinto "${GAMES_DATADIR}/${PN}"
doins gameEditor/res/* || die
dogamesbin output/editor/gameEditor || die
prepgamesdirs
}
|