# New ports collection makefile for: lynx # Date created: 15 Dec 1994 # Whom: ache # # $FreeBSD$ # PORTNAME= lynx PORTVERSION= 2.8.7d9 PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= http://lynx.isc.org/current/ DISTNAME= ${PORTNAME}2.8.7dev.9 MAINTAINER= ache@FreeBSD.org COMMENT= A non-graphical, text-based World-Wide Web client RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support CONFLICTS= lynx-2.8.[0-6].* WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7 USE_BZIP2= yes USE_ICONV= yes NO_LATEST_LINK= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \ --enable-nsl-fork --enable-nls --with-bzlib \ --enable-nested-tables --enable-default-colors \ --enable-scrollbar --enable-addrlist-page \ --enable-gzip-help \ --with-mime-libdir=${PREFIX}/etc \ --with-libiconv-prefix=${LOCALBASE} .ifndef NO_OPENSSL USE_OPENSSL= yes .endif .include .if ${OSVERSION} < 602107 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033) CONFIGURE_ARGS+= --with-screen=ncurses .else CONFIGURE_ARGS+= --with-screen=ncursesw .endif .ifdef USE_OPENSSL CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} .endif CONFIGURE_ARGS+=--enable-ipv6 MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f MAKEFILE= makefile INSTALL_TARGET= install-full MAN1= lynx.1 L_LIB= ${PREFIX}/etc L_DOC= ${PREFIX}/share/doc/lynx L_HELP= ${PREFIX}/share/lynx_help .if !defined(WITHOUT_NLS) USE_GETTEXT= yes PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC} ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP} ${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg .include