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

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

imapsync: version 1.607

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