diff options
Diffstat (limited to 'games-engines/sarien/sarien-0.7.0.ebuild')
-rw-r--r-- | games-engines/sarien/sarien-0.7.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-engines/sarien/sarien-0.7.0.ebuild b/games-engines/sarien/sarien-0.7.0.ebuild new file mode 100644 index 000000000000..beb10920ee09 --- /dev/null +++ b/games-engines/sarien/sarien-0.7.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/sarien/sarien-0.7.0.ebuild,v 1.1 2004/03/27 10:21:21 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="Sierra AGI resource interpreter engine" +HOMEPAGE="http://sarien.sourceforge.net/" +SRC_URI="mirror://sourceforge/sarien/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND="virtual/glibc + virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + sed -i \ + -e "s:/etc:${GAMES_SYSCONFDIR}:" src/filesys/unix/path.c \ + || die "sed src/filesys/unix/path.c failed" +} + +src_install() { + dogamesbin bin/sarien || die "dogamesbin failed" + insinto "${GAMES_SYSCONFDIR}" + doins etc/sarien.cfg || die "doins failed" + dodoc doc/{AUTHORS,BUGS,Changelog,README*,TODO,roadmap.txt} + prepgamesdirs +} |