aboutsummaryrefslogtreecommitdiffstats
path: root/www/lynx/Makefile
blob: 49a866d37933d8e1c62090429e0f47e5d49f4658 (plain) (blame)
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
# New ports collection makefile for:    lynx
# Date created:         15 Dec 1994
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   lynx
PORTVERSION=    2.8.2rel.1
CATEGORIES= www
MASTER_SITES=   http://sol.slcc.edu/lynx/current/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= jseger@FreeBSD.org

FORBIDDEN=  "Riddled with buffer overflows exploitable by a malicious server to execute code as the local user."

USE_BZIP2=      YES
WRKSRC=         ${WRKDIR}/lynx2-8-2
GNU_CONFIGURE=  YES
CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
        --enable-nsl-fork --enable-persistent-cookies
MAKE_FLAGS=     helpdir=${L_HELP} -f
MAKEFILE=       makefile
INSTALL_TARGET= install install-help
MAN1=       lynx.1

L_LIB=          ${PREFIX}/etc
L_HELP=         ${PREFIX}/share/lynx_help

post-install:
    ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
    ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg

.include <bsd.port.mk>