summaryrefslogtreecommitdiff
path: root/japanese/lynx/Makefile
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-22 13:49:46 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-22 13:49:46 +0000
commit1f9b8ecf89821410cb3155c4da8d1c83009d88b5 (patch)
tree9e0f067f85fd7354a41514f7d7122be27201064f /japanese/lynx/Makefile
parent- Update to 2.8.8.dev3 (diff)
- Update to 2.8.7.rel1
- Add a patch to correct the japanese character encoding of FORM input data. - Rename ENABLE_FOO tabs to WITH_FOO PR: ports/147221 Submitted by: WATANABE Kazuhiro <CQG00620 AT nifty.ne.jp>
Notes
Notes: svn path=/head/; revision=259738
Diffstat (limited to 'japanese/lynx/Makefile')
-rw-r--r--japanese/lynx/Makefile29
1 files changed, 20 insertions, 9 deletions
diff --git a/japanese/lynx/Makefile b/japanese/lynx/Makefile
index 55f3197fdb7a..2ed87b78537f 100644
--- a/japanese/lynx/Makefile
+++ b/japanese/lynx/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lynx
-PORTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
+DISTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
CATEGORIES= japanese www ipv6
MASTER_SITES= http://lynx.isc.org/current/ \
http://ftp2.uk.freebsd.org/sites/lynx.isc.org/current/
@@ -15,28 +15,39 @@ DISTNAME= ${PORTNAME}${VERSION}${MINOR_VERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A terminal-based World-Wide Web Client with multi-byte modification
-VERSION= 2.8.6
-MINOR_VERSION= rel.5
+VERSION= 2.8.7
+MINOR_VERSION= rel.1
-CONFLICTS= lynx-2.* ja-lynx-2.8.7.*
+CONFLICTS= lynx-2.* ja-lynx-2.8.8.*
WRKSRC= ${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-ipv6 \
- --enable-cjk --enable-justify-elts --enable-internal-links \
+ --enable-cjk --enable-internal-links \
--with-bzlib
-.if defined(ENABLE_COLOR_STYLE)
-PLIST_SUB+= ENABLE_COLOR_STYLE=""
+.if !defined(WITHOUT_JAPANESE_UTF8)
+USE_ICONV= yes
+CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
+ --enable-japanese-utf8
+.else
+CONFIGURE_ARGS+=--disable-japanese-utf8
+.endif
+
+.if defined(WITH_COLOR_STYLE)
+CONFIGURE_ARGS+=--enable-color-style
+PLIST_SUB+= WITH_COLOR_STYLE=""
.else
CONFIGURE_ARGS+=--disable-color-style
-PLIST_SUB+= ENABLE_COLOR_STYLE="@comment "
+PLIST_SUB+= WITH_COLOR_STYLE="@comment "
.endif
-.if defined(ENABLE_DEFAULT_COLORS)
+.if defined(WITH_DEFAULT_COLORS)
CONFIGURE_ARGS+=--enable-default-colors
+.else
+CONFIGURE_ARGS+=--disable-default-colors
.endif
MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}