summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-24 13:20:32 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-05-24 13:20:32 +0000
commit71f287b5da3da71d925c404b54d7c57c66f8c75c (patch)
tree0cb84ada5192718ec8d883bd5b053a20bc9da4b0 /irc
parentUpgrade to 0.45 (diff)
add py-irclib
IRC protocol client library for Python PR: 26823 Submitted by: Chang Hye-Shik <perky@python.or.kr>
Notes
Notes: svn path=/head/; revision=43013
Diffstat (limited to 'irc')
-rw-r--r--irc/Makefile1
-rw-r--r--irc/py-irclib/Makefile34
-rw-r--r--irc/py-irclib/distinfo1
-rw-r--r--irc/py-irclib/pkg-comment1
-rw-r--r--irc/py-irclib/pkg-descr7
-rw-r--r--irc/py-irclib/pkg-plist23
6 files changed, 67 insertions, 0 deletions
diff --git a/irc/Makefile b/irc/Makefile
index 3a530b403c98..8801a0905fd0 100644
--- a/irc/Makefile
+++ b/irc/Makefile
@@ -30,6 +30,7 @@
SUBDIR += party
SUBDIR += pure-emacs20
SUBDIR += pure-xemacs21-mule
+ SUBDIR += py-irclib
SUBDIR += quirc
SUBDIR += roxirc
SUBDIR += ruby-irc
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile
new file mode 100644
index 000000000000..3d04d4bfa896
--- /dev/null
+++ b/irc/py-irclib/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: py-irclib
+# Date created: 25 April 2001
+# Whom: Hye-Shik Chang <perky@python.or.kr>
+#
+# $FreeBSD$
+#
+
+PORTNAME= irclib
+PORTVERSION= 0.3.1
+CATEGORIES= irc python
+MASTER_SITES= http://joel.rosdahl.net/hacks/ \
+ http://www3.kr.freebsd.org/~pekry/distfiles/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= perky@python.or.kr
+
+USE_PYTHON= yes
+
+PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
+EXAMPLEFILES= ircbot.py irccat irccat2 servermap testbot.py
+
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+
+do-install:
+ @${INSTALL_DATA} ${WRKSRC}/irclib.py* ${PYTHON_SITELIBDIR}/
+ @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
+.for file in ${EXAMPLEFILES}
+ @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/share/examples/${PORTNAME}/
+.endfor
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+ @${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/${PORTNAME}/
+
+.include <bsd.port.mk>
diff --git a/irc/py-irclib/distinfo b/irc/py-irclib/distinfo
new file mode 100644
index 000000000000..2a9784a25ef1
--- /dev/null
+++ b/irc/py-irclib/distinfo
@@ -0,0 +1 @@
+MD5 (irclib-0.3.1.tar.gz) = 65625f63a01af01da9de548c7ddfc14f
diff --git a/irc/py-irclib/pkg-comment b/irc/py-irclib/pkg-comment
new file mode 100644
index 000000000000..1fa548d3d374
--- /dev/null
+++ b/irc/py-irclib/pkg-comment
@@ -0,0 +1 @@
+IRC protocol client library for Python
diff --git a/irc/py-irclib/pkg-descr b/irc/py-irclib/pkg-descr
new file mode 100644
index 000000000000..f05d6bc6b6a4
--- /dev/null
+++ b/irc/py-irclib/pkg-descr
@@ -0,0 +1,7 @@
+This library is intended to encapsulate the IRC protocol at a quite
+low level. It provides an event-driven IRC client framework. It has
+a fairly thorough support for the basic IRC protocol and CTCP, but DCC
+connection support is not yet implemented. It actually does CTCP
+parsing exactly as the CTCP specifications describe it.
+
+WWW: http://joel.rosdahl.net/hacks/
diff --git a/irc/py-irclib/pkg-plist b/irc/py-irclib/pkg-plist
new file mode 100644
index 000000000000..e384532e112a
--- /dev/null
+++ b/irc/py-irclib/pkg-plist
@@ -0,0 +1,23 @@
+%%PYTHON_SITELIBDIR%%/irclib.py
+%%PYTHON_SITELIBDIR%%/irclib.pyc
+share/doc/irclib/index.html
+share/doc/irclib/indices.html
+share/doc/irclib/ircbot.Channel.html
+share/doc/irclib/ircbot.IRCDict.html
+share/doc/irclib/ircbot.SingleServerIRCBot.html
+share/doc/irclib/ircbot.html
+share/doc/irclib/irclib.Connection.html
+share/doc/irclib/irclib.DCCConnection.html
+share/doc/irclib/irclib.Event.html
+share/doc/irclib/irclib.IRC.html
+share/doc/irclib/irclib.IRCError.html
+share/doc/irclib/irclib.ServerConnection.html
+share/doc/irclib/irclib.ServerConnectionError.html
+share/doc/irclib/irclib.SimpleIRCClient.html
+share/doc/irclib/irclib.html
+share/doc/irclib/pythondoc.css
+share/examples/irclib/ircbot.py
+share/examples/irclib/irccat
+share/examples/irclib/irccat2
+share/examples/irclib/servermap
+share/examples/irclib/testbot.py