aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-10-06 11:54:14 +0800
committerclsung <clsung@FreeBSD.org>2006-10-06 11:54:14 +0800
commitd3e750fb507a0b9acd399095e37f9b7700b63c15 (patch)
tree200940fae6536bd96149fc7cffc8edd0be275242 /games
parent9a16bea9574eaefc31ec1c46f9754572e0c9b4e8 (diff)
downloadfreebsd-ports-gnome-d3e750fb507a0b9acd399095e37f9b7700b63c15.tar.gz
freebsd-ports-gnome-d3e750fb507a0b9acd399095e37f9b7700b63c15.tar.zst
freebsd-ports-gnome-d3e750fb507a0b9acd399095e37f9b7700b63c15.zip
Add p5-Games-Alak 0.18, simple game-tree implementation of a gomoku-like
game. PR: ports/102578 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/p5-Games-Alak/Makefile22
-rw-r--r--games/p5-Games-Alak/distinfo3
-rw-r--r--games/p5-Games-Alak/pkg-descr10
-rw-r--r--games/p5-Games-Alak/pkg-plist6
5 files changed, 42 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 4ae60b333891..ddb0e8cece2a 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -498,6 +498,7 @@
SUBDIR += p5-Algorithm-Pair-Best
SUBDIR += p5-Algorithm-Pair-Swiss
SUBDIR += p5-Baseball-Sabermetrics
+ SUBDIR += p5-Games-Alak
SUBDIR += p5-Games-AlphaBeta
SUBDIR += p5-Games-Bingo
SUBDIR += p5-Games-Bingo-Bot
diff --git a/games/p5-Games-Alak/Makefile b/games/p5-Games-Alak/Makefile
new file mode 100644
index 000000000000..4cf38be64833
--- /dev/null
+++ b/games/p5-Games-Alak/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: p5-Games-Alak
+# Date created: 2006-08-28
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Games-Alak
+PORTVERSION= 0.18
+CATEGORIES= games perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/A/AV/AVIF
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Simple game-tree implementation of a gomoku-like game
+
+PERL_CONFIGURE= yes
+
+MAN3= Games::Alak.3
+
+.include <bsd.port.mk>
diff --git a/games/p5-Games-Alak/distinfo b/games/p5-Games-Alak/distinfo
new file mode 100644
index 000000000000..e2bf9819e47c
--- /dev/null
+++ b/games/p5-Games-Alak/distinfo
@@ -0,0 +1,3 @@
+MD5 (Games-Alak-0.18.tar.gz) = c719d65d6db4eeb055ca41aea3d1d193
+SHA256 (Games-Alak-0.18.tar.gz) = 2ca0a6ca50420a4af213687830c981310fe967b15f71f6778973c3543c17fe1f
+SIZE (Games-Alak-0.18.tar.gz) = 9309
diff --git a/games/p5-Games-Alak/pkg-descr b/games/p5-Games-Alak/pkg-descr
new file mode 100644
index 000000000000..1dd82bf1031c
--- /dev/null
+++ b/games/p5-Games-Alak/pkg-descr
@@ -0,0 +1,10 @@
+This module implements a simple game-tree system for the computer to
+play against the user in a game of Alak. You can just play the game
+for fun; or you can use this module as a starting point for
+understanding game trees (and implementing smarter strategy -- the
+module's current logic is fairly simple-minded), particularly after
+reading my Perl Journal #18 article on trees, which discusses this
+module's implementation of game trees as an example of general
+tree-shaped data structures.
+
+WWW: http://search.cpan.org/dist/Games-Alak/
diff --git a/games/p5-Games-Alak/pkg-plist b/games/p5-Games-Alak/pkg-plist
new file mode 100644
index 000000000000..31a5aa2793cd
--- /dev/null
+++ b/games/p5-Games-Alak/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Alak/.packlist
+%%SITE_PERL%%/Games/Alak.pm
+@dirrmtry %%SITE_PERL%%/Games
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games/Alak
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Games