aboutsummaryrefslogtreecommitdiffstats
path: root/www/lynx
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2007-07-05 10:24:14 +0800
committermi <mi@FreeBSD.org>2007-07-05 10:24:14 +0800
commit60054b4c4542b2db7472629c6fe1d3f9f7f251ec (patch)
tree3908f1f953539b455a894ab2454a881a9a6c9025 /www/lynx
parenta947e28506fb3a83331f4608219cf00267310b19 (diff)
downloadfreebsd-ports-gnome-60054b4c4542b2db7472629c6fe1d3f9f7f251ec.tar.gz
freebsd-ports-gnome-60054b4c4542b2db7472629c6fe1d3f9f7f251ec.tar.zst
freebsd-ports-gnome-60054b4c4542b2db7472629c6fe1d3f9f7f251ec.zip
Update from 2.8.6rel.4 to 2.8.6rel.5.
Use iconv, gettext (unless WITHOUT_NLS is set). Check the NO_INET6 knob (whether IPV6 is compiled into libc et al) and disable ipv6, if set. Make the lynx' release number (last digit) part of the PORTVERSION. Approved by: maintainer (without personal test)
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/Makefile23
-rw-r--r--www/lynx/distinfo6
2 files changed, 21 insertions, 8 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index cc2fe551d1a5..5dc2239693fa 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -6,13 +6,12 @@
#
PORTNAME= lynx
-PORTVERSION= 2.8.6
-PORTREVISION= 5
+PORTVERSION= 2.8.6.5
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/ \
ftp://lynx.isc.org/lynx${PORTVERSION}/patches/:patches
-DISTNAME= ${PORTNAME}${PORTVERSION}rel.4
+DISTNAME= ${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E}
MAINTAINER?= jharris@widomaker.com
COMMENT?= A non-graphical, text-based World-Wide Web client
@@ -20,17 +19,31 @@ COMMENT?= A non-graphical, text-based World-Wide Web client
CONFLICTS?= lynx-ssl* lynx-current*
USE_BZIP2= yes
+USE_ICONV= yes
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-6
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-persistent-cookies \
- --enable-ipv6 --with-curses-dir=/usr
+ --with-curses-dir=/usr --with-libiconv-prefix="${LOCALBASE}"
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=--disable-nls
+.else
+USE_GETTEXT= yes
+CONFIGURE_ARGS+=--enable-nls
+.endif
+
+.if defined(NO_INET6)
+CONFIGURE_ARGS+=--disable-ipv6
+.else
+CONFIGURE_ARGS+=--enable-ipv6
+.endif
.if defined(ENABLE_DEFAULT_COLORS)
CONFIGURE_ARGS+=--enable-default-colors
.endif
-MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
+MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR} #-j`${SYSCTL} -n hw.ncpu`
MAKEFILE= makefile
INSTALL_TARGET= install-full
MAN1= lynx.1
diff --git a/www/lynx/distinfo b/www/lynx/distinfo
index 5d0f03ba082d..531a04184644 100644
--- a/www/lynx/distinfo
+++ b/www/lynx/distinfo
@@ -1,3 +1,3 @@
-MD5 (lynx2.8.6rel.4.tar.bz2) = dc80497b7dda6a28fd80404684d27548
-SHA256 (lynx2.8.6rel.4.tar.bz2) = c7d876d52d08e4e593e8f3a04ba6d6c86685570828d1b7a16723702c7643c2a3
-SIZE (lynx2.8.6rel.4.tar.bz2) = 2291156
+MD5 (lynx2.8.6rel.5.tar.bz2) = bd44c57d28fd3e4c9db1cd492d403600
+SHA256 (lynx2.8.6rel.5.tar.bz2) = dc98c1725cc8c081bddc4ae7a6f065ce9bce5a017d626f62fc0c061ec0eb764d
+SIZE (lynx2.8.6rel.5.tar.bz2) = 2290787