# $Id: Portfile 147283 2016-04-01 12:31:20Z khindenburg@macports.org $ PortSystem 1.0 name isync version 1.2.1 checksums rmd160 dcf41159675ab2bd06a0070ac65b49fe13fb07b9 \ sha256 e716de28c9a08e624a035caae3902fcf3b511553be5d61517a133e03aa3532ae 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:db53 \ path:lib/libssl.dylib: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/db53 configure.ldflags-append -L${prefix}/lib/db53 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"