aboutsummaryrefslogtreecommitdiff
path: root/irc/p5-IRC-Bot-Hangman
diff options
context:
space:
mode:
authorAaron Dalton <aaron@FreeBSD.org>2006-12-23 11:35:12 +0000
committerAaron Dalton <aaron@FreeBSD.org>2006-12-23 11:35:12 +0000
commit8fa47daf82d39f650ba7362641c44ab1dd83983f (patch)
tree0177019f53852b5b6cf51f3335de2c5fad22ed4a /irc/p5-IRC-Bot-Hangman
parent80480d8faa0c098af0febe5da85d760c5ea19fd9 (diff)
downloadports-8fa47daf82d39f650ba7362641c44ab1dd83983f.tar.gz
ports-8fa47daf82d39f650ba7362641c44ab1dd83983f.zip
Adding port irc/p5-IRC-Bot-Hangman, a simple IRC bot that plays Hangman.
Submitted by: aaron Committed by: aaron
Notes
Notes: svn path=/head/; revision=180599
Diffstat (limited to 'irc/p5-IRC-Bot-Hangman')
-rw-r--r--irc/p5-IRC-Bot-Hangman/Makefile45
-rw-r--r--irc/p5-IRC-Bot-Hangman/distinfo3
-rw-r--r--irc/p5-IRC-Bot-Hangman/pkg-descr10
-rw-r--r--irc/p5-IRC-Bot-Hangman/pkg-plist18
4 files changed, 76 insertions, 0 deletions
diff --git a/irc/p5-IRC-Bot-Hangman/Makefile b/irc/p5-IRC-Bot-Hangman/Makefile
new file mode 100644
index 000000000000..a2d96cdb3327
--- /dev/null
+++ b/irc/p5-IRC-Bot-Hangman/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: p5-IRC-Bot-Hangman
+# Date created: 23 Dec 2006
+# Whom: Aaron Dalton <aaron@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= IRC-Bot-Hangman
+PORTVERSION= 0.1
+CATEGORIES= irc games perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/P/PD/PDENIS
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= aaron@FreeBSD.org
+COMMENT= An IRC hangman bot
+
+BUILD_DEPENDS= ${SITE_PERL}/Bot/BasicBot.pm:${PORTSDIR}/irc/p5-Bot-BasicBot \
+ ${SITE_PERL}/Games/GuessWord.pm:${PORTSDIR}/games/p5-Games-GuessWord \
+ ${SITE_PERL}/Module/Find.pm:${PORTSDIR}/devel/p5-Module-Find \
+ ${SITE_PERL}/Chatbot/Eliza.pm:${PORTSDIR}/misc/p5-Chatbot-Eliza \
+ ${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAN3= IRC::Bot::Hangman.3 \
+ IRC::Bot::Hangman::Command.3 \
+ IRC::Bot::Hangman::Command::Default.3 \
+ IRC::Bot::Hangman::Command::Eliza.3 \
+ IRC::Bot::Hangman::Command::Profanity.3 \
+ IRC::Bot::Hangman::Response.3 \
+ IRC::Bot::Hangman::Response::Default.3 \
+ IRC::Bot::Hangman::Response::Profanity.3 \
+ IRC::Bot::Hangman::WordList.3 \
+ IRC::Bot::Hangman::WordList::Default.3 \
+ IRC::Bot::Hangman::WordList::TooEasy.3
+
+PERL_MODBUILD= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires at least Perl 5.6. Please install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/irc/p5-IRC-Bot-Hangman/distinfo b/irc/p5-IRC-Bot-Hangman/distinfo
new file mode 100644
index 000000000000..5a61483d5dce
--- /dev/null
+++ b/irc/p5-IRC-Bot-Hangman/distinfo
@@ -0,0 +1,3 @@
+MD5 (IRC-Bot-Hangman-0.1.tar.gz) = a139a5120f1a1a93333618ba83159f3c
+SHA256 (IRC-Bot-Hangman-0.1.tar.gz) = 2534dca3b9935e7fb370eeade2362b06c704bd285515ba410d0e36ff4f0e1cf5
+SIZE (IRC-Bot-Hangman-0.1.tar.gz) = 18536
diff --git a/irc/p5-IRC-Bot-Hangman/pkg-descr b/irc/p5-IRC-Bot-Hangman/pkg-descr
new file mode 100644
index 000000000000..111d5d0c4679
--- /dev/null
+++ b/irc/p5-IRC-Bot-Hangman/pkg-descr
@@ -0,0 +1,10 @@
+This module provides a useless IRC bot which enables you to play hangman,
+the classic word game. It comes shipped with a list of ~2000 english words
+by default. The architecture is plugin based, words, commands and
+responses can be extended at will by adding new modules.
+
+The main motivation was to provide a multi-player text based game for
+children to help them practising writing.
+
+WWW: http://search.cpan.org/dist/IRC-Bot-Hangman
+Author: Pierre Denis <pierre@itrelease.net>
diff --git a/irc/p5-IRC-Bot-Hangman/pkg-plist b/irc/p5-IRC-Bot-Hangman/pkg-plist
new file mode 100644
index 000000000000..959df140cb6b
--- /dev/null
+++ b/irc/p5-IRC-Bot-Hangman/pkg-plist
@@ -0,0 +1,18 @@
+bin/hangman.pl
+%%SITE_PERL%%/IRC/Bot/Hangman.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Command.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Command/Default.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Command/Eliza.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Command/Profanity.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Response.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Response/Default.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/Response/Profanity.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/WordList.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/WordList/Default.pm
+%%SITE_PERL%%/IRC/Bot/Hangman/WordList/TooEasy.pm
+@dirrm %%SITE_PERL%%/IRC/Bot/Hangman/WordList
+@dirrm %%SITE_PERL%%/IRC/Bot/Hangman/Response
+@dirrm %%SITE_PERL%%/IRC/Bot/Hangman/Command
+@dirrm %%SITE_PERL%%/IRC/Bot/Hangman
+@dirrmtry %%SITE_PERL%%/IRC/Bot
+@dirrmtry %%SITE_PERL%%/IRC