Ticket #30146: Portfile

File Portfile, 2.0 KB (added by macports@…, 13 years ago)
Line 
1# $Id: Portfile 57253 2009-09-08 07:02:37Z jmr@macports.org $
2
3PortSystem 1.0
4PortGroup python26 1.0
5
6name                    offlineimap
7version                 6.3.3
8categories              mail python
9platforms               darwin
10license                 GPLv2+
11maintainers             boeyms openmaintainer
12# The following were borrowed from the Debian package.
13description             IMAP/Maildir synchronization and reader support
14long_description        OfflineIMAP is a tool to simplify your e-mail reading.\
15                        With OfflineIMAP, you can:\
16                        - Read the same mailbox from multiple computers, and\
17                          have your changes (deletions, etc.) be automatically\
18                          reflected on all computers\
19                        - Use various mail clients to read a single mail box\
20                        - Read mail while offline (on a laptop) and have all\
21                          changes synchronized when you get connected again\
22                        - Read IMAP mail with mail readers that do not support\
23                          IMAP\
24                        - Use SSL (secure connections) to read IMAP mail even\
25                          if your reader doesn't support SSL\
26                        - Synchronize your mail using a completely safe and\
27                          fault-tolerant algorithm. (At least I think it is!)\
28                        - Customize which mailboxes to synchronize with regular\
29                          expressions or lists\
30                        - Synchronize your mail two to four times faster than\
31                          with other tools or other mail readers' internal IMAP\
32                          support\
33                        In short, OfflineIMAP is a tool to let you read mail\
34                        how YOU want to.
35homepage                http://offlineimap.org
36master_sites    debian:o/offlineimap/
37distname                ${name}_${version}.orig
38worksrcdir              ${name}-${version}
39checksums               md5 58a69fb16ea73116d05f3eefb94bb8a4 \
40                                sha1 ea99d7a02b07a777dddfe99abf9bb7f765ff590d
41
42post-destroot {
43        ln -s ${python.prefix}/bin/offlineimap ${destroot}${prefix}/bin
44        xinstall -m 644 ${worksrcpath}/docs/FAQ.rst \
45                ${destroot}${prefix}/share/doc/offlineimap
46        xinstall -m 644 ${worksrcpath}/docs/MANUAL.rst \
47                ${destroot}${prefix}/share/doc/offlineimap
48        xinstall -m 644 ${worksrcpath}/offlineimap.conf \
49                ${destroot}${prefix}/etc/example-offlineimap.conf
50        xinstall -m 644 ${worksrcpath}/offlineimap.conf.minimal \
51                ${destroot}${prefix}/etc/example-offlineimap.conf.minimal
52}