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

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

offlineimap: take over maintainership

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# $Id: Portfile 102525 2013-02-04 17:15:59Z sean@macports.org $
2
3PortSystem 1.0
4PortGroup github 1.0
5PortGroup python27 1.0
6
7github.setup    spaetz offlineimap 6.5.2.1 v
8categories              mail python
9platforms               darwin
10license                 GPL-2+
11maintainers             sean openmaintainer
12supported_archs noarch
13
14# The following were borrowed from the Debian package.
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/
39dist_subdir             ${name}
40
41checksums       rmd160  5097245e5d5470747aab0b79d96f1674e8dab65b \
42                sha256  046a4625459dbd4930cc8849149ef4c4db660415f6610c081c7804d419ba3131
43
44depends_build-append    port:py27-docutils port:py27-sphinx
45
46post-build {
47        system -W ${worksrcpath} "PATH='${python.prefix}/bin:$env(PATH)' make doc man"
48}
49
50python.link_binaries_suffix
51
52post-destroot {
53        xinstall -m 644 -W ${worksrcpath} \
54                COPYING \
55                COPYRIGHT \
56                Changelog.html Changelog.rst \
57                readme.html README.rst \
58                SubmittingPatches.html SubmittingPatches.rst \
59                ${destroot}${prefix}/share/doc/${name}
60        xinstall -m 644 -W ${worksrcpath}/docs \
61                FAQ.html FAQ.rst \
62                HACKING.html HACKING.rst \
63                MANUAL.html MANUAL.rst \
64                UPGRADE.html UPGRADE.rst \
65                ${destroot}${prefix}/share/doc/${name}
66        copy ${worksrcpath}/docs/dev-doc ${destroot}${prefix}/share/doc/${name}
67        xinstall -m 644 ${worksrcpath}/offlineimap.1 ${destroot}${prefix}/share/man/man1
68        xinstall -m 644 ${worksrcpath}/offlineimap.conf \
69                ${destroot}${prefix}/etc/offlineimap.conf.sample
70        xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \
71                ${destroot}${prefix}/etc/offlineimap.conf.minimal.sample
72}
Note: See TracBrowser for help on using the repository browser.