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

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

imapsync: version 1.518

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 100957 2013-01-02 08:32:33Z mww@macports.org $
2
3PortSystem 1.0
4
5name                imapsync
6version             1.518
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  d4bf1d0aad7218db16b3b9c79682b5fc8ea84c59 \
21                    sha256  13cca94b1b1b8a0d53d86a41fb017cac770a73e59b00da50f704b934109c5c16
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.