1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/lynx/Makefile
2000-07-13 09:38:57 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: ja-lynx
# Date created: 10 August 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lynx
PORTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
CATEGORIES= japanese www
MASTER_SITES= http://lynx.isc.org/current/
DISTNAME= ${PORTNAME}${VERSION}${MINOR_VERSION}
MAINTAINER= shige@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
VERSION= 2.8.3
MINOR_VERSION= rel.1
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 \
--enable-cjk
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>