1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/japanese/lynx/Makefile
Akinori MUSHA edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00

52 lines
1.4 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://sol.slcc.edu/lynx/current/
DISTNAME= ${PORTNAME}${VERSION}${MINOR_VERSION}
MAINTAINER= shige@FreeBSD.org
FORBIDDEN= "Riddled with buffer overflows exploitable by a malicious server to execute code as the local user."
WRKSRC= ${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
VERSION= 2.8.2
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
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>