source: trunk/dports/mail/imapsync/Portfile @ 106415

Last change on this file since 106415 was 106415, checked in by mww@…, 7 years ago

imapsync: version 1.542

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 106415 2013-05-25 15:39:23Z mww@macports.org $
2
3PortSystem 1.0
4
5name                imapsync
6version             1.542
7categories          mail
8platforms           darwin
9maintainers         mww
10license             WTFPL-2
11description         imapsync is an IMAP synchronization, copy or migration tool.
12long_description    imapsync is an IMAP synchronization, copy or migration \
13                    tool. Synchronize mailboxes between two imap servers. It is \
14                    especially good at IMAP migration.
15
16homepage            http://www.linux-france.org/prj/imapsync/
17master_sites        http://fedorahosted.org/released/imapsync/
18extract.suffix      .tgz
19
20checksums           rmd160  09b2f9f3b37aa39fb8886ef3a314ac7b28b3e5e6 \
21                    sha256  8b10ee53f827e16f13ac5babe5f74f21acee44ce2bb5b6db74b542600d3ae9b6
22
23depends_run         port:perl5.12 \
24                    port:p5.12-digest-md5 \
25                    port:p5.12-mail-imapclient \
26                    port:p5.12-term-readkey \
27                    port:p5.12-io-socket-ssl \
28                    port:p5.12-datemanip \
29                    port:p5.12-digest-hmac
30
31supported_archs     noarch
32
33post-patch {
34    reinplace -locale C "s|^#!.*|#!${prefix}/bin/perl5.12|g" ${worksrcpath}/imapsync
35}
36
37use_configure       no
38
39build               {}
40
41destroot {
42    xinstall -m 755 ${worksrcpath}/imapsync ${destroot}${prefix}/bin/imapsync.pl
43    ln -sf imapsync.pl ${destroot}${prefix}/bin/imapsync
44    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
45    xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog FAQ COPYING INSTALL README \
46        TODO VERSION ${destroot}${prefix}/share/doc/${name}
47}
48
49livecheck.type      regex
50livecheck.url       [lindex ${master_sites} 0]
51livecheck.regex     ${name}-(\[.0-9\]+)\\.tgz
Note: See TracBrowser for help on using the repository browser.