blob: a60baa8f3a31355d928b3ed0b3ca8d7003833325 (
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
|
# $NetBSD: Makefile,v 1.22 1999/10/15 23:59:18 mjl Exp $
#
DISTNAME= lynx2-8-2
PKGNAME= lynx-2.8.2
WRKSRC= ${WRKDIR}/lynx2-8-2
CATEGORIES= www
MASTER_SITES= http://www.slcc.edu/lynx/release2-8-2/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.slcc.edu/lynx/
DEPENDS+= libslang-1.3.9:../../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:
${RM} -rf ${PREFIX}/etc/lynx_doc
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx_help
.include "../../mk/bsd.pkg.mk"
|