aboutsummaryrefslogtreecommitdiff
path: root/japanese/lynx-current/Makefile
blob: ba8f8478f86e579587a58c87bd930d7b955a42a8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:	ja-lynx-current
# Version required:     2.8.3dev.16
# Date created:         10 August 1998
# Whom:                 Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# $FreeBSD$
#

DISTNAME=	lynx2.8.3dev.16
PKGNAME=	ja-lynx-2.8.3dev.16
CATEGORIES=	japanese www
MASTER_SITES=	${MASTER_SITE_PORTS_JP} \
		http://people.FreeBSD.org/~shige/ports/distfiles/ \
		http://sol.slcc.edu/lynx/current/

MAINTAINER=	shige@FreeBSD.org

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

USE_BZIP2=	YES
NO_LATEST_LINK=	YES
WRKSRC=		${WRKDIR}/lynx2-8-3
GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--with-screen=ncurses --with-zlib \
		--libdir="${PREFIX}/${LYNX_LIB}" \
		--disable-nls --enable-default-colors \
		--enable-nsl-fork --enable-persistent-cookies \
		--enable-cjk --enable-file-upload --enable-justify-elts \
		--enable-libjs --enable-read-eta --enable-source-cache
# experimental optional configure args
#   --enable-prettysrc --enable-color-style
#
MAKEFILE=	makefile
MAKE_ARGS=	helpdir=${PREFIX}/${LYNX_HELP} docdir=${PREFIX}/${LYNX_DOC}
PLIST_SUB=	LYNX_LIB=${LYNX_LIB} LYNX_DOC=${LYNX_DOC} LYNX_HELP=${LYNX_HELP}

INSTALL_TARGET=	install-full
MAN1=		lynx.1

LYNX_LIB=	etc
LYNX_DOC=	share/doc/lynx
LYNX_HELP=	share/lynx_help

post-install:
	@/usr/sbin/chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${LYNX_DOC}
	@/usr/sbin/chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${LYNX_HELP}
	@/usr/sbin/chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${LYNX_LIB}/lynx.cfg

.include <bsd.port.mk>