# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 123810 2014-08-14 21:38:20Z mojca@macports.org $ PortSystem 1.0 name imapsync version 1.592 revision 1 categories mail platforms darwin maintainers mww openmaintainer 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 77654a29d8d270e16406cc1b22cca0f2c5f2188f \ sha256 dd359a5b871dd278fbb39ba0c087576e97af1d746c49a104bc00a533b463ab64 set perl_version 5.16 depends_run port:perl${perl_version} \ port:p${perl_version}-digest-md5 \ port:p${perl_version}-mail-imapclient \ port:p${perl_version}-term-readkey \ port:p${perl_version}-io-socket-ssl \ port:p${perl_version}-io-tee \ port:p${perl_version}-datemanip \ port:p${perl_version}-digest-hmac \ port:p${perl_version}-file-copy-recursive supported_archs noarch post-patch { reinplace -locale C "s|^#!.*|#!${prefix}/bin/perl${perl_version}|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