diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-29 00:57:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-29 00:57:06 +0000 |
commit | aeb9d6711723525701ca8948f3bb3d9f1b17eda5 (patch) | |
tree | fa7489643fce926a94781442dc6d1efbd9fe7ca8 /games-action | |
parent | Fix for missingos issue for python2.3 (diff) | |
download | gentoo-2-aeb9d6711723525701ca8948f3bb3d9f1b17eda5.tar.gz gentoo-2-aeb9d6711723525701ca8948f3bb3d9f1b17eda5.tar.bz2 gentoo-2-aeb9d6711723525701ca8948f3bb3d9f1b17eda5.zip |
use games eclass (bug 34644); inherit eutils for epatch; patch in src_unpack; more error checking/messages; tidy
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/nighthawk/ChangeLog | 6 | ||||
-rw-r--r-- | games-action/nighthawk/Manifest | 6 | ||||
-rw-r--r-- | games-action/nighthawk/nighthawk-2.2.ebuild | 28 |
3 files changed, 22 insertions, 18 deletions
diff --git a/games-action/nighthawk/ChangeLog b/games-action/nighthawk/ChangeLog index 94db891be414..ca46428464fc 100644 --- a/games-action/nighthawk/ChangeLog +++ b/games-action/nighthawk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-action/nighthawk # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/ChangeLog,v 1.2 2003/09/10 20:31:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/ChangeLog,v 1.3 2003/11/29 00:57:05 mr_bones_ Exp $ + + 28 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> nighthawk-2.2.ebuild: + use games eclass (bug 34644); inherit eutils for epatch; patch in src_unpack; + more error checking/messages; tidy 12 Jul 2003; Michael Sterrett <msterret@gentoo.org> nighthawk-2.2.ebuild: fix DESCRIPTION; tidy diff --git a/games-action/nighthawk/Manifest b/games-action/nighthawk/Manifest index edd48ac7752c..9a4b2bbf5215 100644 --- a/games-action/nighthawk/Manifest +++ b/games-action/nighthawk/Manifest @@ -1,5 +1,5 @@ +MD5 313d91d4b88231d7c0edef3eac8c1d91 ChangeLog 780 +MD5 8df463dc5cffa2865a87f6e5cc90abbd nighthawk-2.2.ebuild 751 +MD5 b244cf1c41a78cacb62296d573935c07 metadata.xml 245 MD5 28c1f0d1d7d1c8823306d9966fb387ff files/digest-nighthawk-2.2 68 MD5 91536401b3a8a82fd155e6ca166dfc54 files/nighthawk.patch 1235 -MD5 a226b9ddaf6d019a98c07abf6137fb32 ChangeLog 582 -MD5 b244cf1c41a78cacb62296d573935c07 metadata.xml 245 -MD5 422e497dab85146948dbd888db8395f2 nighthawk-2.2.ebuild 870 diff --git a/games-action/nighthawk/nighthawk-2.2.ebuild b/games-action/nighthawk/nighthawk-2.2.ebuild index 8decb590d444..dbe4f677ca2b 100644 --- a/games-action/nighthawk/nighthawk-2.2.ebuild +++ b/games-action/nighthawk/nighthawk-2.2.ebuild @@ -1,26 +1,26 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/nighthawk-2.2.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/nighthawk-2.2.ebuild,v 1.2 2003/11/29 00:57:05 mr_bones_ Exp $ + +inherit games eutils DESCRIPTION="A tribute to one of the most playable and contagious games ever written- Paradroid by Andrew Braybrook" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/arcade/${P}-1.tar.gz" HOMEPAGE="http://jsno.arafuraconnect.com.au/proj_linux/nighthawk.html" +SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/arcade/${P}-1.tar.gz" + +KEYWORDS="x86 ppc" LICENSE="GPL-2" -DEPEND="x11-base/xfree" SLOT="0" -KEYWORDS="x86 ppc" -src_compile() { - patch -p1 < ${FILESDIR}/nighthawk.patch || die - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man || die "./configure failed" - emake || die "emake failed" +DEPEND="virtual/x11" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/nighthawk.patch } src_install () { - make DESTDIR=${D} install || die - dodoc COPYING INSTALL + make DESTDIR=${D} install || die "make install failed" + prepgamesdirs } |