# $Id: Portfile 132620 2015-02-05 23:50:54Z cal@macports.org $ PortSystem 1.0 name isync version 1.1.2 checksums rmd160 e4e0b7ad83de73e875f8e605e242c82653593b9b \ sha256 a225b5d5915b6e0f9da303caa6b4db1ee06241e98c1ad0a662e5dcea0654c0a4 categories mail platforms darwin license GPL-2 maintainers nomaintainer description Synchronizes a maildir with an imap server, provides mbsync command homepage http://isync.sourceforge.net/ long_description isync is a command line utility for synchronizing a \ remote IMAP mailbox with a local maildir-style mailbox. \ This is useful for working in disconnected mode, such as \ on a laptop. Modifications made locally and remotely are \ synchronized so that no message status flags are lost. \ Due to massive changes in interfaces the new command is \ called mbsync, isync is still provided for compatibility. master_sites sourceforge depends_lib port:db48 \ port:openssl \ port:zlib depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle post-patch { # Patch the sample configuration to use MacPorts certificates reinplace -E "s#^CertificateFile .*\$#CertificateFile ${prefix}/share/curl/curl-ca-bundle.crt#g" \ ${worksrcpath}/src/mbsyncrc.sample } configure.args --mandir=${prefix}/share/man configure.cppflags-append -I${prefix}/include/db48 configure.ldflags-append -L${prefix}/lib/db48 post-destroot { xinstall -m 644 -W ${worksrcpath}/src \ compat/isync.1 mbsync.1 mdconvert.1 \ ${destroot}${prefix}/share/man/man1 } notes "A sample configuration file has been installed in ${prefix}/share/doc/${name}/examples/mbsyncrc.sample"