summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-06 05:06:41 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-06 05:06:41 +0000
commite4e743b21e55c0c618f298ec7ca3053095fa5a31 (patch)
tree8fabe963a24b84b52a6f0f7587cc4be41934705e /games-board
parentUpdate -fPIC filtering magic for post hardened-gcc. (Manifest recommit) (diff)
downloadgentoo-2-e4e743b21e55c0c618f298ec7ca3053095fa5a31.tar.gz
gentoo-2-e4e743b21e55c0c618f298ec7ca3053095fa5a31.tar.bz2
gentoo-2-e4e743b21e55c0c618f298ec7ca3053095fa5a31.zip
version bump
Diffstat (limited to 'games-board')
-rw-r--r--games-board/gnubg/ChangeLog7
-rw-r--r--games-board/gnubg/Manifest2
-rw-r--r--games-board/gnubg/files/digest-gnubg-0.14.24
-rw-r--r--games-board/gnubg/gnubg-0.14.2.ebuild103
4 files changed, 115 insertions, 1 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog
index cd8c407d1c2e..81b3fa526e4b 100644
--- a/games-board/gnubg/ChangeLog
+++ b/games-board/gnubg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/gnubg
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.5 2004/03/21 06:09:59 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.6 2004/04/06 05:06:41 mr_bones_ Exp $
+
+*gnubg-0.14.2 (05 Apr 2004)
+
+ 05 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> gnubg-0.14.2.ebuild:
+ version bump
20 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> gnubg-0.13.0-r1.ebuild:
stop using deprecated ?: use syntax
diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest
index 55be3d508cd5..b8e4ca073b9f 100644
--- a/games-board/gnubg/Manifest
+++ b/games-board/gnubg/Manifest
@@ -1,4 +1,6 @@
MD5 21296de90e7be3164a5123885b758cd6 ChangeLog 1075
MD5 3f11aaf297b2fe67404a96cda13e9bfe metadata.xml 251
MD5 d99602b65869975006d993877850eb29 gnubg-0.13.0-r1.ebuild 2511
+MD5 77dc51eb0b5e8227a2482e54b768d8c9 gnubg-0.14.2.ebuild 2632
+MD5 0c7a8ec2862198de493c51ea97e3eed6 files/digest-gnubg-0.14.2 252
MD5 14a8f9e2546292fc22c04fbea97287f7 files/digest-gnubg-0.13.0-r1 188
diff --git a/games-board/gnubg/files/digest-gnubg-0.14.2 b/games-board/gnubg/files/digest-gnubg-0.14.2
new file mode 100644
index 000000000000..2779da4225dc
--- /dev/null
+++ b/games-board/gnubg/files/digest-gnubg-0.14.2
@@ -0,0 +1,4 @@
+MD5 94b0a4d0741895f6b608d2c0b050fb54 gnubg-0.14.2.tar.gz 4110896
+MD5 9f1154a9b327954a260726aa6aa6eea5 gnubg.weights-0.14.gz 460747
+MD5 4015327219322eacab5ddd58f6fa268d gnubg_os0.bd.gz 906720
+MD5 01bd14c184bd701ae484618eb8acec6e gnubg_ts0.bd.gz 5899380
diff --git a/games-board/gnubg/gnubg-0.14.2.ebuild b/games-board/gnubg/gnubg-0.14.2.ebuild
new file mode 100644
index 000000000000..1bbc46d221c1
--- /dev/null
+++ b/games-board/gnubg/gnubg-0.14.2.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-0.14.2.ebuild,v 1.1 2004/04/06 05:06:41 mr_bones_ Exp $
+
+inherit games
+
+WPV="0.14"
+DESCRIPTION="GNU BackGammon"
+HOMEPAGE="http://www.gnu.org/software/gnubg/gnubg.html"
+SRC_URI="ftp://alpha.gnu.org/gnu/gnubg/${P}.tar.gz
+ ftp://alpha.gnu.org/gnu/gnubg/${PN}.weights-${WPV}.gz
+ ftp://alpha.gnu.org/gnu/gnubg/gnubg_os0.bd.gz
+ ftp://alpha.gnu.org/gnu/gnubg/gnubg_ts0.bd.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk gtk2 readline guile X gdbm truetype nls png esd arts nas"
+
+# FIXME does this need to DEPEND on netpbm?
+RDEPEND="guile? ( dev-util/guile )
+ truetype? ( =media-libs/freetype-1* )
+ gtk? (
+ gtk2? (
+ =x11-libs/gtk+-2*
+ =dev-libs/glib-2*
+ )
+ !gtk2? (
+ =x11-libs/gtk+-1.2*
+ =dev-libs/glib-1*
+ )
+ )
+ readline? ( sys-libs/readline )
+ X? ( virtual/x11 )
+ gdbm? ( sys-libs/gdbm )
+ esd? ( media-sound/esound )
+ arts? ( kde-base/arts )
+ nas? ( media-libs/nas )
+ png? ( media-libs/libpng )"
+DEPEND="${RDEPEND}
+ nas? ( >=sys-apps/sed-4 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mv ../${PN}.weights-${WPV} ${S}/${PN}.weights
+ mv ../*bd .
+ if use nas ; then
+ # couldn't find -laudio without this. Very odd.
+ sed -i \
+ -e "s:-laudio:-L/usr/X11R6/lib/ -laudio:" configure.in || \
+ die "sed configure.in failed"
+ fi
+}
+
+src_compile() {
+ local myconf=""
+ if use gtk ; then
+ # doesn't make any sense to add this without gtk or gtk2
+ if has_version x11-libs/gtk+extra ; then
+ myconf="--with-gtkextra"
+ else
+ myconf="--without-gtkextra"
+ fi
+ # --with-gtk doesn't mean what you think it means for configuring gnubg.
+ if use gtk2 ; then
+ myconf="${myconf} --with-gtk --with-gtk2"
+ else
+ myconf="${myconf} --with-gtk --without-gtk2"
+ fi
+ else
+ myconf="${myconf} --disable-gtktest"
+ fi
+ if use esd || use arts ; then
+ myconf="${myconf} --with-sound"
+ else
+ myconf="${myconf} --without-sound --disable-esdtest --disable-artsc-test"
+ fi
+
+ # configure script doesn't handle this option correctly.
+ # `use_with guile` \
+ egamesconf \
+ `use_enable esd` \
+ `use_enable arts artsc` \
+ `use_enable nas` \
+ `use_with readline` \
+ `use_with X x` \
+ `use_with gdbm` \
+ `use_with truetype freetype` \
+ `use_enable nls` \
+ ${myconf} \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins ${PN}.weights
+ doins *bd
+ dodoc AUTHORS README NEWS
+ prepgamesdirs
+}