summaryrefslogtreecommitdiff
path: root/www/lynx/Makefile
blob: 4a13f0e13251bf12bb6b784b765e9aca580fca6b (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
# $NetBSD: Makefile,v 1.16 1999/01/23 12:41:13 frueauf Exp $
#

DISTNAME=       lynx2-8-1
PKGNAME=        lynx-2.8.1
WRKSRC=         ${WRKDIR}/lynx2-8-1
CATEGORIES=	www
MASTER_SITES=   http://sol.slcc.edu/lynx/release2-8-1/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://sol.slcc.edu/lynx/

DEPENDS+=	libslang-1.2.2:../../devel/libslang

CONFLICTS=	lynx-*

GNU_CONFIGURE=  YES
CONFIGURE_ARGS+= --with-screen=slang --with-zlib --libdir="${PREFIX}/etc"
# see if PASSIVE_FETCH is defined in /etc/mk.conf.  If so compile
# with the ftp code set to passive mode (-DNOPORT)
.include "../../mk/bsd.prefs.mk"

.if defined(PASSIVE_FETCH)
CONFIGURE_ENV+=	LIBS="-lm -ltermcap" CPPFLAGS="-Dunix -DNOPORT"
.else
CONFIGURE_ENV+=	LIBS="-lm -ltermcap" CPPFLAGS=-Dunix
.endif

INSTALL_TARGET= install install-help
MAKEFILE=       makefile

post-install:
	chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx_help

.include "../../mk/bsd.pkg.mk"