summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-10-03 07:01:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-10-03 07:01:03 +0000
commit2d56063db28ddf59a6f766e45e1c7e8daefd33e3 (patch)
treebbc177a72b71a73890a26908541bad352c35f2a7 /games-strategy/xscorch
parentNew ebuild. Closes bug #27654 (diff)
downloadgentoo-2-2d56063db28ddf59a6f766e45e1c7e8daefd33e3.tar.gz
gentoo-2-2d56063db28ddf59a6f766e45e1c7e8daefd33e3.tar.bz2
gentoo-2-2d56063db28ddf59a6f766e45e1c7e8daefd33e3.zip
make it so xscorch can find an uncompressed man page so it can display its tooltips correctly (bug 30181)
Diffstat (limited to 'games-strategy/xscorch')
-rw-r--r--games-strategy/xscorch/ChangeLog7
-rw-r--r--games-strategy/xscorch/Manifest8
-rw-r--r--games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild20
3 files changed, 26 insertions, 9 deletions
diff --git a/games-strategy/xscorch/ChangeLog b/games-strategy/xscorch/ChangeLog
index f05efc9fba3f..8ea5668301f2 100644
--- a/games-strategy/xscorch/ChangeLog
+++ b/games-strategy/xscorch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-strategy/xscorch
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/xscorch/ChangeLog,v 1.2 2003/09/10 15:51:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xscorch/ChangeLog,v 1.3 2003/10/03 07:01:01 mr_bones_ Exp $
+
+ 02 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org>
+ xscorch-0.1.16_rc2.ebuild:
+ make it so xscorch can find an uncompressed man page so it can display its
+ tooltips correctly (bug 30181); add more error messages and checking.
*xscorch-0.1.16_rc2 (05 Sep 2003)
diff --git a/games-strategy/xscorch/Manifest b/games-strategy/xscorch/Manifest
index c1afcf9c1b06..c3de1fc15240 100644
--- a/games-strategy/xscorch/Manifest
+++ b/games-strategy/xscorch/Manifest
@@ -1,5 +1,5 @@
-MD5 21b333517732c38ac13aff581866c2ba files/digest-xscorch-0.1.16_rc2 145
-MD5 55df04a5274350d9163f058c65509b99 files/digest-xscorch-0.1.15 66
-MD5 bb82535a2c4a31e347f016bef87ab3e5 xscorch-0.1.16_rc2.ebuild 1271
+MD5 d3f01fce10f7a8109d7ae9cef6f7e518 ChangeLog 1415
MD5 4be9ce6e0e9c20c28bdef3c5795bbf39 xscorch-0.1.15.ebuild 1033
-MD5 7777d61c0f4ee08cdeaa46077d205e10 ChangeLog 1178
+MD5 0107dd36c3ea1bfff908264d56a5c072 xscorch-0.1.16_rc2.ebuild 1707
+MD5 55df04a5274350d9163f058c65509b99 files/digest-xscorch-0.1.15 66
+MD5 21b333517732c38ac13aff581866c2ba files/digest-xscorch-0.1.16_rc2 145
diff --git a/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild b/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild
index c95fb5e227f0..2b5ab277a9d3 100644
--- a/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild
+++ b/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild,v 1.1 2003/09/10 05:27:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/xscorch/xscorch-0.1.16_rc2.ebuild,v 1.2 2003/10/03 07:01:01 mr_bones_ Exp $
inherit games
@@ -17,16 +17,26 @@ SLOT="0"
IUSE="gtk mikmod readline gnome"
-DEPEND="virtual/x11
+RDEPEND="virtual/x11
gtk? ( =x11-libs/gtk+-1* )
mikmod? ( >=media-libs/libmikmod-3.1.5 )
readline? ( sys-libs/readline )
gnome? ( gnome-base/gnome-libs )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
src_unpack() {
+ local HELPFILE="${GAMES_DATADIR}/${PN}/xscorch.help"
+
unpack ${A}
cd ${WORKDIR}
epatch xscorch-0.1.15-0.1.16pre2.patch
+ cp ${S}/doc/xscorch.6 ${S}/xscorch.help || \
+ die "xscorch.help creation failed"
+ sed -i \
+ -e "/SC_GROFF_MANUAL_FILE/ s:@mandir@/man6/xscorch.6:${HELPFILE}:" \
+ ${S}/xscorch.h.in || die "sed xscorch.h.in failed"
+
}
src_compile() {
@@ -45,7 +55,9 @@ src_compile() {
}
src_install() {
- make DESTDIR=${D} install || die
- dodoc AUTHORS ChangeLog NEWS README TODO
+ make DESTDIR=${D} install || die "make install failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins xscorch.help || die "doins failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
prepgamesdirs
}