summaryrefslogtreecommitdiff
path: root/chat/kgb-bot/Makefile
diff options
context:
space:
mode:
authortonnerre <tonnerre@pkgsrc.org>2013-10-20 14:16:16 +0000
committertonnerre <tonnerre@pkgsrc.org>2013-10-20 14:16:16 +0000
commit207f75b8d3a3a77cd592d4ce2673e84f889f21c0 (patch)
tree0d6351f0960bf29833da4f643066899abd906694 /chat/kgb-bot/Makefile
parent93835e8f7b3a1177ceb32ed8e99db73753431e6b (diff)
downloadpkgsrc-207f75b8d3a3a77cd592d4ce2673e84f889f21c0.tar.gz
Add the KGB IRC bot, version 1.31, to pkgsrc.
KGB is a system that provides notifications on IRC for commits made to Git, Subversion and CVS repositories. It uses two components: a server, which runs the IRC bot, and a client, which is hooked into the repositories and sends the notifications to the server.
Diffstat (limited to 'chat/kgb-bot/Makefile')
-rw-r--r--chat/kgb-bot/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/chat/kgb-bot/Makefile b/chat/kgb-bot/Makefile
new file mode 100644
index 00000000000..f1812277bab
--- /dev/null
+++ b/chat/kgb-bot/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2013/10/20 14:16:16 tonnerre Exp $
+#
+
+PKGNAME= kgb-bot-1.31
+DISTNAME= ${PKGNAME:S/kgb-bot/App-KGB/}
+
+CATEGORIES= chat perl5 scm
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=App/}
+
+MAINTAINER= tonnerre@NetBSD.org
+HOMEPAGE= https://alioth.debian.org/projects/kgb/
+COMMENT= Notify about VCS commits on IRC
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+USE_TOOLS+= perl:run
+
+DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor
+DEPENDS+= p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS
+DEPENDS+= p5-SOAP-Lite-[0-9]*:../../net/p5-SOAP-Lite
+DEPENDS+= p5-subversion-[0-9]*:../../devel/p5-subversion
+DEPENDS+= p5-YAML-[0-9]*:../../textproc/p5-YAML
+DEPENDS+= p5-File-Touch-[0-9]*:../../devel/p5-File-Touch
+DEPENDS+= p5-WWW-Shorten-[0-9]*:../../www/p5-WWW-Shorten
+DEPENDS+= p5-JSON-RPC-[0-9]*:../../www/p5-JSON-RPC
+
+REPLACE_INTERPRETER+= perl
+REPLACE.perl.old= /usr/bin/perl
+REPLACE.perl.new= ${TOOLS_PATH.perl}
+REPLACE_FILES.perl= script/kgb-add-project script/kgb-bot
+REPLACE_FILES.perl+= script/kgb-split-config script/kgb-client
+REPLACE_FILES.perl+= eg/simple-soap-client eg/simple-soap-server
+
+MAKE_ENV+= PERL=${TOOLS_PATH.perl}
+
+PERL5_PACKLIST= auto/App/KGB/.packlist
+PERL5_MODULE_TYPE= Module::Build
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"