aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2003-07-28 10:28:59 +0000
committerMaho Nakata <maho@FreeBSD.org>2003-07-28 10:28:59 +0000
commitcc273a746f8efba4fe570e201232f1904372a908 (patch)
tree450590051c221af672263a7ea43897bb13bce9a8 /games
parent663b76d9fb80f85cf2f94431f44dce706e2ac01d (diff)
downloadports-cc273a746f8efba4fe570e201232f1904372a908.tar.gz
ports-cc273a746f8efba4fe570e201232f1904372a908.zip
GNU Backgammon 0.13.0.
Very famous game. PR: 53208 Submitted by: TAKAHASHI Kaoru <kaoru@kaisei.org>
Notes
Notes: svn path=/head/; revision=85726
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/gnubg/Makefile49
-rw-r--r--games/gnubg/distinfo4
-rw-r--r--games/gnubg/pkg-descr7
-rw-r--r--games/gnubg/pkg-plist32
5 files changed, 93 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 750a11b07025..f537f5394e91 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -137,6 +137,7 @@
SUBDIR += gnomememoryblocks
SUBDIR += gnomermind
SUBDIR += gnomoku
+ SUBDIR += gnubg
SUBDIR += gnuchess
SUBDIR += gnugo
SUBDIR += gnurobots
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
new file mode 100644
index 000000000000..4b7dbc673998
--- /dev/null
+++ b/games/gnubg/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: GNU Backgammon
+# Date created: 8 Dec 2002
+# Whom: TAKAHASHI Kaoru <kaoru@kaisei.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnubg
+PORTVERSION= 0.13.0
+CATEGORIES= games
+MASTER_SITES= ftp://alpha.gnu.org/gnu/gnubg/
+DISTFILES= ${DISTNAME}.tar.gz \
+ gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz \
+ gnubg_ts0.bd.gz gnubg_os0.bd.gz
+DIST_SUBDIR= ${PORTNAME}
+EXTRACT_ONLY= ${DISTNAME}.tar.gz
+
+MAINTAINER= kaoru@kaisei.org
+COMMENT= GNU Backgammon
+
+MAN6= gnubg.6
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GTK= yes
+WANT_ESOUND= yes
+
+.if defined(HAVE_ESOUND)
+CONFIGURE_ARGS += --with-esound
+.else
+CONFIGURE_ARGS += --without-esound
+.endif
+
+.if defined(WITH_NAS)
+CONFIGURE_ARGS += --enable-nas
+.endif
+
+.if defined(WITH_GUILE)
+CONFIGURE_ARGS += --with-guile
+.endif
+
+GNUBG_WEIGHTS_VERSION=0.13b
+
+do-patch:
+ ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_ts0.bd.gz > ${WRKSRC}/gnubg_ts0.bd
+ ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_os0.bd.gz > ${WRKSRC}/gnubg_os0.bd
+ ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz > ${WRKSRC}/gnubg.weights
+
+.include <bsd.port.mk>
diff --git a/games/gnubg/distinfo b/games/gnubg/distinfo
new file mode 100644
index 000000000000..09baeb8ff4c1
--- /dev/null
+++ b/games/gnubg/distinfo
@@ -0,0 +1,4 @@
+MD5 (gnubg/gnubg-0.13.0.tar.gz) = 91db5727b6589dbfd410e6ce1683fa95
+MD5 (gnubg/gnubg.weights-0.13b.gz) = b8ab016c1d948a32830952ba6e368947
+MD5 (gnubg/gnubg_ts0.bd.gz) = 97783d786411349ec61b3c87de9751e6
+MD5 (gnubg/gnubg_os0.bd.gz) = c06712f11cd1789722aaf5a3c7655664
diff --git a/games/gnubg/pkg-descr b/games/gnubg/pkg-descr
new file mode 100644
index 000000000000..d589891e3c02
--- /dev/null
+++ b/games/gnubg/pkg-descr
@@ -0,0 +1,7 @@
+GNU Backgammon (gnubg) is for playing and analysing backgammon
+positions, games and matches. It's based on a neural
+network. Though it already plays on a very high level, it's still
+work in progress. You may play GNU Backgammon using the command
+line or a graphical interface (based on GTK+).
+
+WWW: http://www.gnu.org/software/gnubg/gnubg.html
diff --git a/games/gnubg/pkg-plist b/games/gnubg/pkg-plist
new file mode 100644
index 000000000000..0efd1135fd85
--- /dev/null
+++ b/games/gnubg/pkg-plist
@@ -0,0 +1,32 @@
+bin/gnubg
+bin/makebearoff
+share/gnubg/gnubg.gtkrc
+share/gnubg/gnubg.wd
+share/gnubg/gnubg_os0.bd
+share/gnubg/gnubg_ts0.bd
+share/gnubg/boards.xml
+share/gnubg/met/catalog
+share/gnubg/met/jacobs.xml
+share/gnubg/met/met.dtd
+share/gnubg/met/met.xsl
+share/gnubg/met/snowie.xml
+share/gnubg/met/woolsey.xml
+share/gnubg/met/zadeh.xml
+share/gnubg/sounds/chequer.wav
+share/gnubg/sounds/dance.wav
+share/gnubg/sounds/double.wav
+share/gnubg/sounds/drop.wav
+share/gnubg/sounds/fanfare.wav
+share/gnubg/sounds/gameover.wav
+share/gnubg/sounds/haere-ra.wav
+share/gnubg/sounds/matchover.wav
+share/gnubg/sounds/move.wav
+share/gnubg/sounds/resign.wav
+share/gnubg/sounds/roll.wav
+share/gnubg/sounds/take.wav
+@dirrm share/gnubg/met
+@dirrm share/gnubg/sounds
+@dirrm share/gnubg
+share/locale/da/LC_MESSAGES/gnubg.mo
+share/locale/de/LC_MESSAGES/gnubg.mo
+share/locale/ja/LC_MESSAGES/gnubg.mo