PortSystem 1.0
name librfc822
version 1.0
categories mail
platforms darwin
license GPL-2
maintainers nomaintainer
description complete parser for RFC822 addresses
long_description librfc822 provides application developers with a complete \
parser for RFC822 addresses. Not only can you use the \
library to verify that RFC822 addresses are syntactically \
correct, you can also have an address split up into its \
semantic parts, what is needed when deciding where to \
route an address to, etc.
homepage http://cryp.to/librfc822/
master_sites ${homepage}
checksums md5 4dca8e2b6fe3ffaabc5f3b9c493e57c6
use_configure no
test.run yes
test.target test
post-test {
system "cd ${worksrcpath} && echo ${maintainers} | ./test"
}
destroot {
xinstall -m 644 ${worksrcpath}/librfc822.a ${destroot}${prefix}/lib
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
xinstall -m 644 -W ${worksrcpath} LICENSE README VERSION \
${destroot}${prefix}/share/doc/${name}/
xinstall -m 644 -W ${worksrcpath}/documentation peti.css readme.html \
readme.txt user-manual.html ${destroot}${prefix}/share/doc/${name}/
}