1 # New ports collection makefile for: ja-lynx-current
2 # Date created: 10 August 1998
3 # Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
5 # $FreeBSD: japanese/lynx-current/Makefile 316662 2013-04-27 11:59:28Z mva $
9 DISTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
10 CATEGORIES= japanese www ipv6
11 MASTER_SITES= http://lynx.isc.org/current/ \
12 http://ftp2.uk.freebsd.org/sites/lynx.isc.org/current/
13 DISTNAME= ${PORTNAME}${VERSION}${MINOR_VERSION}
15 MAINTAINER= ports@FreeBSD.org
16 COMMENT= A terminal-based World-Wide Web Client with multi-byte modification (development version)
21 CONFLICTS= lynx-2.* ja-lynx-2.8.7.*
23 WRKSRC= ${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
27 CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
28 --enable-nsl-fork --enable-ipv6 \
29 --enable-cjk --enable-internal-links \
32 .if !defined(WITHOUT_JAPANESE_UTF8)
34 CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
35 --enable-japanese-utf8
37 CONFIGURE_ARGS+=--disable-japanese-utf8
40 .if !defined(WITHOUT_EXPERIMENTAL_OPTS)
41 # experimental optional configure args
42 CONFIGURE_ARGS+=--enable-addrlist-page \
43 --enable-charset-choice
46 .if defined(WITH_COLOR_STYLE)
47 CONFIGURE_ARGS+=--enable-color-style
48 PLIST_SUB+= WITH_COLOR_STYLE=""
50 CONFIGURE_ARGS+=--disable-color-style
51 PLIST_SUB+= WITH_COLOR_STYLE="@comment "
54 .if defined(WITH_DEFAULT_COLORS)
55 CONFIGURE_ARGS+=--enable-default-colors
57 CONFIGURE_ARGS+=--disable-default-colors
60 MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
64 .if !defined(NOPORTDOCS)
65 INSTALL_TARGET= install-full
67 INSTALL_TARGET= install install-help
71 L_HELP= ${PREFIX}/share/lynx_help
74 @${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \
78 .if !defined(NOPORTDOCS)
79 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
81 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
83 .include <bsd.port.mk>