1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/www/lynx/Makefile
John Marino 65fb29f829 www/lynx: USES-= gettext
I'm not sure why I committed this second USES+=gettext with the last
commit.  It's not correct so I'm backing it out.

Reported by:	girgen@
2016-02-17 21:05:42 +00:00

72 lines
1.7 KiB
Makefile

# Created by: Andrey Chernov <ache@FreeBSD.org>
# $FreeBSD$
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 <bsd.port.options.mk>
.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 <bsd.port.mk>