# $Id: Portfile 86786 2011-11-04 05:20:35Z boeyms@macports.org $ PortSystem 1.0 PortGroup python27 1.0 name offlineimap version 6.3.4 revision 1 categories mail python platforms darwin license GPL-2+ maintainers nomaintainer supported_archs noarch # The following were borrowed from the Debian package. description IMAP/Maildir synchronization and reader support long_description OfflineIMAP is a tool to simplify your e-mail reading.\ With OfflineIMAP, you can:\ - Read the same mailbox from multiple computers, and\ have your changes (deletions, etc.) be automatically\ reflected on all computers\ - Use various mail clients to read a single mail box\ - Read mail while offline (on a laptop) and have all\ changes synchronized when you get connected again\ - Read IMAP mail with mail readers that do not support\ IMAP\ - Use SSL (secure connections) to read IMAP mail even\ if your reader doesn't support SSL\ - Synchronize your mail using a completely safe and\ fault-tolerant algorithm. (At least I think it is!)\ - Customize which mailboxes to synchronize with regular\ expressions or lists\ - Synchronize your mail two to four times faster than\ with other tools or other mail readers' internal IMAP\ support\ In short, OfflineIMAP is a tool to let you read mail\ how YOU want to. homepage http://offlineimap.org/ master_sites https://github.com/nicolas33/offlineimap/tarball/v${version} dist_subdir ${name} checksums rmd160 1e59b2535f6a606bcff82b653cc8e9178d1f66cb \ sha256 a2ac69a58605338e971658e930e095e4c2611383837a9378b88c0749cd374333 depends_build-append port:py27-docutils port:py27-sphinx post-extract { move [glob ${workpath}/*] ${worksrcpath} } patchfiles patch-docs-MANUAL.rst.diff post-build { system -W ${worksrcpath} "PATH='${python.prefix}/bin:$env(PATH)' make doc man" } python.link_binaries_suffix post-destroot { xinstall -m 644 -W ${worksrcpath} \ COPYING \ COPYRIGHT \ Changelog.html Changelog.rst \ readme.html README.rst \ SubmittingPatches.html SubmittingPatches.rst \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath}/docs \ FAQ.html FAQ.rst \ HACKING.html HACKING.rst \ MANUAL.html MANUAL.rst \ UPGRADE.html UPGRADE.rst \ ${destroot}${prefix}/share/doc/${name} copy ${worksrcpath}/docs/dev-doc ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/offlineimap.1 ${destroot}${prefix}/share/man/man1 xinstall -m 644 ${worksrcpath}/offlineimap.conf \ ${destroot}${prefix}/etc/offlineimap.conf.sample xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \ ${destroot}${prefix}/etc/offlineimap.conf.minimal.sample } livecheck.type regex livecheck.url https://github.com/nicolas33/offlineimap/tags livecheck.regex {tarball/v([0-9.]+)"}