1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Register conflict with japanese/lynx

- Use new style OPTIONS
This commit is contained in:
Johan van Selst 2012-06-15 10:36:45 +00:00
parent 26282da30c
commit ffcd529c2a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299336

View File

@ -15,17 +15,18 @@ DISTNAME= ${PORTNAME}2.8.8dev.12
MAINTAINER= johans@FreeBSD.org
COMMENT= A non-graphical, text-based World-Wide Web client
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn
LIB_DEPENDS= idn:${PORTSDIR}/dns/libidn
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
CONFLICTS= lynx-2.8.[0-7].*
CONFLICTS= lynx-2.8.[0-7].* ja-lynx-[0-9]*
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-8
USE_BZIP2= yes
USE_ICONV= yes
USE_OPENSSL= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --with-bzlib \
--enable-nested-tables --enable-default-colors \
--enable-addrlist-page \
@ -34,19 +35,12 @@ CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--enable-ipv6 \
--with-mime-libdir=${PREFIX}/etc \
--with-libiconv-prefix=${LOCALBASE} \
--with-screen=ncursesw
--with-screen=ncursesw \
--with-ssl=${OPENSSLBASE}
MAKE_JOBS_UNSAFE= yes
.ifndef NO_OPENSSL
USE_OPENSSL= yes
.endif
.include <bsd.port.pre.mk>
.ifdef USE_OPENSSL
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
.include <bsd.port.options.mk>
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
@ -57,7 +51,7 @@ L_LIB= ${PREFIX}/etc
L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
.if !defined(WITHOUT_NLS)
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
CONFIGURE_ARGS+= --enable-nls
@ -71,4 +65,4 @@ post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg* ${L_LIB}/lynx.lss*
.include <bsd.port.post.mk>
.include <bsd.port.mk>