# $Id: Portfile,v 1.3 2006/03/14 06:07:45 joe Exp $

PortSystem		1.0

name			squirrelmail
version			1.4.6
categories		www mail php
maintainers		joe@opendarwin.org

description		A webmail system which accesses mail over IMAP
long_description	SquirrelMail is a standards-based webmail package written in PHP4. It \
			includes built-in pure PHP support for the IMAP and SMTP protocols, and \
			all pages render in pure HTML 4.0 (with no Javascript) for maximum \
			compatibility across browsers. It has very few requirements and is very \
			easy to configure and install. SquirrelMail has a all the functionality \
			you would want from an email client, including strong MIME support, \
			address books, and folder manipulation \
homepage		http://www.squirrelmail.org/
master_sites		sourceforge
checksums		md5 da9e22416fca21ed0636458641187cdb
platforms		darwin freebsd

use_configure   no
build 		{}

depends_lib	port:apache2

variant apache {
	depends_lib-append	port:apache
	depends_lib-delete	port:apache2
}

set docpath ${destroot}${prefix}/www/${name}
     
destroot {
	xinstall -m 755 -d ${docpath}
	eval file copy [glob ${workpath}/${distname}/*] ${docpath} 
}

