# $Id$

PortSystem      1.0
PortGroup       php5extension 1.0

php5extension.setup pop3 1.0.2 pecl
license         PHP
categories      php mail devel
platforms       darwin
maintainers     nomaintainer
description     POP3 Client Library

long_description \
    The POP3 extension makes it possible for a PHP script to connect to and \
    interact with a POP3 mail server. It is based on the PHP streams interface \
    and requires no external library.

checksums       md5     cdbe4f41aa37bcf45e651d5568f3a8d2 \
                sha1    5d7d9754413fbd9563464ae82588c7770cc1ce90 \
                rmd160  01bc065cdb0d2ff375bb1d70a7b91b1f809acf30

patchfiles      patch-pop3.c.diff

use_parallel_build yes

post-destroot {
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} CREDITS README \
        ${destroot}${docdir}
    copy ${worksrcpath}/examples ${destroot}${docdir}
}