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

Last change on this file since 144330 was 144330, checked in by mojca@…, 3 years ago

imapsync: switch to perl5.22 (#48365)

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