2013-04-22 15:20:59 +02:00
|
|
|
# Created by: Andrey Chernov <ache@FreeBSD.org>
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1994-11-06 11:19:31 +01:00
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= lynx
|
2012-03-21 15:50:15 +01:00
|
|
|
PORTVERSION= 2.8.7.2
|
2007-04-28 05:49:23 +02:00
|
|
|
PORTEPOCH= 1
|
2002-04-02 18:04:24 +02:00
|
|
|
CATEGORIES= www ipv6
|
2012-03-21 15:50:15 +01:00
|
|
|
MASTER_SITES= http://lynx.isc.org/current/
|
2007-07-05 04:24:14 +02:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E}
|
2005-10-30 23:16:45 +01:00
|
|
|
|
2007-07-10 16:06:51 +02:00
|
|
|
MAINTAINER= jharris@widomaker.com
|
2013-04-22 15:20:59 +02:00
|
|
|
COMMENT= Non-graphical, text-based World-Wide Web client
|
1997-12-02 01:24:34 +01:00
|
|
|
|
2010-01-18 15:39:03 +01:00
|
|
|
CONFLICTS= lynx-2.8.[8-9]*
|
2004-02-12 16:57:05 +01:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
USE_BZIP2= yes
|
2007-07-10 16:06:51 +02:00
|
|
|
USE_OPENSSL= yes
|
2010-01-18 15:39:03 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7
|
2001-01-16 18:33:20 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2008-07-02 16:57:56 +02:00
|
|
|
CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" \
|
2007-12-13 09:38:21 +01:00
|
|
|
--enable-nsl-fork --enable-persistent-cookies \
|
2008-07-02 16:57:56 +02:00
|
|
|
--enable-nested-tables --enable-gzip-help \
|
2012-03-02 15:56:37 +01:00
|
|
|
--with-screen=ncursesw
|
2008-07-02 16:57:56 +02:00
|
|
|
|
2009-06-03 00:30:28 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
OPTIONS_DEFINE= DEFAULT_COLORS IPV6 NLS SSL
|
|
|
|
OPTIONS_DEFAULT= SSL
|
|
|
|
DEFAULT_COLORS_DESC= Colors support
|
2008-07-02 16:57:56 +02:00
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-07-02 16:57:56 +02:00
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MNLS)
|
2007-07-05 04:24:14 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
2007-07-07 22:10:31 +02:00
|
|
|
PLIST_SUB+= NLS='@comment '
|
2007-07-05 04:24:14 +02:00
|
|
|
.else
|
2013-04-27 20:25:24 +02:00
|
|
|
USES+= gettext iconv
|
2013-09-04 22:01:05 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-nls ${ICONV_CONFIGURE_ARG}
|
2007-07-07 22:10:31 +02:00
|
|
|
PLIST_SUB+= NLS=''
|
2007-07-05 04:24:14 +02:00
|
|
|
.endif
|
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MIPV6} && !defined(NO_INET6)
|
2007-07-05 04:24:14 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-ipv6
|
2008-07-02 16:57:56 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MSSL}
|
2008-07-02 16:57:56 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
2007-07-05 04:24:14 +02:00
|
|
|
.endif
|
2004-02-24 16:26:25 +01:00
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEFAULT_COLORS}
|
2004-02-24 16:26:25 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-default-colors
|
|
|
|
.endif
|
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.if empty(PORT_OPTIONS:MDOCS)
|
2012-03-21 15:50:15 +01:00
|
|
|
CONFIGURE_ARGS+=--disable-local-docs
|
|
|
|
INSTALL_TARGET= install
|
|
|
|
DOCSDIR=
|
|
|
|
L_HELP=
|
|
|
|
.else
|
|
|
|
INSTALL_TARGET= install-full
|
|
|
|
L_HELP= ${PREFIX}/share/lynx_help
|
2007-07-05 13:44:11 +02:00
|
|
|
MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
|
2012-03-21 15:50:15 +01:00
|
|
|
.endif
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAKEFILE= makefile
|
1998-03-27 06:34:42 +01:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
L_LIB= ${PREFIX}/etc
|
1998-10-31 16:36:18 +01:00
|
|
|
|
2007-12-13 09:38:21 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
1998-03-27 06:34:42 +01:00
|
|
|
post-install:
|
2014-02-18 20:41:13 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
# Fix some stage symlinks
|
|
|
|
${LN} -sf ${DOCSDIR}/COPYHEADER ${STAGEDIR}${L_HELP}
|
|
|
|
${LN} -sf ${DOCSDIR}/COPYING ${STAGEDIR}${L_HELP}
|
2012-03-21 15:50:15 +01:00
|
|
|
.endif
|
1995-04-12 06:56:21 +02:00
|
|
|
|
2013-04-22 15:20:59 +02:00
|
|
|
.include <bsd.port.mk>
|