1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION
="A map editor for AlephOne"
10 HOMEPAGE
="http://smithy.sourceforge.net/"
13 DEPEND
="dev-lang/ocaml
19 ESVN_REPO_URI
="https://smithy.svn.sourceforge.net/svnroot/smithy"
24 if ! built_with_use dev-ml
/lablgtk opengl
; then
25 eerror
"In order to build ${PN} you need to build lablgtk with"
26 eerror
"OpenGL support."
27 eerror
"You need to install dev-ml/lablgtk with opengl useflag on."
28 die
"Please install lablgtk with opengl useflag"
31 if ! built_with_use
--missing true dev-lang
/ocaml ocamlopt
; then
32 eerror
"In order to build ${PN}, you first need to have a native"
33 eerror
"code ocaml compiler."
34 eerror
"You need to install dev-lang/ocaml with ocamlopt useflag on."
35 die
"Please install ocaml with ocamlopt useflag"
40 # installation isn't really supported yet, so we have to hack this.
41 sed -e 's:resources/:/usr/share/games/smithy/:g' -i Resources.ml
43 # if you use emake smithy wont build. have fun figuring out why.
50 insinto
'/usr/share/games/smithy'
53 dodoc docs
/* examples
/*