checksums rmd160 01d7b028fc61e7ad3b51b529a082637fbc4a6816 \
sha256 8d5f583976e3119705bdba27fa4fc962e807ff5996f24f354957178ffa697c9c
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:project/isync/isync/${version}/
path:lib/libssl.dylib:openssl \
depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle
patchfiles patch-src-drv_proxy_gen.pl.diff \
if {[string match *gcc-4.2* ${configure.compiler}] || [string match *clang* ${configure.compiler}]} {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/drv_proxy_gen.pl
# 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
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"