source: trunk/dports/net/lftp/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem          1.0
4
5name                lftp
6version             3.7.6
7revision            1
8categories          net
9platforms           darwin
10maintainers         gmail.com:yunzheng.hu
11
12description         Sophisticated file transfer program
13long_description    Lftp is a shell-like command line ftp client. It is \
14                    reliable, can retry operations and does reget \
15                    automatically. It can do several transfers \
16                    simultaneously in background. You can start a transfer \
17                    in background and continue browsing the ftp site or \
18                    another one. This all is done in one process. Background \
19                    jobs will be completed in nohup mode if you exit or \
20                    close modem connection. Lftp has reput, mirror, reverse \
21                    mirror among its features.
22
23homepage            http://lftp.yar.ru/
24master_sites        http://ftp.yars.free.net/pub/source/${name}/ \
25                    http://ftp.yars.free.net/pub/source/${name}/old \
26                    ftp://ftp.cs.tu-berlin.de/pub/net/ftp/${name}/
27use_bzip2           yes
28checksums           md5 eed9891b8c2d034f296af5eb86898935 \
29                    sha1 522396db61839d6726aaab3a152243573da9c1fe \
30                    rmd160 8f8f9fd34592295ed5c07a1bf27fb28cbbcce608
31
32depends_lib         port:expat \
33                    port:libiconv \
34                    port:ncurses \
35                    port:openssl \
36                    port:readline
37
38configure.args      --with-openssl \
39                    --without-gnutls \
40                    --disable-nls
41
42pre-configure {
43    # look for ncurses first
44    reinplace "s|curses ncurses|ncurses curses|g" ${worksrcpath}/configure
45}
46
47post-destroot {
48    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
49    xinstall -d ${docdir}
50    xinstall -W ${worksrcpath} AUTHORS BUGS ChangeLog COPYING FAQ FEATURES \
51        NEWS README README.debug-levels README.modules MIRRORS THANKS TODO \
52        ${docdir}
53    file delete -force "${destroot}${prefix}/lib/charset.alias"
54}
55
56variant tls description {Use GnuTLS instead of OpenSSL} {
57    configure.args-append   --without-openssl --with-gnutls
58    configure.args-delete   --with-openssl --without-gnutls
59    depends_lib-append      port:gnutls
60    depends_lib-delete      port:openssl
61}
62
63variant nls description {Add internationalization support} {
64    configure.args-append   --enable-nls
65    configure.args-delete   --disable-nls
66    depends_lib-append      port:gettext
67}
68
69livecheck.check     regex
70livecheck.url       ${homepage}
71livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*) released
Note: See TracBrowser for help on using the repository browser.