# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0

name                py-irclib
version             0.4.8
categories-append   irc
platforms           {darwin any} freebsd
license             LGPL-2.1+
maintainers         nomaintainer

description         python module that encapsulates the IRC protocol
long_description    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, CTCP \
                    and DCC connections.
homepage            http://python-irclib.sourceforge.net/

supported_archs     noarch

master_sites        sourceforge:python-irclib
distname            python-irclib-${version}
checksums           sha1    813a9182045e8cf6c4d1a76b707fb64c2fcf22c4

python.versions     27 

if {${name} ne ${subport}} {
    post-destroot {
        xinstall -m 644 -W ${worksrcpath} \
                COPYING ChangeLog README \
                ${destroot}${prefix}/share/doc/${subport}
        xinstall -m 644 -W ${worksrcpath} \
                dccreceive dccsend irccat irccat2 servermap testbot.py \
                ${destroot}${prefix}/share/doc/${subport}/examples
    }
    livecheck.type  none
}
