public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2013-05-13 23:17 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2013-05-13 23:17 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    13/05/13 23:17:37

  Modified:             ChangeLog
  Added:                bsd-games-2.17-r5.ebuild
  Log:
  update to latest Debian patch (bug #387575) with ebuild patch from Ben Kohler
  
  (Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.50                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.50&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.50&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.49&r2=1.50

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog	10 May 2013 10:02:47 -0000	1.49
+++ ChangeLog	13 May 2013 23:17:37 -0000	1.50
@@ -1,6 +1,12 @@
 # ChangeLog for games-misc/bsd-games
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.49 2013/05/10 10:02:47 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.50 2013/05/13 23:17:37 mr_bones_ Exp $
+
+*bsd-games-2.17-r5 (13 May 2013)
+
+  13 May 2013; Michael Sterrett <mr_bones_@gentoo.org>
+  +bsd-games-2.17-r5.ebuild:
+  update to latest Debian patch (bug #387575) with ebuild patch from Ben Kohler
 
   10 May 2013; Patrick Lauer <patrick@gentoo.org> bsd-games-2.17-r4.ebuild:
   Whitespace



1.1                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.1&content-type=text/plain

Index: bsd-games-2.17-r5.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.1 2013/05/13 23:17:37 mr_bones_ Exp $

EAPI=2
inherit eutils toolchain-funcs games

DEB_PATCH_VER=21
DESCRIPTION="collection of games from NetBSD"
HOMEPAGE="http://www.advogato.org/proj/bsd-games/"
SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz
	mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.debian.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE=""

RDEPEND="!games-misc/wtf
	!app-misc/banner
	!games-puzzle/hangman
	sys-libs/ncurses
	sys-apps/miscfiles"
DEPEND="${RDEPEND}
	sys-devel/flex
	sys-devel/bison
	virtual/pkgconfig"

# Set GAMES_TO_BUILD variable to whatever you want
GAMES_TO_BUILD=${GAMES_TO_BUILD:=adventure arithmetic atc
backgammon banner battlestar bcd boggle caesar canfield countmail cribbage
dab dm factor fish gomoku hack hangman hunt mille monop morse
number phantasia pig pom ppt primes quiz rain random robots sail snake
tetris trek wargames worm worms wtf}

src_prepare() {
	local d="${WORKDIR}"/debian/patches
	EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)

	epatch \
		"${FILESDIR}"/${P}-64bitutmp.patch \
		"${FILESDIR}"/${P}-headers.patch \
		"${FILESDIR}"/${P}-bg.patch \
		"${FILESDIR}"/${P}-gcc4.patch

	# Use pkg-config to query Libs: from ncurses.pc (for eg. -ltinfo) wrt #459652
	sed -i \
		-e "/ncurses_lib/s:-lncurses:'$($(tc-getPKG_CONFIG) --libs-only-l ncurses)':" \
		configure || die

	sed -i \
		-e "s:/usr/games:${GAMES_BINDIR}:" \
		wargames/wargames \
		|| die "sed wargames failed"

	sed -i \
		-e '/^CC :=/d' \
		-e '/^CXX :=/d' \
		-e '/^CFLAGS/s/OPTIMIZE/CFLAGS/' \
		-e '/^CXXFLAGS/s/OPTIMIZE/CXXFLAGS/' \
		-e '/^LDFLAGS/s/LDFLAGS := /LDFLAGS := \$(LDFLAGS) /' \
		Makeconfig.in \
		|| die 'sed failed'

	cp "${FILESDIR}"/config.params-gentoo config.params
	echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
	echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
	echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params
}

src_test() {
	addwrite /dev/full
	emake -j1 check || die "make check failed"
}

build_game() {
	has ${1} ${GAMES_TO_BUILD}
}

do_statefile() {
	touch "${D}/${GAMES_STATEDIR}/${1}"
	chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}"
}

src_install() {
	dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6}
	emake DESTDIR="${D}" install || die "emake install failed"

	dodoc AUTHORS BUGS ChangeLog ChangeLog.0 \
		README PACKAGING SECURITY THANKS TODO YEAR2000

	# set some binaries to run as games group (+S)
	build_game atc && fperms g+s "${GAMES_BINDIR}"/atc
	build_game battlestar && fperms g+s "${GAMES_BINDIR}"/battlestar
	build_game canfield && fperms g+s "${GAMES_BINDIR}"/canfield
	build_game cribbage && fperms g+s "${GAMES_BINDIR}"/cribbage
	build_game phantasia && fperms g+s "${GAMES_BINDIR}"/phantasia
	build_game robots && fperms g+s "${GAMES_BINDIR}"/robots
	build_game sail && fperms g+s "${GAMES_BINDIR}"/sail
	build_game snake && fperms g+s "${GAMES_BINDIR}"/snake
	build_game tetris && fperms g+s "${GAMES_BINDIR}"/tetris-bsd

	# state files
	build_game atc && do_statefile atc_score
	build_game battlestar && do_statefile battlestar.log
	build_game canfield && do_statefile cfscores
	build_game cribbage && do_statefile criblog
	build_game hack && keepdir "${GAMES_STATEDIR}"/hack
	build_game robots && do_statefile robots_roll
	build_game sail && do_statefile saillog
	build_game snake && do_statefile snake.log && do_statefile snakerawscores
	build_game tetris && do_statefile tetris-bsd.scores

	# extra docs
	build_game atc && { docinto atc ; dodoc atc/BUGS; }
	build_game boggle && { docinto boggle ; dodoc boggle/README; }
	build_game hack && { docinto hack ; dodoc hack/{OWNER,Original_READ_ME,READ_ME,help}; }
	build_game hunt && { docinto hunt ; dodoc hunt/README; }
	build_game phantasia && { docinto phantasia ; dodoc phantasia/{OWNER,README}; }

	# Since factor is usually not installed, and primes.6 is a symlink to
	# factor.6, make sure that primes.6 is ok ...
	if build_game primes && [[ ! $(build_game factor) ]] ; then
		rm -f "${D}"/usr/share/man/man6/{factor,primes}.6
		newman factor/factor.6 primes.6
	fi

	prepalldocs
	prepgamesdirs

	# state dirs
	chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/*
}





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2013-11-10 16:26 Mikle Kolyada (zlogene)
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada (zlogene) @ 2013-11-10 16:26 UTC (permalink / raw
  To: gentoo-commits

zlogene     13/11/10 16:26:16

  Modified:             bsd-games-2.17-r5.ebuild ChangeLog
  Log:
  alpha stable wrt bug #480688
  
  (Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)

Revision  Changes    Path
1.2                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?r1=1.1&r2=1.2

Index: bsd-games-2.17-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bsd-games-2.17-r5.ebuild	13 May 2013 23:17:37 -0000	1.1
+++ bsd-games-2.17-r5.ebuild	10 Nov 2013 16:26:16 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.1 2013/05/13 23:17:37 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.2 2013/11/10 16:26:16 zlogene Exp $
 
 EAPI=2
 inherit eutils toolchain-funcs games
@@ -13,7 +13,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
 RDEPEND="!games-misc/wtf



1.51                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.51&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.51&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.50&r2=1.51

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- ChangeLog	13 May 2013 23:17:37 -0000	1.50
+++ ChangeLog	10 Nov 2013 16:26:16 -0000	1.51
@@ -1,6 +1,9 @@
 # ChangeLog for games-misc/bsd-games
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.50 2013/05/13 23:17:37 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.51 2013/11/10 16:26:16 zlogene Exp $
+
+  10 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
+  alpha stable wrt bug #480688
 
 *bsd-games-2.17-r5 (13 May 2013)
 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2013-11-10 17:49 Mikle Kolyada (zlogene)
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada (zlogene) @ 2013-11-10 17:49 UTC (permalink / raw
  To: gentoo-commits

zlogene     13/11/10 17:49:11

  Modified:             bsd-games-2.17-r5.ebuild ChangeLog
  Log:
  amd64 stable wrt bug #480688
  
  (Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)

Revision  Changes    Path
1.3                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?r1=1.2&r2=1.3

Index: bsd-games-2.17-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bsd-games-2.17-r5.ebuild	10 Nov 2013 16:26:16 -0000	1.2
+++ bsd-games-2.17-r5.ebuild	10 Nov 2013 17:49:11 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.2 2013/11/10 16:26:16 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.3 2013/11/10 17:49:11 zlogene Exp $
 
 EAPI=2
 inherit eutils toolchain-funcs games
@@ -13,7 +13,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="alpha amd64 ~ppc ~sparc ~x86"
 IUSE=""
 
 RDEPEND="!games-misc/wtf



1.52                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.51&r2=1.52

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ChangeLog	10 Nov 2013 16:26:16 -0000	1.51
+++ ChangeLog	10 Nov 2013 17:49:11 -0000	1.52
@@ -1,6 +1,9 @@
 # ChangeLog for games-misc/bsd-games
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.51 2013/11/10 16:26:16 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.52 2013/11/10 17:49:11 zlogene Exp $
+
+  10 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
+  amd64 stable wrt bug #480688
 
   10 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
   alpha stable wrt bug #480688





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2013-11-10 19:38 Mikle Kolyada (zlogene)
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada (zlogene) @ 2013-11-10 19:38 UTC (permalink / raw
  To: gentoo-commits

zlogene     13/11/10 19:38:57

  Modified:             bsd-games-2.17-r5.ebuild ChangeLog
  Log:
  x86 stable wrt bug #480688
  
  (Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)

Revision  Changes    Path
1.4                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?r1=1.3&r2=1.4

Index: bsd-games-2.17-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bsd-games-2.17-r5.ebuild	10 Nov 2013 17:49:11 -0000	1.3
+++ bsd-games-2.17-r5.ebuild	10 Nov 2013 19:38:57 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.3 2013/11/10 17:49:11 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.4 2013/11/10 19:38:57 zlogene Exp $
 
 EAPI=2
 inherit eutils toolchain-funcs games
@@ -13,7 +13,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 ~ppc ~sparc ~x86"
+KEYWORDS="alpha amd64 ~ppc ~sparc x86"
 IUSE=""
 
 RDEPEND="!games-misc/wtf



1.53                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.53&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.53&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.52&r2=1.53

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- ChangeLog	10 Nov 2013 17:49:11 -0000	1.52
+++ ChangeLog	10 Nov 2013 19:38:57 -0000	1.53
@@ -1,6 +1,9 @@
 # ChangeLog for games-misc/bsd-games
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.52 2013/11/10 17:49:11 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.53 2013/11/10 19:38:57 zlogene Exp $
+
+  10 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
+  x86 stable wrt bug #480688
 
   10 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
   amd64 stable wrt bug #480688





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2013-11-12 17:44 Mikle Kolyada (zlogene)
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada (zlogene) @ 2013-11-12 17:44 UTC (permalink / raw
  To: gentoo-commits

zlogene     13/11/12 17:44:07

  Modified:             bsd-games-2.17-r5.ebuild ChangeLog
  Log:
  sparc stable wrt bug #480688
  
  (Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)

Revision  Changes    Path
1.5                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?r1=1.4&r2=1.5

Index: bsd-games-2.17-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- bsd-games-2.17-r5.ebuild	10 Nov 2013 19:38:57 -0000	1.4
+++ bsd-games-2.17-r5.ebuild	12 Nov 2013 17:44:07 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.4 2013/11/10 19:38:57 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.5 2013/11/12 17:44:07 zlogene Exp $
 
 EAPI=2
 inherit eutils toolchain-funcs games
@@ -13,7 +13,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 ~ppc ~sparc x86"
+KEYWORDS="alpha amd64 ~ppc sparc x86"
 IUSE=""
 
 RDEPEND="!games-misc/wtf



1.54                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.54&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.54&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.53&r2=1.54

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- ChangeLog	10 Nov 2013 19:38:57 -0000	1.53
+++ ChangeLog	12 Nov 2013 17:44:07 -0000	1.54
@@ -1,6 +1,9 @@
 # ChangeLog for games-misc/bsd-games
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.53 2013/11/10 19:38:57 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.54 2013/11/12 17:44:07 zlogene Exp $
+
+  12 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
+  sparc stable wrt bug #480688
 
   10 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
   x86 stable wrt bug #480688





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2013-11-12 17:49 Mikle Kolyada (zlogene)
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada (zlogene) @ 2013-11-12 17:49 UTC (permalink / raw
  To: gentoo-commits

zlogene     13/11/12 17:49:40

  Modified:             bsd-games-2.17-r5.ebuild ChangeLog
  Log:
  ppc stable wrt bug #480688
  
  (Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 0xC42EB5D6)

Revision  Changes    Path
1.6                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?r1=1.5&r2=1.6

Index: bsd-games-2.17-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- bsd-games-2.17-r5.ebuild	12 Nov 2013 17:44:07 -0000	1.5
+++ bsd-games-2.17-r5.ebuild	12 Nov 2013 17:49:40 -0000	1.6
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.5 2013/11/12 17:44:07 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.6 2013/11/12 17:49:40 zlogene Exp $
 
 EAPI=2
 inherit eutils toolchain-funcs games
@@ -13,7 +13,7 @@
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="alpha amd64 ~ppc sparc x86"
+KEYWORDS="alpha amd64 ppc sparc x86"
 IUSE=""
 
 RDEPEND="!games-misc/wtf



1.55                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.55&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.55&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.54&r2=1.55

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- ChangeLog	12 Nov 2013 17:44:07 -0000	1.54
+++ ChangeLog	12 Nov 2013 17:49:40 -0000	1.55
@@ -1,6 +1,9 @@
 # ChangeLog for games-misc/bsd-games
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.54 2013/11/12 17:44:07 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.55 2013/11/12 17:49:40 zlogene Exp $
+
+  12 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
+  ppc stable wrt bug #480688
 
   12 Nov 2013; Mikle Kolyada <zlogene@gentoo.org> bsd-games-2.17-r5.ebuild:
   sparc stable wrt bug #480688





^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog
@ 2014-12-18 22:41 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2014-12-18 22:41 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    14/12/18 22:41:46

  Modified:             bsd-games-2.17-r5.ebuild ChangeLog
  Log:
  EAPI=5; update Debian patch; export GAMES_ variables for bug #531200
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.7                  games-misc/bsd-games/bsd-games-2.17-r5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild?r1=1.6&r2=1.7

Index: bsd-games-2.17-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- bsd-games-2.17-r5.ebuild	12 Nov 2013 17:49:40 -0000	1.6
+++ bsd-games-2.17-r5.ebuild	18 Dec 2014 22:41:46 -0000	1.7
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.6 2013/11/12 17:49:40 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r5.ebuild,v 1.7 2014/12/18 22:41:46 mr_bones_ Exp $
 
-EAPI=2
+EAPI=5
 inherit eutils toolchain-funcs games
 
-DEB_PATCH_VER=21
+DEB_PATCH_VER=22
 DESCRIPTION="collection of games from NetBSD"
 HOMEPAGE="http://www.advogato.org/proj/bsd-games/"
 SRC_URI="ftp://metalab.unc.edu/pub/Linux/games/${P}.tar.gz
-	mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.debian.tar.gz"
+	mirror://debian/pool/main/b/bsdgames/bsdgames_${PV}-${DEB_PATCH_VER}.debian.tar.xz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -37,6 +37,9 @@
 	local d="${WORKDIR}"/debian/patches
 	EPATCH_SOURCE="${d}" epatch $(<"${d}"/series)
 
+	# Used by gentoo config.params. See bug 531200
+	export GAMES_BINDIR GAMES_DATADIR GAMES_STATEDIR
+
 	epatch \
 		"${FILESDIR}"/${P}-64bitutmp.patch \
 		"${FILESDIR}"/${P}-headers.patch \
@@ -50,8 +53,7 @@
 
 	sed -i \
 		-e "s:/usr/games:${GAMES_BINDIR}:" \
-		wargames/wargames \
-		|| die "sed wargames failed"
+		wargames/wargames || die
 
 	sed -i \
 		-e '/^CC :=/d' \
@@ -59,18 +61,17 @@
 		-e '/^CFLAGS/s/OPTIMIZE/CFLAGS/' \
 		-e '/^CXXFLAGS/s/OPTIMIZE/CXXFLAGS/' \
 		-e '/^LDFLAGS/s/LDFLAGS := /LDFLAGS := \$(LDFLAGS) /' \
-		Makeconfig.in \
-		|| die 'sed failed'
+		Makeconfig.in || die
 
-	cp "${FILESDIR}"/config.params-gentoo config.params
-	echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params
-	echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params
-	echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params
+	cp "${FILESDIR}"/config.params-gentoo config.params || die
+	echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params || die
+	echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params || die
+	echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params || die
 }
 
 src_test() {
 	addwrite /dev/full
-	emake -j1 check || die "make check failed"
+	emake -j1 check
 }
 
 build_game() {
@@ -78,13 +79,13 @@
 }
 
 do_statefile() {
-	touch "${D}/${GAMES_STATEDIR}/${1}"
-	chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}"
+	touch "${D}/${GAMES_STATEDIR}/${1}" || die
+	chmod ug+rw "${D}/${GAMES_STATEDIR}/${1}" || die
 }
 
 src_install() {
 	dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6}
-	emake DESTDIR="${D}" install || die "emake install failed"
+	emake -j1 DESTDIR="${D}" install
 
 	dodoc AUTHORS BUGS ChangeLog ChangeLog.0 \
 		README PACKAGING SECURITY THANKS TODO YEAR2000
@@ -125,9 +126,8 @@
 		newman factor/factor.6 primes.6
 	fi
 
-	prepalldocs
 	prepgamesdirs
 
 	# state dirs
-	chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/*
+	chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/* || die
 }



1.57                 games-misc/bsd-games/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.57&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?rev=1.57&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-misc/bsd-games/ChangeLog?r1=1.56&r2=1.57

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog	14 Nov 2013 18:01:35 -0000	1.56
+++ ChangeLog	18 Dec 2014 22:41:46 -0000	1.57
@@ -1,6 +1,9 @@
 # ChangeLog for games-misc/bsd-games
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.56 2013/11/14 18:01:35 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.57 2014/12/18 22:41:46 mr_bones_ Exp $
+
+  18 Dec 2014; Michael Sterrett <mr_bones_@gentoo.org> bsd-games-2.17-r5.ebuild:
+  EAPI=5; update Debian patch; export GAMES_ variables for bug #531200
 
   14 Nov 2013; Michael Sterrett <mr_bones_@gentoo.org>
   -bsd-games-2.17-r4.ebuild:





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-18 22:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 17:49 [gentoo-commits] gentoo-x86 commit in games-misc/bsd-games: bsd-games-2.17-r5.ebuild ChangeLog Mikle Kolyada (zlogene)
  -- strict thread matches above, loose matches on Subject: below --
2014-12-18 22:41 Michael Sterrett (mr_bones_)
2013-11-12 17:44 Mikle Kolyada (zlogene)
2013-11-10 19:38 Mikle Kolyada (zlogene)
2013-11-10 17:49 Mikle Kolyada (zlogene)
2013-11-10 16:26 Mikle Kolyada (zlogene)
2013-05-13 23:17 Michael Sterrett (mr_bones_)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox