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

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

imapsync: version 1.484

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 89768 2012-02-10 00:56:40Z mww@macports.org $
2
3PortSystem 1.0
4
5name                imapsync
6version             1.484
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           md5     367b0810fae553d4515bcf5e8c446651 \
21                    sha1    f63d99363998a3414576af831e6fcf475355eec0 \
22                    rmd160  5bed90e5c7e8f8b4b7d78dfc9c350f1f0be8940c
23
24depends_run         port:perl5.12 \
25                    port:p5.12-digest-md5 \
26                    port:p5.12-mail-imapclient \
27                    port:p5.12-term-readkey \
28                    port:p5.12-io-socket-ssl \
29                    port:p5.12-datemanip \
30                    port:p5.12-digest-hmac
31
32supported_archs     noarch
33
34post-patch {
35    reinplace "s|^#!.*|#!${prefix}/bin/perl5.12|g" ${worksrcpath}/imapsync
36}
37
38use_configure       no
39
40build               {}
41
42destroot {
43    xinstall -m 755 ${worksrcpath}/imapsync ${destroot}${prefix}/bin/imapsync.pl
44    ln -sf imapsync.pl ${destroot}${prefix}/bin/imapsync
45    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
46    xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog FAQ COPYING INSTALL README \
47        TODO VERSION ${destroot}${prefix}/share/doc/${name}
48}
49
50livecheck.type      regex
51livecheck.url       [lindex ${master_sites} 0]
52livecheck.regex     ${name}-(\[.0-9\]+)\\.tgz
Note: See TracBrowser for help on using the repository browser.