# -*- 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           makefile 1.0

name                pop3proxy
version             2.0.0-beta8
revision            1
checksums           rmd160  b8265282ceb4ddb1967f91dc3402229589b21d21 \
                    sha256  1e4f9da9c5a8c5bb3fd2030e91c68c0f76b78089de946b5c8c44da71dcefd8c0 \
                    size    45533

categories          mail
platforms           darwin
maintainers         nomaintainer
license             GPL-2+

description         application level gateway for the POP3 protocol

long_description    pop3.proxy is an application level gateway for the POP3 \
                    protocol. Unlike generic TCP proxys (like tcpproxy) it looks \
                    into the data stream watching that client and server fullfill \
                    the protocol specification. pop3.proxy is based on RFC 1939.

homepage            https://web.archive.org/web/20070207074341/http://quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/Pop3Proxy
master_sites        macports_distfiles

patchfiles          implicit.patch \
                    patch-clamav.c \
                    patch-main.c \
                    patch-makefile \
                    patch-pop3.c \
                    patch-procinfo.c

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} rfc1939.txt README LICENSE \
        ${destroot}${prefix}/share/doc/${name}
}

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9a-z.-\]+)${extract.suffix}
