Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name pemail
version 1.2
categories mail
platforms darwin
maintainers nomaintainer@macports.org
description pop3 email client for the command line
long_description pemail allows you to view POP3 email from the command \
line, with a fairly intuitive interface, much like the UNIX \
mail(1) command does. pemail also allows you to send email \
from the same interface, making it pretty much an all in one \
mail client for the UNIX command line.

homepage http://www.the-den.org/pemail/
master_sites ${homepage}
checksums md5 4fbd8f9e8a3912c3b86bbe4a69ed29cd

depends_lib port:perl5.8
depends_run port:p5-mail-pop3client \
port:p5-mime-lite \
port:p5-term-readkey

configure {
reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" ${worksrcpath}/pemail.pl
}

build {}

destroot {
xinstall -m 755 ${worksrcpath}/pemail.pl ${destroot}${prefix}/bin
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} BUGS FIXED INSTALL LICENSE README TODO \
${destroot}${prefix}/share/doc/${name}
}