blob: 06a09e55b885d285af883304bc35213ccb0a9cf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# $NetBSD: Makefile,v 1.101 2007/09/08 18:22:38 rillig Exp $
#
# NOTE: Please do not enable the lynxcgi feature unless it is lynx
# version 2.8.6dev.15 or later. There is a known security issue
# with this feature in earlier versions.
#
DISTNAME= lynx2.8.6rel.5
PKGNAME= lynx-2.8.6.5
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://lynx.isc.org/${SUBDIR:Q}/ \
ftp://ftp.nl.uu.net/pub/unix/www/lynx/${SUBDIR:Q}/ \
ftp://ftp.cyf-kr.edu.pl/pub/unix/lynx/${SUBDIR:Q}/ \
ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/WWW/lynx/${SUBDIR:Q}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= fredb@NetBSD.org
HOMEPAGE= http://lynx.isc.org/
COMMENT= Alphanumeric display oriented World-Wide Web Client
# problem with WWW/Library/Implementation
MAKE_JOBS_SAFE= no
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
SUBDIR= current
WRKSRC= ${WRKDIR}/lynx2-8-6
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
BROKEN_GETTEXT_DETECTION= yes
INSTALL_TARGET= install-full
MAKE_FILE= makefile
CONFIGURE_ENV+= GZIP=${TOOLS_GZIP_CMD:Q}
CONFIGURE_ENV+= UNZIP=${TOOLS_PATH.unzip:Q}
USE_TOOLS+= gzip msgfmt unzip:run
CONF_FILES+= share/examples/lynx/lynx.cfg ${PKG_SYSCONFDIR}/lynx.cfg
CONF_FILES+= share/examples/lynx/lynx.lss ${PKG_SYSCONFDIR}/lynx.lss
# But no dependency on Perl.
REPLACE_PERL+= samples/mailto-form.pl
CHECK_INTERPRETER_SKIP+= share/lynx/lynx_doc/samples/mailto-form.pl
.include "options.mk"
# For nls/gettext
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --with-nls-datadir=${PREFIX}/${PKGLOCALEDIR}
CONFIGURE_ARGS+= --without-included-gettext
# With SSL, lynx can get https:// and snews:// URL's.
CONFIGURE_ARGS+= --with-ssl
# Note: --enable-{default-colors,scrollbar} are simply ignored
# for certain settings of --with-screen.
CONFIGURE_ARGS+= --with-screen=${SCREENTYPE:Q}
CONFIGURE_ARGS+= --enable-default-colors
CONFIGURE_ARGS+= --enable-scrollbar
# Install gzip'ed help files to ${PREFIX}/share/lynx
CONFIGURE_ARGS+= --datadir="${PREFIX}/share/lynx"
CONFIGURE_ARGS+= --enable-gzip-help --with-zlib
# Miscellaneous
CONFIGURE_ARGS+= --enable-externs
CONFIGURE_ARGS+= --enable-source-cache
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
# Experimental features
CONFIGURE_ARGS+= --enable-file-upload
CONFIGURE_ARGS+= --enable-justify-elts
CONFIGURE_ARGS+= --enable-kbd-layout
CONFIGURE_ARGS+= --enable-nested-tables
CONFIGURE_ARGS+= --enable-prettysrc
CONFIGURE_ARGS+= --enable-read-eta
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|