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
|
2007-05-25 04:42:07 +02:00
|
|
|
PORTVERSION= 2.8.7d5
|
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/
|
2007-05-25 04:42:07 +02:00
|
|
|
DISTNAME= ${PORTNAME}2.8.7dev.5
|
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
|
|
|
|
2006-11-14 15:24:52 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
|
|
|
|
|
2006-11-10 22:38:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7
|
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
|
2005-04-12 05:26:56 +02:00
|
|
|
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2007-05-25 04:42:07 +02:00
|
|
|
CONFIGURE_ARGS= --with-screen=ncursesw --with-zlib --libdir="${L_LIB}" \
|
2004-01-11 18:17:05 +01:00
|
|
|
--enable-nsl-fork --enable-nls --with-bzlib \
|
2007-05-25 04:42:07 +02:00
|
|
|
--enable-nested-tables --enable-default-colors \
|
|
|
|
--enable-scrollbar --enable-addrlist-page \
|
|
|
|
--enable-gzip-help \
|
|
|
|
--with-mime-libdir=${PREFIX}/etc \
|
|
|
|
--with-libiconv-prefix=${LOCALBASE}
|
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>
|
|
|
|
|
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
|
|
|
|
|
2000-12-03 17:49:49 +01:00
|
|
|
.if ${OSVERSION} >= 400014
|
2004-07-10 23:02:54 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
2000-12-03 17:49:49 +01:00
|
|
|
.else
|
2004-07-10 23:02:54 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
2000-12-03 17:49:49 +01:00
|
|
|
.endif
|
2007-05-25 04:42:07 +02:00
|
|
|
CONFIGURE_ENV+= CC="${CC} -Ichrtrans"
|
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=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
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}
|
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg
|
1998-03-08 13:19:36 +01:00
|
|
|
|
2000-09-13 22:51:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|