aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnubg
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-07-28 18:28:59 +0800
committermaho <maho@FreeBSD.org>2003-07-28 18:28:59 +0800
commit5a67b3d4deb98b8394e46f4ca1c5603982f3b9ed (patch)
tree6dc19767c0d4333e1da5fc171c3db44b8d463b1a /games/gnubg
parent88c44214b974478d87a125245b3b89dd573ecaa9 (diff)
downloadfreebsd-ports-gnome-5a67b3d4deb98b8394e46f4ca1c5603982f3b9ed.tar.gz
freebsd-ports-gnome-5a67b3d4deb98b8394e46f4ca1c5603982f3b9ed.tar.zst
freebsd-ports-gnome-5a67b3d4deb98b8394e46f4ca1c5603982f3b9ed.zip
GNU Backgammon 0.13.0.
Very famous game. PR: 53208 Submitted by: TAKAHASHI Kaoru <kaoru@kaisei.org>
Diffstat (limited to 'games/gnubg')
-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
4 files changed, 92 insertions, 0 deletions
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