2007-07-10 16:06:51 +02:00
|
|
|
# New ports collection makefile for: lynx
|
|
|
|
# Date created: 15 Dec 1994
|
|
|
|
# Whom: Andrey Chernov <ache@FreeBSD.org>
|
1994-11-06 11:19:31 +01:00
|
|
|
#
|
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
|
2010-01-18 15:39:03 +01:00
|
|
|
PORTVERSION= 2.8.7.1
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 1
|
2007-04-28 05:49:23 +02:00
|
|
|
PORTEPOCH= 1
|
2002-04-02 18:04:24 +02:00
|
|
|
CATEGORIES= www ipv6
|
2010-01-18 15:39:03 +01:00
|
|
|
MASTER_SITES= ftp://lynx.isc.org/lynx${PORTVERSION}/patches/:patches
|
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
|
|
|
|
COMMENT= A 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 \
|
|
|
|
|
2009-06-03 00:30:28 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2008-07-02 16:57:56 +02:00
|
|
|
OPTIONS= SSL "SSL support" on \
|
2008-07-03 03:28:05 +02:00
|
|
|
DEFAULT_COLORS "Colors support" off \
|
|
|
|
IPV6 "IPv6 support" off \
|
|
|
|
NLS "Native language support" on
|
2008-07-02 16:57:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 602107 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033)
|
|
|
|
CONFIGURE_ARGS+= --with-screen=ncurses
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-screen=ncursesw
|
|
|
|
.endif
|
2007-07-05 04:24:14 +02:00
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
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
|
|
|
|
USE_GETTEXT= yes
|
2007-07-26 19:09:40 +02:00
|
|
|
USE_ICONV= yes
|
|
|
|
CONFIGURE_ARGS+=--enable-nls --with-libiconv-prefix="${LOCALBASE}"
|
2007-07-07 22:10:31 +02:00
|
|
|
PLIST_SUB+= NLS=''
|
2007-07-05 04:24:14 +02:00
|
|
|
.endif
|
|
|
|
|
2008-07-03 03:28:05 +02:00
|
|
|
.if defined(WITH_IPV6) && !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
|
|
|
|
|
|
|
|
.if defined(WITH_SSL)
|
|
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
2007-07-05 04:24:14 +02:00
|
|
|
.endif
|
2004-02-24 16:26:25 +01:00
|
|
|
|
2010-01-18 15:39:03 +01:00
|
|
|
.if defined(WITH_DEFAULT_COLORS)
|
2004-02-24 16:26:25 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-default-colors
|
|
|
|
.endif
|
|
|
|
|
2007-07-05 13:44:11 +02:00
|
|
|
MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
|
2001-01-16 18:33:20 +01:00
|
|
|
MAKEFILE= makefile
|
|
|
|
INSTALL_TARGET= install-full
|
1998-03-27 06:34:42 +01:00
|
|
|
MAN1= lynx.1
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
L_LIB= ${PREFIX}/etc
|
|
|
|
L_HELP= ${PREFIX}/share/lynx_help
|
1998-10-31 16:36:18 +01:00
|
|
|
|
2007-12-13 09:38:21 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2002-01-16 20:46:33 +01:00
|
|
|
post-patch:
|
2002-10-06 00:11:04 +02:00
|
|
|
@${RM} -f ${WRKSRC}/CHANGES.orig
|
2002-01-16 20:46:33 +01:00
|
|
|
|
1998-03-27 06:34:42 +01:00
|
|
|
post-install:
|
2004-02-12 16:57:05 +01:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
1999-08-22 21:01:07 +02:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
|
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg
|
1995-04-12 06:56:21 +02:00
|
|
|
|
2008-07-02 16:57:56 +02:00
|
|
|
.include <bsd.port.post.mk>
|