source: trunk/dports/www/links/Portfile @ 1032

Last change on this file since 1032 was 1032, checked in by landonf, 17 years ago

Add x11 variant

  • Property svn:eol-style set to native
File size: 888 bytes
Line 
1PortSystem 1.0
2name            links
3version         2.1pre3
4description     Lynx-like WWW browser that supports tables, menus, etc
5
6long_description Lynx-like WWW browser that supports tables, menus, \
7and so on for text-only displays.
8
9platforms       darwin freebsd
10categories      www
11master_sites    http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/\
12                http://unixpages.org/distfiles/
13maintainers     landonf@opendarwin.org
14use_bzip2       yes
15checksums       md5 6c6fb4d5ae15c626599adf69f31ad67f
16
17patchfiles      patch-x.c
18
19configure.args  --enable-javascript --with-ssl --without-svgalib
20post-patch { reinplace s|/etc/|${prefix}/etc/| ${workpath}/${worksrcdir}/default.c }
21
22variant x11 {
23        depends_lib             lib:libpng.3:libpng lib:libjpeg.9:jpeg
24        configure.env           CPPFLAGS=-I${prefix}/include\\ -no-cpp-precomp \
25                                LDFLAGS=-L${prefix}/lib
26        configure.args-append   --enable-graphics --with-x
27}
28
29contents        bin/links man/man1/links.1
Note: See TracBrowser for help on using the repository browser.