1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name isync |
---|
6 | version 1.2.1 |
---|
7 | checksums rmd160 dcf41159675ab2bd06a0070ac65b49fe13fb07b9 \ |
---|
8 | sha256 e716de28c9a08e624a035caae3902fcf3b511553be5d61517a133e03aa3532ae |
---|
9 | |
---|
10 | categories mail |
---|
11 | platforms darwin |
---|
12 | license GPL-2 |
---|
13 | maintainers nomaintainer |
---|
14 | description Synchronizes a maildir with an imap server, provides mbsync command |
---|
15 | homepage http://isync.sourceforge.net/ |
---|
16 | |
---|
17 | long_description isync is a command line utility for synchronizing a \ |
---|
18 | remote IMAP mailbox with a local maildir-style mailbox. \ |
---|
19 | This is useful for working in disconnected mode, such as \ |
---|
20 | on a laptop. Modifications made locally and remotely are \ |
---|
21 | synchronized so that no message status flags are lost. \ |
---|
22 | Due to massive changes in interfaces the new command is \ |
---|
23 | called mbsync, isync is still provided for compatibility. |
---|
24 | |
---|
25 | master_sites sourceforge |
---|
26 | |
---|
27 | depends_lib port:db53 \ |
---|
28 | path:lib/libssl.dylib:openssl \ |
---|
29 | port:zlib |
---|
30 | |
---|
31 | depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle |
---|
32 | |
---|
33 | post-patch { |
---|
34 | # Patch the sample configuration to use MacPorts certificates |
---|
35 | reinplace -E "s#^CertificateFile .*\$#CertificateFile ${prefix}/share/curl/curl-ca-bundle.crt#g" \ |
---|
36 | ${worksrcpath}/src/mbsyncrc.sample |
---|
37 | } |
---|
38 | |
---|
39 | configure.args --mandir=${prefix}/share/man |
---|
40 | configure.cppflags-append -I${prefix}/include/db53 |
---|
41 | configure.ldflags-append -L${prefix}/lib/db53 |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | xinstall -m 644 -W ${worksrcpath}/src \ |
---|
45 | compat/isync.1 mbsync.1 mdconvert.1 \ |
---|
46 | ${destroot}${prefix}/share/man/man1 |
---|
47 | } |
---|
48 | |
---|
49 | notes "A sample configuration file has been installed in ${prefix}/share/doc/${name}/examples/mbsyncrc.sample" |
---|