blob: ede39b16594de899168a56ed8bb28cb0263e993c (
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
|
# $NetBSD: Makefile,v 1.18 1999/06/22 07:34:17 tron 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.3.7:../../devel/libslang
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"
|