diff options
Diffstat (limited to 'games-board/xgammon')
-rw-r--r-- | games-board/xgammon/ChangeLog | 21 | ||||
-rw-r--r-- | games-board/xgammon/Manifest | 5 | ||||
-rw-r--r-- | games-board/xgammon/files/digest-xgammon-0.98 | 1 | ||||
-rw-r--r-- | games-board/xgammon/files/xgammon-0.98-broken.patch | 15 | ||||
-rw-r--r-- | games-board/xgammon/files/xgammon-0.98-config.patch | 23 | ||||
-rw-r--r-- | games-board/xgammon/xgammon-0.98.ebuild | 33 |
6 files changed, 98 insertions, 0 deletions
diff --git a/games-board/xgammon/ChangeLog b/games-board/xgammon/ChangeLog new file mode 100644 index 000000000000..a7fa8c6310b3 --- /dev/null +++ b/games-board/xgammon/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for app-games/xgammon +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $ Header: $ + + 12 Jun 2003; <msterret@gentoo.org> xgammon-0.98.ebuild: + fix Header + +*xgammon-0.98 (03 Jul 2002) + + 05 Mar 2003; Bartosch Pixa <darkspecter@gentoo.org> xgammon-0.98.ebuild: + set ~ppc in keywords + + 17 jul 2002; Jose Alberto Suárez López <bass@gentoo.org> xgammon-0.98.ebuild : + Added KEYWORDS. + + 03 Jul 2002; T.Kvernes <terjekv@math.uio.no> xgammon-0.98: + + Initial ebuild, kludged about with the process due to broken + behaviour from xgammon (amoungst other thing it expects "." + in $PATH for root). + diff --git a/games-board/xgammon/Manifest b/games-board/xgammon/Manifest new file mode 100644 index 000000000000..3707a1881702 --- /dev/null +++ b/games-board/xgammon/Manifest @@ -0,0 +1,5 @@ +MD5 18e0707048c018135c6c4454f93641c6 ChangeLog 639 +MD5 d51cd28abdfb5a4d323d17b7f877e7ed xgammon-0.98.ebuild 792 +MD5 713a4a778934c4793f43df1ba783d07c files/digest-xgammon-0.98 64 +MD5 5e492c857cd63f9bc13aced6d469814f files/xgammon-0.98-broken.patch 263 +MD5 9a1350fd77ab6f36cd2539f73c4b0a6a files/xgammon-0.98-config.patch 823 diff --git a/games-board/xgammon/files/digest-xgammon-0.98 b/games-board/xgammon/files/digest-xgammon-0.98 new file mode 100644 index 000000000000..a7970fd8e245 --- /dev/null +++ b/games-board/xgammon/files/digest-xgammon-0.98 @@ -0,0 +1 @@ +MD5 56ad9b75767c3b5822065d425b538012 xgammon-0.98a.tar.gz 76415 diff --git a/games-board/xgammon/files/xgammon-0.98-broken.patch b/games-board/xgammon/files/xgammon-0.98-broken.patch new file mode 100644 index 000000000000..e02ac10b4992 --- /dev/null +++ b/games-board/xgammon/files/xgammon-0.98-broken.patch @@ -0,0 +1,15 @@ +--- xgammon/lib/db.c.orig Sat Jan 6 12:14:12 2001 ++++ xgammon/lib/db.c Sat Jan 6 12:13:56 2001 +@@ -259,10 +259,11 @@ + close(fid); + } + +-void main() ++int main() + { + set_binom(); + set_naufm(); + set_offset(); + set_V_Werte(); ++ return(0); + } diff --git a/games-board/xgammon/files/xgammon-0.98-config.patch b/games-board/xgammon/files/xgammon-0.98-config.patch new file mode 100644 index 000000000000..d2e11bacfd81 --- /dev/null +++ b/games-board/xgammon/files/xgammon-0.98-config.patch @@ -0,0 +1,23 @@ +--- xgammon-0.98/xgammon.ad.rhconfig Tue Aug 29 01:35:39 1995 ++++ xgammon-0.98/xgammon.ad Wed Aug 12 18:22:25 1998 +@@ -67,4 +67,4 @@ + xgammon.buttonmove: false + xgammon.stonesteps: 5 + xgammon.delaytime: 5 +-xgammon.database: lib/xgammon.db ++xgammon.database: /usr/X11R6/lib/X11/xgammon/xgammon.db +--- xgammon-0.98/Imakefile.rhconfig Wed Aug 23 15:26:39 1995 ++++ xgammon-0.98/Imakefile Wed Aug 12 18:42:55 1998 +@@ -12,9 +12,9 @@ + + ComplexProgramTarget(xgammon) + InstallAppDefaults(XGammon) +-MakeDirectories(install, $(LIBDIR)/xgammon) +-InstallNonExec(lib/xgammon.db, $(LIBDIR)/xgammon) +-MANSUFFIX = 6 ++MakeDirectories(install,$(LIBDIR)/xgammon) ++InstallNonExec(lib/xgammon.db,$(LIBDIR)/xgammon) ++MANSUFFIX = 1 + + xgammon.o: xgammon.c + $(CC) $(CFLAGS) -DDATABASE=\"$(LIBDIR)/xgammon/xgammon.db\" -c xgammon.c diff --git a/games-board/xgammon/xgammon-0.98.ebuild b/games-board/xgammon/xgammon-0.98.ebuild new file mode 100644 index 000000000000..0e812f45e5a5 --- /dev/null +++ b/games-board/xgammon/xgammon-0.98.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/xgammon-0.98.ebuild,v 1.1 2003/09/10 17:46:27 vapier Exp $ + +inherit eutils + +S=${WORKDIR}/${P}a +DESCRIPTION="very nice backgammon game for X" +SRC_URI="http://fawn.unibw-hamburg.de/steuer/xgammon/Downloads/${P}a.tar.gz" +HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html" + +KEYWORDS="x86 ppc" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="virtual/x11" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/xgammon-0.98-broken.patch + epatch ${FILESDIR}/xgammon-0.98-config.patch +} + +src_compile() { + xmkmf || die "xmkmf died" + env PATH="${PATH}:." emake || die +} + +src_install() { + make DESTDIR=${D} install || die +} |