# Created by: Andrey Chernov # $FreeBSD: head/www/lynx/Makefile 409071 2016-02-17 21:05:42Z marino $ PORTNAME= lynx PORTVERSION= 2.8.8.2 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \ http://bitrote.org/distfiles/ DISTNAME= ${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E} MAINTAINER= jharris@widomaker.com COMMENT= Non-graphical, text-based World-Wide Web client LICENSE= GPLv2 CONFLICTS= lynx-2.8.[8-9]d* USES= cpe ncurses shebangfix tar:bzip2 SHEBANG_FILES= samples/mailto-form.pl USE_OPENSSL= yes WRKSRC= ${WRKDIR}/${PORTNAME}2-8-8 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" \ --enable-nsl-fork --enable-persistent-cookies \ --enable-nested-tables --enable-gzip-help \ --with-screen=ncursesw CPE_VERSION= ${PORTVERSION:R} CPE_UPDATE= rel.${PORTVERSION:E} MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DEFAULT_COLORS IPV6 NLS SSL DOCS OPTIONS_DEFAULT= SSL DEFAULT_COLORS_DESC= Colors support OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} IPV6_CONFIGURE_ENABLE= ipv6 DEFAULT_COLORS_CONFIGURE_ENABLE= default-colors DOCS_CONFIGURE_ENABLE= local-docs DOCS_INSTALL_TARGET= install-full DOCS_MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR} L_HELP= ${PREFIX}/share/lynx_help .include .if ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .endif MAKEFILE= makefile L_LIB= ${PREFIX}/etc SUB_FILES= pkg-message post-install: # Fix some stage symlinks ${LN} -sf ${DOCSDIR}/COPYHEADER ${STAGEDIR}${L_HELP} ${LN} -sf ${DOCSDIR}/COPYING ${STAGEDIR}${L_HELP} ${LN} -sf ${DOCSDIR}/COPYHEADER.asc ${STAGEDIR}${L_HELP} ${LN} -sf ${DOCSDIR}/COPYING.asc ${STAGEDIR}${L_HELP} .include