# $Id: Portfile,v 1.1 2004/02/24 03:57:28 rshaw Exp $ PortSystem 1.0 name zope-emilemailclient version 0.6.1 categories www zope python maintainers rshaw@opendarwin.org description Emil Email Client is an email client for Zope long_description Emil Email Client is an email client similar to \ those from the free webmail providers. At the \ moment you can: \ - read, view, reply your emails from a POP3 account \ - addressbook \ - nicknames \ - send and view attachements \ - import attachments into zope \ - spam list to avoid receiving unwanted emails \ - use apop for increased security, when connecting \ to a mail server \ - send SMS via email gateway to mobile phone \ - access emails from phone via WAP \ - notification of new email via SMS \ - filter incoming emails \ - (using these filters) send emails to your own \ zope-methods platforms darwin freebsd homepage http://zope.org/Members/andorsch/Emil_Email_Client master_sites sourceforge:emil-email dist_subdir zope/${name} distname Emil_Email_Client distfiles [string tolower ${distname}]_${version}${extract.suffix} checksums md5 4120a426e6b865cd1543f1bb6aa418c3 # Use Python 2.3 from DarwinPorts explicitly set python ${prefix}/bin/python2.3 # Location to install Zope products and the Zope user set zopehome ${prefix}/libexec/Zope set zopeinst ${prefix}/www/Zope set zopeprod ${zopehome}/lib/python/Products set zopeuser zope set zopegroup www # Depends on Zope depends_build path:${zopehome}:zope platform freebsd { extract.post_args | gtar -xf - } use_configure no pre-build { file copy ${zopehome}/bin/compilezpy.py ${workpath} reinplace "s|^.*sys.stdout|#&|" ${workpath}/compilezpy.py system "find ${worksrcpath} -name '*.py\[co\]' | xargs rm" system "find ${worksrcpath} -type d -name CVS | xargs rm -rf" } build { system "cd ${worksrcpath} && ${python} ${workpath}/compilezpy.py" } destroot { if {$env(USER) != "root"} { ui_msg "------------------------------------------------------------" ui_msg "Note that you are not installing as root, so files installed" ui_msg "by this port will not end up with proper ownership and" ui_msg "likely not work correctly with Zope." ui_msg "------------------------------------------------------------" } # Install products xinstall -d -m 0755 ${destroot}${zopeprod} system "cp -R ${workpath}/${distname} ${destroot}${zopeprod}" if {$env(USER) == "root"} { system "chown -R ${zopeuser} ${destroot}${zopehome}" system "chgrp -R ${zopegroup} ${destroot}${zopehome}" } }