aboutsummaryrefslogtreecommitdiff
path: root/www/lynx-current/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2007-05-25 02:42:07 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2007-05-25 02:42:07 +0000
commit75b87bbb6b825d75df8d69fc1241a9f8844c2c2b (patch)
treeb482a37b4c55a24ea7100f26435c33ca9d51bee3 /www/lynx-current/Makefile
parentcd3bf95a83da8cf62aa30ef30d2c28cb359caf56 (diff)
downloadports-75b87bbb6b825d75df8d69fc1241a9f8844c2c2b.tar.gz
ports-75b87bbb6b825d75df8d69fc1241a9f8844c2c2b.zip
Notes
Diffstat (limited to 'www/lynx-current/Makefile')
-rw-r--r--www/lynx-current/Makefile23
1 files changed, 10 insertions, 13 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index f9379098ce41..83774e5cb0ed 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= lynx
-PORTVERSION= 2.8.7d4
+PORTVERSION= 2.8.7d5
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
-DISTNAME= ${PORTNAME}2.8.7dev.4
+DISTNAME= ${PORTNAME}2.8.7dev.5
MAINTAINER= ache@FreeBSD.org
COMMENT= A non-graphical, text-based World-Wide Web client
@@ -18,13 +18,17 @@ RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7
USE_BZIP2= yes
+USE_ICONV= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
+CONFIGURE_ARGS= --with-screen=ncursesw --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-nls --with-bzlib \
- --enable-nested-tables --enable-locale-charset \
- --enable-scrollbar --enable-addrlist-page
+ --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
@@ -41,9 +45,7 @@ CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CC="${CC} -Ichrtrans -I${LOCALBASE}/include -Darc4random_push=" LDFLAGS="${LDFLAGS}" \
- LIBS=-lncurses
+CONFIGURE_ENV+= CC="${CC} -Ichrtrans"
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
INSTALL_TARGET= install-full
@@ -61,11 +63,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-post-patch:
- ${REINPLACE_CMD} \
- -e 's:/usr/local/lib/mosaic/mime\.types:${PREFIX}/etc/mime.types:' \
- ${WRKSRC}/lynx.cfg ${WRKSRC}/userdefs.h
-
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}