summaryrefslogtreecommitdiffstats
path: root/irc/py-irclib
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-05-24 13:20:32 +0000
committerijliao <ijliao@FreeBSD.org>2001-05-24 13:20:32 +0000
commitd1d527cc40a6fa58449d5a3051e812f19ffbe806 (patch)
treef35d08be5b3feef0d93a2f8a888c7f3c82cb1ce4 /irc/py-irclib
parentbbd9cca0236052d84837588700d7ea346ecd852f (diff)
downloadFreeBSD-ports-d1d527cc40a6fa58449d5a3051e812f19ffbe806.zip
FreeBSD-ports-d1d527cc40a6fa58449d5a3051e812f19ffbe806.tar.gz
add py-irclib
IRC protocol client library for Python PR: 26823 Submitted by: Chang Hye-Shik <perky@python.or.kr>
Diffstat (limited to 'irc/py-irclib')
-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
5 files changed, 66 insertions, 0 deletions
diff --git a/irc/py-irclib/Makefile b/irc/py-irclib/Makefile
new file mode 100644
index 0000000..3d04d4b
--- /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 0000000..2a9784a
--- /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 0000000..1fa548d
--- /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 0000000..f05d6bc
--- /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 0000000..e384532
--- /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
OpenPOWER on IntegriCloud