source: trunk/dports/www/elinks/Portfile @ 98072

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

elinks: Builds fine with clang, so use clang.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 98072 2012-09-24 06:59:39Z jeremyhu@macports.org $
2
3PortSystem          1.0
4PortGroup           muniversal 1.0
5
6name                elinks
7conflicts           elinks-devel
8epoch               1
9version             0.11.7
10revision            3
11categories          www
12platforms           darwin
13license             GPL-2
14maintainers         nomaintainer
15description         text mode web browser
16long_description    ELinks is an advanced and well-established feature-rich \
17                    text mode web (HTTP/FTP/..) browser.  ELinks can render \
18                    both frames and tables, is highly customizable and can \
19                    be extended via Lua or Guile scripts.
20
21homepage            http://elinks.or.cz/
22master_sites        ${homepage}download/
23use_bzip2           yes
24checksums           md5     fcd087a6d2415cd4c6fd1db53dceb646 \
25                    sha1    d13edc1477d0ab32cafe7d3c1f3a23ae1c0a5c54 \
26                    rmd160  2e6e863d08f9accb71892ba6f236f795c83cba9c
27
28depends_lib         port:openssl \
29                    port:bzip2 \
30                    port:expat \
31                    port:spidermonkey
32
33configure.args      --mandir=${prefix}/share/man \
34                    --disable-nls \
35                    --without-guile \
36                    --without-lua \
37                    --without-gnutls \
38                    --with-openssl=${prefix} \
39                    --with-spidermonkey=${prefix} \
40                    --without-zlib
41# zlib support is broken in 0.11, ticket #24143
42
43variant col256 description {Use 256 colours if supported by the terminal} {
44    post-extract {
45        reinplace "s|CONFIG_256_COLORS=no|CONFIG_256_COLORS=yes|" \
46            ${worksrcpath}/features.conf
47    }
48}
49
50variant lua description {Build with Lua support} {
51    depends_lib-append      port:lua50
52
53    configure.args-delete   --without-lua
54    configure.args-append   --with-lua
55}
56
57variant perl description {Build with Perl support} {
58    depends_lib-append      path:bin/perl:perl5
59
60    patchfiles-append       patch-perl.diff
61
62    configure.args-append   --with-perl
63}
64
65use_parallel_build no
66
67livecheck.url   ${master_sites}
68livecheck.type  regex
69livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.