Portfile

# $Id: Portfile 20506 2006-11-03 16:00:11Z blair@macports.org $
PortSystem 1.0
PortGroup zope 1.0

zope.setup PloneWebMail 1.0final
categories-append mail
maintainers nomaintainer@macports.org
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 on these Zope products
depends_lib-append port:zope-cmfplone

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