# $Id: Portfile 67042 2010-04-27 23:02:18Z ryandesign@macports.org $
PortSystem 1.0
PortGroup zope 1.0

zope.setup		PloneWebMail 1.0final
categories-append	mail
maintainers		nomaintainer
description		Plone web email product
long_description	PloneWebMail is an IMAP (POP3 support coming \
					soon) email client for Plone.  It's very simple \
					and the features are basic : \
					- Read IMAP messages with attachments \
					- Send & forward messages with attachments \
					  (plain text & HTML) \
					- IMAP folders management \
					- copy/move IMAP messages \
					- Basic addressbook \
					- i18n implementation
homepage		http://plonewebmail.openprojects.it/
master_sites	${homepage}Members/admin/
checksums		md5 255541e6a43c9de4fa6fccce523c5ffa
platforms		darwin freebsd

depends_lib-append		port:zope-cmfplone

post-patch {
	system "rm -rf ${worksrcpath}/${zope.product}/skins/${zope.product}/img/.xvpics"
	system "find ${worksrcpath} -type f | xargs chmod a+r"
}

