summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-13 13:04:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-13 13:04:17 +0000
commit23ab8f329781bfe345b48aa10a55a0ffa8dd5400 (patch)
treede889e7a74f2ecbf100969291dbc2711c0a05961 /games-action/noiz2sa
parentStable on sparc wrt #70825 (diff)
downloadhistorical-23ab8f329781bfe345b48aa10a55a0ffa8dd5400.tar.gz
historical-23ab8f329781bfe345b48aa10a55a0ffa8dd5400.tar.bz2
historical-23ab8f329781bfe345b48aa10a55a0ffa8dd5400.zip
initial commit - ebuild submitted by Atzm Watanabe via bug #53227
Diffstat (limited to 'games-action/noiz2sa')
-rw-r--r--games-action/noiz2sa/ChangeLog10
-rw-r--r--games-action/noiz2sa/Manifest4
-rw-r--r--games-action/noiz2sa/files/digest-noiz2sa-0.51a1
-rw-r--r--games-action/noiz2sa/metadata.xml5
-rw-r--r--games-action/noiz2sa/noiz2sa-0.51a.ebuild48
5 files changed, 68 insertions, 0 deletions
diff --git a/games-action/noiz2sa/ChangeLog b/games-action/noiz2sa/ChangeLog
new file mode 100644
index 000000000000..ed2ba8af6506
--- /dev/null
+++ b/games-action/noiz2sa/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-action/noiz2sa
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/ChangeLog,v 1.1 2004/12/13 13:04:17 mr_bones_ Exp $
+
+*noiz2sa-0.51a (13 Dec 2004)
+
+ 13 Dec 2004; Michael Sterrett <mr_bones_@gentoo.org> +metadata.xml,
+ +noiz2sa-0.51a.ebuild:
+ initial commit - ebuild submitted by Atzm Watanabe via bug #53227
+
diff --git a/games-action/noiz2sa/Manifest b/games-action/noiz2sa/Manifest
new file mode 100644
index 000000000000..5c5cfbdb1f41
--- /dev/null
+++ b/games-action/noiz2sa/Manifest
@@ -0,0 +1,4 @@
+MD5 a69b7229ef8992fdb54107dc2adb42bc noiz2sa-0.51a.ebuild 1228
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 32f81a5ca3e6b506f10a7af196f8efc7 ChangeLog 410
+MD5 3cf2f4f2bc9500ff567ff19790b5b066 files/digest-noiz2sa-0.51a 66
diff --git a/games-action/noiz2sa/files/digest-noiz2sa-0.51a b/games-action/noiz2sa/files/digest-noiz2sa-0.51a
new file mode 100644
index 000000000000..8c0acaa70705
--- /dev/null
+++ b/games-action/noiz2sa/files/digest-noiz2sa-0.51a
@@ -0,0 +1 @@
+MD5 9b59713ba3156df9be7643216f7162e2 noiz2sa-0.51a.tar.gz 8861907
diff --git a/games-action/noiz2sa/metadata.xml b/games-action/noiz2sa/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-action/noiz2sa/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-action/noiz2sa/noiz2sa-0.51a.ebuild b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
new file mode 100644
index 000000000000..585c20b75b6d
--- /dev/null
+++ b/games-action/noiz2sa/noiz2sa-0.51a.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/noiz2sa/noiz2sa-0.51a.ebuild,v 1.1 2004/12/13 13:04:17 mr_bones_ Exp $
+
+inherit games
+
+DESCRIPTION="Abstract Shooting Game"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.asahi-net.or.jp/~cs8k-cyu/windows/noiz2sa_e.html http://sourceforge.net/projects/noiz2sa/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="media-libs/sdl-mixer
+ >=dev-libs/libbulletml-0.0.3
+ virtual/opengl"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}/src"
+ sed -e "s/-lglut/-lGL/" makefile.lin > Makefile || die "sed failed"
+
+ sed -i \
+ -e "s:/.noiz2sa.prf:/noiz2sa.prf:" \
+ -e "s:getenv(\"HOME\"):\"${GAMES_STATEDIR}\":" \
+ attractmanager.c \
+ || die "sed failed"
+}
+
+src_compile(){
+ emake -C src MORE_CFLAGS="${CFLAGS}" || die
+}
+
+src_install(){
+ local datadir="${GAMES_DATADIR}/${PN}"
+
+ dogamesbin src/${PN} || die "dogamesbin failed"
+ dodir "${datadir}" "${GAMES_STATEDIR}"
+ cp -r noiz2sa_share/* "${D}/${datadir}" || die "cp failed"
+ dodoc readme*
+ touch "${D}${GAMES_STATEDIR}/${PN}.prf"
+ fperms 660 "${GAMES_STATEDIR}/${PN}.prf"
+ prepgamesdirs
+}