diff options
author | aaron <aaron@FreeBSD.org> | 2006-12-23 11:35:12 +0000 |
---|---|---|
committer | aaron <aaron@FreeBSD.org> | 2006-12-23 11:35:12 +0000 |
commit | c601abb1a5470686b1506da74eda99374f4d82b6 (patch) | |
tree | e74158f520f2de08556f26b48ca7c3bed5cf0341 /irc/p5-IRC-Bot-Hangman | |
parent | 49043897be92fbdbc5858050ef85ada96a0e5cfb (diff) | |
download | FreeBSD-ports-c601abb1a5470686b1506da74eda99374f4d82b6.zip FreeBSD-ports-c601abb1a5470686b1506da74eda99374f4d82b6.tar.gz |
Adding port irc/p5-IRC-Bot-Hangman, a simple IRC bot that plays Hangman.
Submitted by: aaron
Committed by: aaron
Diffstat (limited to 'irc/p5-IRC-Bot-Hangman')
-rw-r--r-- | irc/p5-IRC-Bot-Hangman/Makefile | 45 | ||||
-rw-r--r-- | irc/p5-IRC-Bot-Hangman/distinfo | 3 | ||||
-rw-r--r-- | irc/p5-IRC-Bot-Hangman/pkg-descr | 10 | ||||
-rw-r--r-- | irc/p5-IRC-Bot-Hangman/pkg-plist | 18 |
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 0000000..a2d96cd --- /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 0000000..5a61483 --- /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 0000000..111d5d0 --- /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 0000000..959df14 --- /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 |