# $Id: Portfile,v 1.13 2006/08/18 08:58:50 mww Exp $ PortSystem 1.0 name imapsync version 1.182 categories mail platforms darwin maintainers mww@opendarwin.org 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 ${homepage}/dist/ freebsd extract.suffix .tgz checksums sha1 b246f22fbbd064d6161b1b7b788e4aefdabb11f7 depends_lib port:perl5.8 \ port:p5-digest-md5 \ port:p5-mail-imapclient \ port:p5-term-readkey \ port:p5-io-socket-ssl configure { reinplace "s|/usr/bin/perl -w|${prefix}/bin/perl|g" ${worksrcpath}/imapsync } build {} destroot { xinstall -m 755 ${worksrcpath}/imapsync ${destroot}${prefix}/bin/imapsync.pl system "cd ${destroot}${prefix}/bin && ln -s imapsync.pl imapsync" xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog FAQ GPL INSTALL README \ TODO VERSION ${destroot}${prefix}/share/doc/${name} }