source: trunk/dports/www/lynx/Portfile

Last change on this file was 150626, checked in by larryv@…, 16 months ago

lynx: Fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
RevLine 
[41970]1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
[20490]2# $Id: Portfile 150626 2016-07-24 23:01:43Z ryandesign@macports.org $
[2128]3
[101191]4PortSystem          1.0
[28206]5
[101191]6name                lynx
[124937]7set milestone       2.8.8
[124936]8version             ${milestone}rel.2
[146517]9revision            2
[101191]10categories          www
[124936]11platforms           darwin
[124976]12license             {GPL-2 OpenSSLException}
[101191]13maintainers         larryv
[124936]14
[101191]15description         The text web browser
16long_description    Lynx is a fully-featured World Wide Web browser for \
17                    users on Unix, VMS, and other platforms running \
18                    cursor-addressable, character-cell terminals or \
19                    emulators.
[150625]20homepage            http://lynx.invisible-island.net
[3408]21
[124937]22depends_lib         port:gettext \
23                    port:libiconv \
24                    port:libidn \
25                    port:ncurses
[23257]26
[150625]27master_sites        http://invisible-mirror.net/archives/lynx/tarballs \
28                    ftp://invisible-island.net/lynx/tarballs
[124936]29distname            [strsed ${distname} {g/-//}]
30use_bzip2           yes
[7921]31
[124937]32checksums           rmd160  a683f9c163a6c343bde53ffde99dbecce4e41b02 \
33                    sha256  6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7
[25023]34
[124936]35worksrcdir          ${name}[strsed ${milestone} {g/\./-/}]
36
[101191]37patchfiles          patch-LYCharSets.c
[25249]38
[124937]39configure.args      --datadir=${prefix}/share/doc \
40                    --enable-htmlized-cfg \
41                    --enable-ipv6 \
42                    --enable-local-docs \
43                    --enable-nls
[25249]44
[124937]45destroot.target-append  install-doc install-help
46
[33752]47if {![variant_isset gnutls]} {
48    default_variants +ssl
49}
50
[124936]51variant ssl conflicts gnutls description "Enable secure connections using OpenSSL" {
[139229]52    depends_lib-append      path:lib/libssl.dylib:openssl
[25249]53    configure.args-append   --with-ssl=${prefix}
54}
55
[124936]56variant gnutls conflicts ssl description "Enable secure connections with GnuTLS (experimental)" {
57    depends_lib-append      port:gnutls
[25249]58    configure.args-append   --with-gnutls=${prefix}
59}
[41970]60
[101191]61livecheck.type      regex
[150626]62livecheck.url       [lindex ${master_sites} 0]
63livecheck.regex     [format {href="%s(\d+(?:\.\d+)*rel\.\d+)%s"} \
64                        ${name} ${extract.suffix}]
Note: See TracBrowser for help on using the repository browser.