PortSystem 1.0

name			librfc822
version			1.2
categories		mail
platforms		darwin
license			Permissive
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/free-software/
master_sites	http://ftp2.za.freebsd.org/pub/FreeBSD/ports/distfiles/
checksums	rmd160 6a34271f29ddc2463836571819f44bce19627bdd \
		sha256 f9a2d5fbf7526b4c970fc38b96ee7fcf444f8417e9bb60f2255aec7ef8dbb472

test.run		yes
test.target		check

destroot	{
	xinstall -m 644 ${worksrcpath}/librfc822.a ${destroot}${prefix}/lib
	xinstall -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/user-manual.html \
		${destroot}${prefix}/share/doc/${name}
}
