summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 03:33:36 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 03:33:36 +0000
commit046ae3a56657c17fff7edbb74e585342e3e4a748 (patch)
tree8f969886aa419aa85e02fbb081fe783bc49f4506 /games-action/xpilot
parentvirtual/x11 (diff)
downloadhistorical-046ae3a56657c17fff7edbb74e585342e3e4a748.tar.gz
historical-046ae3a56657c17fff7edbb74e585342e3e4a748.tar.bz2
historical-046ae3a56657c17fff7edbb74e585342e3e4a748.zip
sed in unpack; IUSE; virtual/x11
Diffstat (limited to 'games-action/xpilot')
-rw-r--r--games-action/xpilot/ChangeLog7
-rw-r--r--games-action/xpilot/xpilot-4.5.4.ebuild20
2 files changed, 18 insertions, 9 deletions
diff --git a/games-action/xpilot/ChangeLog b/games-action/xpilot/ChangeLog
index 9bfc37449063..42b4a3272746 100644
--- a/games-action/xpilot/ChangeLog
+++ b/games-action/xpilot/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-action/xpilot
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot/ChangeLog,v 1.2 2003/09/10 20:31:35 vapier Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot/ChangeLog,v 1.3 2004/03/31 03:33:36 mr_bones_ Exp $
+
+ 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> xpilot-4.5.4.ebuild:
+ sed in unpack; IUSE; virtual/x11
17 Jun 2003; msterret xpilot-4.5.4.ebuild:
use sed -i and emake
diff --git a/games-action/xpilot/xpilot-4.5.4.ebuild b/games-action/xpilot/xpilot-4.5.4.ebuild
index bf9bbb588f06..75adc91134fa 100644
--- a/games-action/xpilot/xpilot-4.5.4.ebuild
+++ b/games-action/xpilot/xpilot-4.5.4.ebuild
@@ -1,24 +1,30 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot/xpilot-4.5.4.ebuild,v 1.2 2004/02/20 06:13:57 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/xpilot/xpilot-4.5.4.ebuild,v 1.3 2004/03/31 03:33:36 mr_bones_ Exp $
DESCRIPTION="A multi-player 2D client/server space game"
HOMEPAGE="http://www.xpilot.org/"
SRC_URI="http://xpilot.org/pub/xpilot/${P}.tar.gz"
-KEYWORDS="x86 ppc"
LICENSE="GPL-2"
SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE=""
-DEPEND="x11-base/xfree
+RDEPEND="virtual/x11"
+DEPEND="${RDEPEND}
>=sys-apps/sed-4"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
sed -i \
-e "s:/usr/local:/usr:" \
-e "s:/man/man:/share/man/man:" \
Local.config || die "sed Local.config failed"
+}
+src_compile() {
# the stuff xpilot puts it /usr/lib should go
# in /usr/share , but I'm leaving it for now.
@@ -31,10 +37,10 @@ src_compile() {
done
make includes || die "includes problem"
make depend || die "depend problem"
- emake || die "compile problem"
+ emake || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die "install problem"
- make DESTDIR=${D} install.man || die "install.man problem"
+ make DESTDIR="${D}" install || die "install problem"
+ make DESTDIR="${D}" install.man || die "install.man problem"
}