summaryrefslogtreecommitdiff
path: root/japanese/lynx-current/Makefile
blob: 5f43300868bb366bed10629f9e262bec09317cc2 (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:	ja-lynx-current
# Version required:     2.8.2pre.5
# Date created:         10 August 1998
# Whom:                 Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
#
# $Id: Makefile,v 1.6 1999/02/28 09:09:48 shige Exp $
#

DISTNAME=	lynx2.8.2pre.5
PKGNAME=	ja-lynx-2.8.2.pre5
CATEGORIES=	japanese www
MASTER_SITES=	http://sol.slcc.edu/lynx/current/

MAINTAINER=	shige@FreeBSD.ORG

NO_LATEST_LINK=	YES
WRKSRC=		${WRKDIR}/lynx2-8-2
GNU_CONFIGURE=	YES
CONFIGURE_ARGS=	--with-screen=ncurses --with-zlib --libdir="${PREFIX}/etc" \
		--disable-nls --enable-default-colors \
		--enable-nsl-fork --enable-persistent-cookies
MAKEFILE=	makefile
INSTALL_TARGET=	install install-help
MAN1=		lynx.1

post-install:
	@${INSTALL_DATA} ${WRKSRC}/lynx.cfg ${PREFIX}/etc/lynx.cfg.sample
.if !defined(NOPORTDOCS)
	@(cd ${WRKSRC} ; make install-doc)
	@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/lynx
	@${INSTALL_DATA} ${WRKSRC}/lynx.cfg ${PREFIX}/share/doc/lynx/samples/
.endif
	@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/lynx_help

.include <bsd.port.mk>