diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-14 03:53:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-01-14 03:53:57 +0000 |
commit | c823e6c65a446da03ddd926c46a0cb1ece10868e (patch) | |
tree | d029b050372cb166fa79ac43a1b3d365b425cdef /games-misc/yadex/yadex-1.7.0.ebuild | |
parent | initial commit (bug 37753) (diff) | |
download | historical-c823e6c65a446da03ddd926c46a0cb1ece10868e.tar.gz historical-c823e6c65a446da03ddd926c46a0cb1ece10868e.tar.bz2 historical-c823e6c65a446da03ddd926c46a0cb1ece10868e.zip |
initial commit (bug 37753)
Diffstat (limited to 'games-misc/yadex/yadex-1.7.0.ebuild')
-rw-r--r-- | games-misc/yadex/yadex-1.7.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games-misc/yadex/yadex-1.7.0.ebuild b/games-misc/yadex/yadex-1.7.0.ebuild new file mode 100644 index 000000000000..8036766ba440 --- /dev/null +++ b/games-misc/yadex/yadex-1.7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-misc/yadex/yadex-1.7.0.ebuild,v 1.1 2004/01/14 03:53:50 mr_bones_ Exp $ + +inherit games + +DESCRIPTION="A Doom level (wad) editor" +HOMEPAGE="http://www.teaser.fr/~amajorel/yadex/" +SRC_URI="http://www.teaser.fr/~amajorel/yadex/${P}.tar.gz" + +KEYWORDS="x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND="virtual/x11 + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + sed -i \ + -e '/iwad/s/local\///' ${S}/yadex.cfg \ + || die "sed yadex.cfg failed" +} + +src_compile() { + # not an autoconf script + ./configure --prefix="/usr" || die "configure failed" + emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die "emake failed" +} + +src_install() { + dogamesbin obj/0/yadex || die "dogamesbin failed" + insinto "${GAMES_DATADIR}/${PN}/${PV}/" + doins ygd/* || die "doins failed (data)" + doman doc/yadex.6 || die "doman failed" + dodoc CHANGES FAQ README TODO VERSION || die "dodoc failed" + dohtml doc/* || die "dohtml failed" + insinto /etc/yadex/${PV}/ + doins yadex.cfg || die "doins failed (cfg)" + + prepgamesdirs +} |