diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-10 19:29:16 +0000 |
commit | 6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3 (patch) | |
tree | 5578c0bf4dcb7768e6bc8e22c99c359d60cb6c8e /games-action/nighthawk | |
parent | games action and arcade (diff) | |
download | historical-6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3.tar.gz historical-6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3.tar.bz2 historical-6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3.zip |
action games !
Diffstat (limited to 'games-action/nighthawk')
-rw-r--r-- | games-action/nighthawk/ChangeLog | 15 | ||||
-rw-r--r-- | games-action/nighthawk/Manifest | 4 | ||||
-rw-r--r-- | games-action/nighthawk/files/digest-nighthawk-2.2 | 1 | ||||
-rw-r--r-- | games-action/nighthawk/files/nighthawk.patch | 46 | ||||
-rw-r--r-- | games-action/nighthawk/nighthawk-2.2.ebuild | 26 |
5 files changed, 92 insertions, 0 deletions
diff --git a/games-action/nighthawk/ChangeLog b/games-action/nighthawk/ChangeLog new file mode 100644 index 000000000000..f2d8c95eedf6 --- /dev/null +++ b/games-action/nighthawk/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for app-games/nighthawk +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/nighthawk/ChangeLog,v 1.1 2003/09/10 19:29:16 vapier Exp $ + + 12 Jul 2003; Michael Sterrett <msterret@gentoo.org> nighthawk-2.2.ebuild: + fix DESCRIPTION; tidy + +*nighthawk-2.2-1 (16 Jul 2002) + + 30 Sep 2002; Mike Frysinger <vapier@gentoo.org> nighthawk.patch: + Added an additional small patch to compile under gcc3.2 + + 16 Jul 2002; J. Alberto S. L. <bass@gentoo.org> nighthawk-2.2-1.ebuild: + First relase + diff --git a/games-action/nighthawk/Manifest b/games-action/nighthawk/Manifest new file mode 100644 index 000000000000..bdc19973bbb5 --- /dev/null +++ b/games-action/nighthawk/Manifest @@ -0,0 +1,4 @@ +MD5 51e90975dd4c375b1846070c1067e329 ChangeLog 578 +MD5 253ca0d025a23e93b53403c62be03702 nighthawk-2.2.ebuild 869 +MD5 28c1f0d1d7d1c8823306d9966fb387ff files/digest-nighthawk-2.2 68 +MD5 91536401b3a8a82fd155e6ca166dfc54 files/nighthawk.patch 1235 diff --git a/games-action/nighthawk/files/digest-nighthawk-2.2 b/games-action/nighthawk/files/digest-nighthawk-2.2 new file mode 100644 index 000000000000..b93db9cd00fd --- /dev/null +++ b/games-action/nighthawk/files/digest-nighthawk-2.2 @@ -0,0 +1 @@ +MD5 a737ab6e82df6e077ea59ec7014782ad nighthawk-2.2-1.tar.gz 1079706 diff --git a/games-action/nighthawk/files/nighthawk.patch b/games-action/nighthawk/files/nighthawk.patch new file mode 100644 index 000000000000..accef759e682 --- /dev/null +++ b/games-action/nighthawk/files/nighthawk.patch @@ -0,0 +1,46 @@ +diff -c -3 -r nighthawk-2.2/src/nighthawk.cc nighthawk.orig/src/nighthawk.cc +*** nighthawk-2.2/src/nighthawk.cc Sun May 23 01:10:59 1999 +--- nighthawk.orig/src/nighthawk.cc Fri Jul 12 04:18:38 2002 +*************** +*** 20,25 **** +--- 20,26 ---- + #include <string.h> + #include <signal.h> + #include <pwd.h> ++ #include <time.h> + #include <sys/types.h> + #include <sys/file.h> + #include <sys/stat.h> +diff -c -3 -r nighthawk-2.2/src_sound/Make.common nighthawk.orig/src_sound/Make.common +*** nighthawk-2.2/src_sound/Make.common Sat May 1 18:04:08 1999 +--- nighthawk.orig/src_sound/Make.common Fri Jul 12 04:23:51 2002 +*************** +*** 10,16 **** + endif + endif + +! HOST_SAFE = 0 + + ifeq ($(HOSTTYPE),i386) + HOST_SAFE = 1 +--- 10,16 ---- + endif + endif + +! HOST_SAFE = 1 + + ifeq ($(HOSTTYPE),i386) + HOST_SAFE = 1 +*** nighthawk-2.2/src/object.cc Mon Sep 30 21:54:56 2002 +--- nighthawk-orig/src/object.cc Mon Sep 30 21:55:05 2002 +*************** +*** 32,37 **** +--- 32,39 ---- + #include "tdroid_8xx.h" + #include "tdroid_9xx.h" + ++ #include <string.h> ++ + /*************************************************************************** + * + ***************************************************************************/ diff --git a/games-action/nighthawk/nighthawk-2.2.ebuild b/games-action/nighthawk/nighthawk-2.2.ebuild new file mode 100644 index 000000000000..8decb590d444 --- /dev/null +++ b/games-action/nighthawk/nighthawk-2.2.ebuild @@ -0,0 +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 $ + +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" +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" +} + +src_install () { + make DESTDIR=${D} install || die + dodoc COPYING INSTALL +} |