summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/gtkradiant/ChangeLog5
-rw-r--r--dev-games/gtkradiant/gtkradiant-1.4.0.ebuild23
2 files changed, 15 insertions, 13 deletions
diff --git a/dev-games/gtkradiant/ChangeLog b/dev-games/gtkradiant/ChangeLog
index 35a8585cebde..3e09872d9ebe 100644
--- a/dev-games/gtkradiant/ChangeLog
+++ b/dev-games/gtkradiant/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/gtkradiant
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/gtkradiant/ChangeLog,v 1.4 2004/04/19 12:18:22 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/gtkradiant/ChangeLog,v 1.5 2004/05/01 20:08:42 wolf31o2 Exp $
+
+ 01 May 2004; Chris Gianelloni <wolf31o2@gentoo.org> gtkradiant-1.4.0.ebuild:
+ Fixing q3map2 script and closing bug #44334.
19 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org> gtkradiant-1.4.0.ebuild:
Adding IUSE.
diff --git a/dev-games/gtkradiant/gtkradiant-1.4.0.ebuild b/dev-games/gtkradiant/gtkradiant-1.4.0.ebuild
index d6b703ed1505..77d09512a489 100644
--- a/dev-games/gtkradiant/gtkradiant-1.4.0.ebuild
+++ b/dev-games/gtkradiant/gtkradiant-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/gtkradiant/gtkradiant-1.4.0.ebuild,v 1.5 2004/04/19 12:18:22 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/gtkradiant/gtkradiant-1.4.0.ebuild,v 1.6 2004/05/01 20:08:42 wolf31o2 Exp $
inherit games eutils
@@ -25,6 +25,8 @@ RDEPEND="media-libs/libpng
virtual/opengl"
S=${WORKDIR}
+dir=${GAMES_PREFIX_OPT}/${PN}
+Ddir=${D}/${dir}
src_unpack() {
unpack_makeself
@@ -32,17 +34,18 @@ src_unpack() {
}
src_install() {
- local dir=/opt/${PN}
dodir ${dir}
- cp -r bin/Linux/x86/* ${D}/${dir}/
- chmod -R a+x ${D}/${dir}/
- cp -r README license.txt core/* ${D}/${dir}/
- echo ${PV:2:1} > ${D}/${dir}/RADIANT_MAJOR
- echo ${PV:4} > ${D}/${dir}/RADIANT_MINOR
+ cp -r bin/Linux/x86/* ${Ddir}/
+ chmod -R a+x ${Ddir}/
+ cp -r README license.txt core/* ${Ddir}
+ echo ${PV:2:1} > ${Ddir}/RADIANT_MAJOR
+ echo ${PV:4} > ${Ddir}/RADIANT_MINOR
- dobin ${FILESDIR}/{q3map2,radiant}
+ dogamesbin ${FILESDIR}/{q3map2,radiant}
insinto ${dir}/games
doins ${FILESDIR}/*.game
+ exeinto ${dir} || die "${dir}"
+ doexe ${FILESDIR}/{q3map2,radiant}
dodir ${GAMES_PREFIX_OPT}
cp -r et ${D}/${GAMES_PREFIX_OPT}/enemy-territory
@@ -53,7 +56,3 @@ src_install() {
prepgamesdirs
}
-
-pkg_postinst() {
- games_pkg_postinst
-}