summaryrefslogtreecommitdiff
path: root/japanese/lynx/Makefile
blob: 9e83307e1b04aa39d87c7fc567998345a9316d25 (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
# New ports collection makefile for:	ja-lynx
# Version required:     2.8.2 release 1
# Date created:         10 August 1998
# Whom:                 Shigeyuki FUKUSHIMA <shige@FreeBSD.ORG>
#
# $Id: Makefile,v 1.5 1999/07/05 03:26:49 asami Exp $
#

DISTNAME=       lynx2.8.2rel.1
PKGNAME=        ja-lynx-2.8.2.rel1
CATEGORIES=	japanese www
MASTER_SITES=   http://sol.slcc.edu/lynx/current/

MAINTAINER=	shige@FreeBSD.ORG

WRKSRC=		${WRKDIR}/lynx2-8-2

USE_BZIP2?=	YES
GNU_CONFIGURE=  YES
CONFIGURE_ARGS= --with-screen=ncurses --with-zlib \
		--libdir="${PREFIX}/${L_ETCDIR}" \
		--enable-nsl-fork --enable-defaults-colors --enable-prettysrc \
		--enable-persistent-cookies --enable-gzip-help
MAKEFILE=       makefile
MAKE_ARGS=	DOCDIR=${PREFIX}/${L_DOCDIR} HELPDIR=${PREFIX}/${L_HELPDIR}
PLIST_SUB=	DOCDIR=${L_DOCDIR} HELPDIR=${L_HELPDIR} \
		HELPFILE_SUFFIX=${HELPFILE_SUFFIX}
INSTALL_TARGET= install install-help
MAN1=		lynx.1

RUN_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip \
		zip:${PORTSDIR}/archivers/zip

L_ETCDIR=	etc
L_DOCDIR=	share/doc/lynx
L_HELPDIR=	share/lynx_help
HELPFILE_SUFFIX= .gz

post-install:
.if !defined(NOPORTDOCS)
	@(cd ${WRKSRC} ; make install-doc)
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${L_DOCDIR}
.endif
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${L_HELPDIR}

.include <bsd.port.mk>