source: trunk/dports/mail/offlineimap/Portfile

Last change on this file was 153882, checked in by sean@…, 9 months ago

offlineimap: update to 7.0.8

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 153882 2016-10-14 21:34:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        OfflineIMAP offlineimap 7.0.8 v
9categories          mail python
10platforms           darwin
11license             GPL-2+
12maintainers         sean openmaintainer
13supported_archs     noarch
14
15description         IMAP/Maildir synchronization and reader support
16long_description    OfflineIMAP is a tool to simplify your e-mail reading. \
17                    With OfflineIMAP, you can: \
18                    - Read the same mailbox from multiple computers, and \
19                      have your changes (deletions, etc.) be automatically \
20                      reflected on all computers \
21                    - Use various mail clients to read a single mail box \
22                    - Read mail while offline (on a laptop) and have all \
23                      changes synchronized when you get connected again \
24                    - Read IMAP mail with mail readers that do not support \
25                      IMAP \
26                    - Use SSL (secure connections) to read IMAP mail even \
27                      if your reader doesn't support SSL \
28                    - Synchronize your mail using a completely safe and \
29                      fault-tolerant algorithm. (At least I think it is!) \
30                    - Customize which mailboxes to synchronize with regular \
31                      expressions or lists \
32                    - Synchronize your mail two to four times faster than \
33                      with other tools or other mail readers' internal IMAP \
34                      support \
35                    In short, OfflineIMAP is a tool to let you read mail \
36                    how YOU want to.
37
38homepage            http://offlineimap.org/
39
40checksums           rmd160  bfe9871b19fea47b65df01d270084842587778d3 \
41                    sha256  a8a6cd3d81a039a8b5b176fc19b23d2829c67c32ecaa03957873351403c41a9b
42
43python.default_version 27
44
45depends_build       port:py${python.version}-docutils \
46                    port:py${python.version}-sphinx \
47                    port:asciidoc
48
49depends_lib         port:py${python.version}-six
50
51livecheck.regex     archive/[join ${github.tag_prefix} ""](\[^"-\]+)${extract.suffix}
52
53# pull request issued, should be able to delete this after the next release
54post-patch {
55    reinplace -W ${worksrcpath}/offlineimap/ui "s,Ms,%s,g" Machine.py
56}
57
58post-build {
59    system -W ${worksrcpath} "PATH='${python.prefix}/bin:$env(PATH)' make docs"
60}
61
62post-destroot {
63    xinstall -m 644 -W ${worksrcpath} \
64        COPYING Changelog.md \
65        ${destroot}${prefix}/share/doc/${name}
66    xinstall -m 644 ${worksrcpath}/offlineimap.conf \
67        ${destroot}${prefix}/etc/offlineimap.conf.sample
68    xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \
69        ${destroot}${prefix}/etc/offlineimap.conf.minimal.sample
70}
Note: See TracBrowser for help on using the repository browser.