# $Id: Portfile 106418 2013-05-25 16:02:21Z mww@macports.org $ PortSystem 1.0 name imapsync version 1.542 categories mail platforms darwin maintainers mww license WTFPL-2 description imapsync is an IMAP synchronization, copy or migration tool. long_description imapsync is an IMAP synchronization, copy or migration \ tool. Synchronize mailboxes between two imap servers. It is \ especially good at IMAP migration. homepage http://www.linux-france.org/prj/imapsync/ master_sites http://fedorahosted.org/released/imapsync/ extract.suffix .tgz checksums rmd160 09b2f9f3b37aa39fb8886ef3a314ac7b28b3e5e6 \ sha256 8b10ee53f827e16f13ac5babe5f74f21acee44ce2bb5b6db74b542600d3ae9b6 depends_run port:perl5.12 \ port:p5.12-digest-md5 \ port:p5.12-mail-imapclient \ port:p5.12-term-readkey \ port:p5.12-io-socket-ssl \ port:p5.12-datemanip \ port:p5.12-digest-hmac supported_archs noarch post-patch { reinplace -locale C "s|^#!.*|#!${prefix}/bin/perl5.12|g" ${worksrcpath}/imapsync } use_configure no build {} destroot { xinstall -m 755 ${worksrcpath}/imapsync ${destroot}${prefix}/bin/imapsync.pl ln -sf imapsync.pl ${destroot}${prefix}/bin/imapsync xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog FAQ LICENSE INSTALL README \ TODO VERSION ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[.0-9\]+)\\.tgz