summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-01-02 23:31:49 -0500
committerMichael Sterrett <mr_bones_@gentoo.org>2016-01-03 01:14:59 -0500
commit1896680f94bfeb4162965de607a362ce05d6d386 (patch)
treeb9eb48020236ce98483c6267a4996fe788bf70d7 /games-fps
parentgames-fps/qudos: add slot dep for virtual/jpeg and media-libs/libpng (diff)
downloadgentoo-1896680f94bfeb4162965de607a362ce05d6d386.tar.gz
gentoo-1896680f94bfeb4162965de607a362ce05d6d386.tar.bz2
gentoo-1896680f94bfeb4162965de607a362ce05d6d386.zip
games-fps/tenebrae: EAPI=5; add slot dep for media-libs/libpng; tidy
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/tenebrae/tenebrae-1.04.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/games-fps/tenebrae/tenebrae-1.04.ebuild b/games-fps/tenebrae/tenebrae-1.04.ebuild
index 62476dfde213..c0a61039c02f 100644
--- a/games-fps/tenebrae/tenebrae-1.04.ebuild
+++ b/games-fps/tenebrae/tenebrae-1.04.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=2
+EAPI=5
#ECVS_SERVER="cvs.tenebrae.sourceforge.net:/cvsroot/tenebrae"
#ECVS_MODULE="tenebrae_0"
#inherit cvs
@@ -20,7 +20,7 @@ IUSE=""
RDEPEND="virtual/opengl
virtual/glu
- media-libs/libpng
+ media-libs/libpng:0
x11-libs/libXxf86vm
x11-libs/libXxf86dga"
DEPEND="${RDEPEND}
@@ -53,19 +53,18 @@ src_prepare() {
sed \
-e "/^LDFLAGS/s:=:+=:" \
-e "s:-mpentiumpro -O6:${CFLAGS}:" \
- Makefile.i386linux > Makefile \
- || die "sed failed"
+ Makefile.i386linux > Makefile || die
}
src_compile() {
cd "${S}"/tenebrae_0/linux
- emake MASTER_DIR="${GAMES_DATADIR}/quake1" build_release || die
+ emake MASTER_DIR="${GAMES_DATADIR}/quake1" build_release
}
src_install() {
- newgamesbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae || die
+ newgamesbin tenebrae_0/linux/release*/bin/tenebrae.run tenebrae
insinto "${GAMES_DATADIR}/quake1/tenebrae"
- doins "${WORKDIR}"/tenebrae/* || die "doins data"
+ doins "${WORKDIR}"/tenebrae/*
dodoc tenebrae_0/linux/README "${WORKDIR}"/Tenebrae_Readme.txt
prepgamesdirs
}