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

Last change on this file since 87969 was 87277, checked in by rmstonecipher@…, 8 years ago

www/elinks fixed to build +universal on lion, fixed (enabled by default) javascript support by pointing to ${prefix} and depending upon spidermonkey

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 87277 2011-11-16 03:20:23Z rmstonecipher@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
33if {${configure.compiler} == "clang"} {
34    configure.compiler llvm-gcc-4.2
35}
36
37configure.args      --mandir=${prefix}/share/man \
38                    --disable-nls \
39                    --without-guile \
40                    --without-lua \
41                    --without-gnutls \
42                    --with-openssl=${prefix} \
43                    --with-spidermonkey=${prefix} \
44                    --without-zlib
45# zlib support is broken in 0.11, ticket #24143
46
47variant col256 description {Use 256 colours if supported by the terminal} {
48    post-extract {
49        reinplace "s|CONFIG_256_COLORS=no|CONFIG_256_COLORS=yes|" \
50            ${worksrcpath}/features.conf
51    }
52}
53
54variant lua description {Build with Lua support} {
55    depends_lib-append      port:lua50
56
57    configure.args-delete   --without-lua
58    configure.args-append   --with-lua
59}
60
61variant perl description {Build with Perl support} {
62    depends_lib-append      path:bin/perl:perl5
63
64    patchfiles-append       patch-perl.diff
65
66    configure.args-append   --with-perl
67}
68
69use_parallel_build no
70
71livecheck.url   ${master_sites}
72livecheck.type  regex
73livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.