1994-11-06 11:19:31 +01:00
|
|
|
# New ports collection makefile for: lynx
|
1994-12-17 02:34:33 +01:00
|
|
|
# Date created: 15 Dec 1994
|
1994-11-06 11:19:31 +01:00
|
|
|
# Whom: ache
|
|
|
|
#
|
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
|
2011-03-02 07:46:57 +01:00
|
|
|
PORTVERSION= 2.8.8d8
|
2011-03-14 09:40:06 +01:00
|
|
|
PORTREVISION= 1
|
2004-07-10 23:02:54 +02:00
|
|
|
CATEGORIES= www ipv6
|
2001-01-16 18:33:20 +01:00
|
|
|
MASTER_SITES= http://lynx.isc.org/current/
|
2011-03-02 07:46:57 +01:00
|
|
|
DISTNAME= ${PORTNAME}2.8.8dev.8
|
1997-08-13 08:40:44 +02:00
|
|
|
|
2005-06-11 02:08:37 +02:00
|
|
|
MAINTAINER= ache@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A non-graphical, text-based World-Wide Web client
|
1997-08-13 08:40:44 +02:00
|
|
|
|
2011-03-14 09:40:06 +01:00
|
|
|
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn
|
2006-11-14 15:24:52 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
|
|
|
|
|
2010-03-26 09:52:50 +01:00
|
|
|
CONFLICTS= lynx-2.8.[0-7].*
|
2007-09-17 05:05:26 +02:00
|
|
|
|
2010-03-26 09:52:50 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-8
|
2001-01-16 18:33:20 +01:00
|
|
|
USE_BZIP2= yes
|
2007-05-25 04:42:07 +02:00
|
|
|
USE_ICONV= yes
|
2001-01-16 18:33:20 +01:00
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-05-28 00:00:02 +02:00
|
|
|
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
|
2010-03-26 09:52:50 +01:00
|
|
|
--enable-nsl-fork --with-bzlib \
|
2007-05-25 04:42:07 +02:00
|
|
|
--enable-nested-tables --enable-default-colors \
|
2010-03-26 09:52:50 +01:00
|
|
|
--enable-addrlist-page \
|
2007-05-25 04:42:07 +02:00
|
|
|
--enable-gzip-help \
|
2010-03-26 09:52:50 +01:00
|
|
|
--enable-idna \
|
|
|
|
--enable-ipv6 \
|
2007-05-25 04:42:07 +02:00
|
|
|
--with-mime-libdir=${PREFIX}/etc \
|
|
|
|
--with-libiconv-prefix=${LOCALBASE}
|
2009-11-20 23:53:09 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2001-06-09 21:55:14 +02:00
|
|
|
|
|
|
|
.ifndef NO_OPENSSL
|
2004-07-10 23:02:54 +02:00
|
|
|
USE_OPENSSL= yes
|
2001-06-09 21:55:14 +02:00
|
|
|
.endif
|
2000-09-13 22:51:06 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-06-14 20:18:09 +02:00
|
|
|
.if ${OSVERSION} < 602107 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033)
|
2007-05-28 01:00:50 +02:00
|
|
|
CONFIGURE_ARGS+= --with-screen=ncurses
|
2007-06-14 20:18:09 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-screen=ncursesw
|
2007-05-28 01:00:50 +02:00
|
|
|
.endif
|
|
|
|
|
2001-06-09 21:55:14 +02:00
|
|
|
.ifdef USE_OPENSSL
|
2004-07-10 23:02:54 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
|
2001-06-09 21:55:14 +02:00
|
|
|
.endif
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
|
|
|
|
MAKEFILE= makefile
|
|
|
|
INSTALL_TARGET= install-full
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN1= lynx.1
|
1995-04-12 06:56:21 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
L_LIB= ${PREFIX}/etc
|
|
|
|
L_DOC= ${PREFIX}/share/doc/lynx
|
|
|
|
L_HELP= ${PREFIX}/share/lynx_help
|
1998-10-19 21:22:13 +02:00
|
|
|
|
2004-07-10 23:02:54 +02:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
2010-03-26 09:52:50 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-nls
|
2004-07-10 23:02:54 +02:00
|
|
|
.else
|
2010-03-26 09:52:50 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
2004-07-10 23:02:54 +02:00
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
1998-03-08 13:19:36 +01:00
|
|
|
post-install:
|
1999-08-22 21:01:07 +02:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
|
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
|
2010-03-26 09:52:50 +01:00
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg* ${L_LIB}/lynx.lss*
|
1998-03-08 13:19:36 +01:00
|
|
|
|
2000-09-13 22:51:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|