source: trunk/dports/mail/offlineimap/Portfile @ 106209

Last change on this file since 106209 was 106209, checked in by sean@…, 7 years ago

offlineimap: hopefully fix the stealth update this time, #38612

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.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 106209 2013-05-18 22:03:21Z sean@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        OfflineIMAP offlineimap 6.5.4 v
9revision            2
10categories          mail python
11platforms           darwin
12license             GPL-2+
13maintainers         sean openmaintainer
14supported_archs     noarch
15
16description         IMAP/Maildir synchronization and reader support
17long_description    OfflineIMAP is a tool to simplify your e-mail reading. \
18                    With OfflineIMAP, you can: \
19                    - Read the same mailbox from multiple computers, and \
20                      have your changes (deletions, etc.) be automatically \
21                      reflected on all computers \
22                    - Use various mail clients to read a single mail box \
23                    - Read mail while offline (on a laptop) and have all \
24                      changes synchronized when you get connected again \
25                    - Read IMAP mail with mail readers that do not support \
26                      IMAP \
27                    - Use SSL (secure connections) to read IMAP mail even \
28                      if your reader doesn't support SSL \
29                    - Synchronize your mail using a completely safe and \
30                      fault-tolerant algorithm. (At least I think it is!) \
31                    - Customize which mailboxes to synchronize with regular \
32                      expressions or lists \
33                    - Synchronize your mail two to four times faster than \
34                      with other tools or other mail readers' internal IMAP \
35                      support \
36                    In short, OfflineIMAP is a tool to let you read mail \
37                    how YOU want to.
38
39homepage            http://offlineimap.org/
40
41checksums           rmd160  bfe190520566525178dd53e386c97f16ef244535 \
42                    sha256  ce8bec2a8368e6ea35ce5c6a3dc864006abc1d1327827e22aa70c4b082c41e87
43
44# remove this next time offlineimap updates
45dist_subdir         ${name}/${version}_1
46
47python.default_version 27
48python.link_binaries_suffix
49
50depends_build       port:py${python.version}-docutils \
51                    port:py${python.version}-sphinx
52
53conflicts           offlineimap-devel
54
55livecheck.type      regex
56livecheck.regex     (\\d\\.\\d\\.\\d)\[^-\]
57
58subport offlineimap-devel {
59    github.setup        OfflineIMAP offlineimap a73b4b34652e
60    name                offlineimap-devel
61    version             6.5.4.99
62    revision            1
63
64    conflicts           offlineimap
65
66    checksums           rmd160  f451344aea41c0eec8550e6420d581f275c412b2 \
67                        sha256  eb06c0df9fd127db93a5c7fb6d6dc01a4645fe7d902e43d3b41846ea28f85d8d
68
69    variant gmail description {Add experimental support for gmail labels} {
70        github.setup        aroig offlineimap 8a40e6cec96c
71        name                offlineimap-devel
72        version             6.5.4.99
73        revision            1
74
75        checksums           rmd160  3bfd05bd12c48011669939225d433463e36a9358 \
76                            sha256  a679fd51ad8a99a38cfa76b83c73c4c5e1caf2a0fe2232365b036ac74d7a38b9
77    }
78}
79
80post-build {
81    system -W ${worksrcpath} "PATH='${python.prefix}/bin:$env(PATH)' make doc man"
82}
83
84post-destroot {
85    xinstall -m 644 -W ${worksrcpath} \
86        COPYING Changelog.html Changelog.rst README \
87        ${destroot}${prefix}/share/doc/${name}
88    xinstall -m 644 -W ${worksrcpath}/docs \
89        MANUAL.rst \
90        ${destroot}${prefix}/share/doc/${name}
91    xinstall -m 644 ${worksrcpath}/offlineimap.1 ${destroot}${prefix}/share/man/man1
92    xinstall -m 644 ${worksrcpath}/offlineimap.conf \
93        ${destroot}${prefix}/etc/offlineimap.conf.sample
94    xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \
95        ${destroot}${prefix}/etc/offlineimap.conf.minimal.sample
96}
Note: See TracBrowser for help on using the repository browser.