summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-04-19 20:30:25 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-04-19 20:30:25 +0000
commit61bf0d3333688ba5791af4e9b25b100d492b7f81 (patch)
treee380dd2242b2abd38b5a4eae13c331c566d00912 /games-puzzle
parentAdded ~amd64 keyword. (diff)
downloadgentoo-2-61bf0d3333688ba5791af4e9b25b100d492b7f81.tar.gz
gentoo-2-61bf0d3333688ba5791af4e9b25b100d492b7f81.tar.bz2
gentoo-2-61bf0d3333688ba5791af4e9b25b100d492b7f81.zip
Fixing path, bug #130504
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/ngstar/ChangeLog8
-rw-r--r--games-puzzle/ngstar/Manifest15
-rw-r--r--games-puzzle/ngstar/files/digest-ngstar-2.1.8-r13
-rw-r--r--games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch14
-rw-r--r--games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild39
5 files changed, 75 insertions, 4 deletions
diff --git a/games-puzzle/ngstar/ChangeLog b/games-puzzle/ngstar/ChangeLog
index b166882bc8e3..670f42ef3ff8 100644
--- a/games-puzzle/ngstar/ChangeLog
+++ b/games-puzzle/ngstar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/ngstar
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.1 2006/04/11 23:24:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ChangeLog,v 1.2 2006/04/19 20:30:24 tupone Exp $
+
+*ngstar-2.1.8-r1 (19 Apr 2006)
+
+ 19 Apr 2006; <Tupone@gentoo.org> +files/ngstar-2.1.8-gentoo-path.patch,
+ +ngstar-2.1.8-r1.ebuild:
+ Fixing install path, bug #130504 by Alexandru Toma
*ngstar-2.1.8 (11 Apr 2006)
diff --git a/games-puzzle/ngstar/Manifest b/games-puzzle/ngstar/Manifest
index 8e00f69a35b8..cee235db177d 100644
--- a/games-puzzle/ngstar/Manifest
+++ b/games-puzzle/ngstar/Manifest
@@ -1,12 +1,21 @@
-MD5 1b1f246f652348a4f6d757df5e7b0193 ChangeLog 378
-RMD160 7e89734808be0f26bf73e585e5a9bc687699a54e ChangeLog 378
-SHA256 9490f15fd4149bd1a6667213032d458029589593dd8ce4f7d43a9628e2a27873 ChangeLog 378
+MD5 7fba90c2ce5cefd2d7c36c81f6cd0142 ChangeLog 565
+RMD160 eb2c628d3ac6fb40c31145d47d74e814d18ae43a ChangeLog 565
+SHA256 01b239656f1932d31dfada7e52d43783010635077034f57114e0549dd5752a45 ChangeLog 565
MD5 1069619f23eea17647d553e29434268c files/digest-ngstar-2.1.8 250
RMD160 a56daf3b87b32d631e4a10679648e72fbfcc791e files/digest-ngstar-2.1.8 250
SHA256 7a2ccb1f53ee9cf02fabd5da68e4567ea0fa2732666d529fb4c449a5732c36ff files/digest-ngstar-2.1.8 250
+MD5 1069619f23eea17647d553e29434268c files/digest-ngstar-2.1.8-r1 250
+RMD160 a56daf3b87b32d631e4a10679648e72fbfcc791e files/digest-ngstar-2.1.8-r1 250
+SHA256 7a2ccb1f53ee9cf02fabd5da68e4567ea0fa2732666d529fb4c449a5732c36ff files/digest-ngstar-2.1.8-r1 250
+MD5 d410b828b6769fc916b4a59b941b8068 files/ngstar-2.1.8-gentoo-path.patch 534
+RMD160 b70dbfb7e719739cf6e6bdb0cadb6b78cf832f48 files/ngstar-2.1.8-gentoo-path.patch 534
+SHA256 32d0998b7f9416995a30c8b448040d3427c1e59ce66c9d25495ac3d909e8f45a files/ngstar-2.1.8-gentoo-path.patch 534
MD5 0d1b54db274ccc20f397f22ca8c6498c metadata.xml 442
RMD160 43e82d19b4aa5d88c93e1e0084d96ab1b3d89989 metadata.xml 442
SHA256 f363cdb47a1e0f84e72df3275cb8f5540924558aab077551c9709adcbe92920d metadata.xml 442
+MD5 17780c24ddfda00fdf9ac9c56de130d7 ngstar-2.1.8-r1.ebuild 969
+RMD160 c2326067f7e1faf8b924aad683171ab7f1ee0c9c ngstar-2.1.8-r1.ebuild 969
+SHA256 df30948068faf8ad3b2e81aa461f226d4e9f1b2c3097a336bfffbc551fc16ef4 ngstar-2.1.8-r1.ebuild 969
MD5 295d56526bcb9fb6dc35a9e55b94000e ngstar-2.1.8.ebuild 747
RMD160 4290b67210613047df0153f6364e92a1524dc330 ngstar-2.1.8.ebuild 747
SHA256 bc81f5c0f8afacb377784cd9f850e448cb2576df90cd5d9529b6c1ea3e94f041 ngstar-2.1.8.ebuild 747
diff --git a/games-puzzle/ngstar/files/digest-ngstar-2.1.8-r1 b/games-puzzle/ngstar/files/digest-ngstar-2.1.8-r1
new file mode 100644
index 000000000000..460c87d186fc
--- /dev/null
+++ b/games-puzzle/ngstar/files/digest-ngstar-2.1.8-r1
@@ -0,0 +1,3 @@
+MD5 9b4866b16f32e670f8b97e477dcd62fe ngstar-2.1.8-src.tar.bz2 45851
+RMD160 6b31bcbf0c5bcf385bca391fd9dea92e207e7321 ngstar-2.1.8-src.tar.bz2 45851
+SHA256 c8a2cf84d2a4bb40280d4ce307ceaed8f97d2183f79f7a82b38b78aaedb73fb3 ngstar-2.1.8-src.tar.bz2 45851
diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch
new file mode 100644
index 000000000000..84fa6de7e024
--- /dev/null
+++ b/games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch
@@ -0,0 +1,14 @@
+--- configure.old 2006-04-19 22:00:42.000000000 +0200
++++ configure 2006-04-19 22:02:38.000000000 +0200
+@@ -193,8 +193,8 @@
+ MINOR = $VMINOR
+ REVISION = $VREVISION
+
+-LEVELSETS_DIR = \$(PREFIX)/share/\$(NAME)/levelsets
+-THEMES_DIR = \$(PREFIX)/share/\$(NAME)/themes
+-BIN_DIR = \$(PREFIX)/bin
++LEVELSETS_DIR = \$(PREFIX)@GENTOO_DATA@/\$(NAME)/levelsets
++THEMES_DIR = \$(PREFIX)@GENTOO_DATA@/\$(NAME)/themes
++BIN_DIR = \$(PREFIX)@GENTOO_BIN@
+ DOC_DIR = \$(PREFIX)/doc/\$(NAME)-\$(MAJOR).\$(MINOR).\$(REVISION)
+ LIB_DIR = \$(PREFIX)/lib
diff --git a/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild b/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild
new file mode 100644
index 000000000000..a822314d0e73
--- /dev/null
+++ b/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/ngstar/ngstar-2.1.8-r1.ebuild,v 1.1 2006/04/19 20:30:24 tupone Exp $
+
+inherit games
+
+DESCRIPTION="NGStar is a clone of a HP48 game called dstar"
+HOMEPAGE="http://cycojesus.free.fr/faire/coder/jouer/ng-star/"
+SRC_URI="http://cycojesus.free.fr/faire/coder/jouer/ng-star/files/${P}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}"-gentoo-path.patch
+ sed -i \
+ -e "s:@GENTOO_DATA@:${GAMES_DATADIR}:" \
+ -e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \
+ configure
+}
+
+src_compile() {
+ ./configure \
+ --prefix "" \
+ --without-fltk2 || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS Changelog README TODO
+ prepgamesdirs
+}