diff --git a/www/links/Portfile b/www/links/Portfile
a
|
b
|
|
4 | 4 | PortSystem 1.0 |
5 | 5 | |
6 | 6 | name links |
7 | | version 2.12 |
8 | | revision 1 |
| 7 | version 2.13 |
9 | 8 | description Lynx-like WWW browser that supports tables, menus, etc |
10 | 9 | |
11 | 10 | long_description \ |
… |
… |
|
17 | 16 | license GPL-2+ |
18 | 17 | homepage http://links.twibright.com/ |
19 | 18 | master_sites http://links.twibright.com/download/ |
20 | | checksums rmd160 a40fbb6d821c2702a435ed66e375ca2cd2639003 \ |
21 | | sha256 98411811ded1e8028f5aed708dd7d8ec0ae63ce24c2991a0241a989b7d09d84e |
| 19 | checksums rmd160 f1f29ed90b2c7e397ab53fbd589ece5f2462456b \ |
| 20 | sha256 c252095334a3b199fa791c6f9a9affe2839a7fbd536685ab07851cb7efaa4405 |
22 | 21 | |
23 | 22 | maintainers nomaintainer |
24 | 23 | use_bzip2 yes |
… |
… |
|
26 | 25 | depends_build port:pkgconfig |
27 | 26 | depends_lib path:lib/libssl.dylib:openssl \ |
28 | 27 | port:bzip2 \ |
29 | | port:jpeg \ |
30 | | port:libpng \ |
31 | 28 | port:zlib \ |
32 | 29 | port:xz |
33 | 30 | |
34 | | configure.args --enable-javascript --without-svgalib \ |
35 | | --mandir=${prefix}/share/man --with-ssl |
| 31 | configure.args --disable-graphics \ |
| 32 | --enable-javascript \ |
| 33 | --mandir=${prefix}/share/man \ |
| 34 | --with-ssl \ |
| 35 | --without-libjpeg \ |
| 36 | --without-libpng \ |
| 37 | --without-librsvg \ |
| 38 | --without-libtiff \ |
| 39 | --without-openmp \ |
| 40 | --without-x |
36 | 41 | |
37 | 42 | post-patch { |
38 | 43 | reinplace s|/etc/|${prefix}/etc/| ${workpath}/${worksrcdir}/default.c |
39 | 44 | } |
40 | 45 | |
| 46 | variant svg requires x11 description Enable SVG support { |
| 47 | depends_lib-append port:librsvg |
| 48 | configure.args-replace --without-librsvg --with-librsvg |
| 49 | } |
| 50 | variant tiff requires x11 description Enable TIFF support { |
| 51 | depends_lib-append port:libtiff |
| 52 | configure.args-replace --without-libtiff --with-libtiff |
| 53 | } |
41 | 54 | variant x11 { |
42 | | depends_lib-append port:jpeg \ |
43 | | port:xorg-libXt |
44 | | configure.args-append --enable-graphics --with-x |
| 55 | depends_lib-append port:jpeg port:libpng port:xorg-libXt |
| 56 | configure.args-replace --disable-graphics --enable-graphics |
| 57 | configure.args-replace --without-libjpeg --with-libjpeg |
| 58 | configure.args-replace --without-libpng --with-libpng |
| 59 | configure.args-replace --without-x --with-x |
45 | 60 | } |
46 | 61 | |
47 | 62 | livecheck.type regex |