1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/japanese/lynx-current/Makefile
Raphael Kubo da Costa b3a281dec2 Update to 2.8.9dev.8.
* Remove "--enable-addrlist-page" from EXPERIMENTAL_OPTS_CONFIGURE_ON.
  It has been enabled by default since 2.8.8dev.9.

* Remove files/patch-src-GridText.c.
  It has been merged officially since 2.8.8dev.9.

* Correct the CPE information.

* Make Makefile to have the same style as japanese/lynx.

PR:		206571
Submitted by:	WATANABE Kazuhiro <CQG00620@nifty.ne.jp> (maintainer)
2016-03-03 17:10:38 +00:00

62 lines
1.9 KiB
Makefile

# Created by: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
# $FreeBSD$
PORTNAME= lynx
DISTVERSION= ${VERSION}.${MINOR_VERSION:S/.//}
CATEGORIES= japanese www ipv6
MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/
DISTNAME= ${PORTNAME}${VERSION}${MINOR_VERSION}
PKGNAMESUFFIX= -current
MAINTAINER= CQG00620@nifty.ne.jp
COMMENT= Console WWW client (browser) with multi-byte encoding support (development release)
LICENSE= GPLv2
VERSION= 2.8.9
MINOR_VERSION= dev.8
CONFLICTS= lynx-2.* ja-lynx-2.8.8.*
USES= cpe ncurses shebangfix tar:bzip2
SHEBANG_FILES= samples/mailto-form.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-ipv6 \
--enable-cjk --enable-internal-links \
--with-bzlib
MAKE_ARGS= helpdir=${L_HELP} docdir=${DOCSDIR}
MAKEFILE= makefile
INSTALL_TARGET= install-full
CPE_VERSION= ${PORTVERSION:R}
CPE_UPDATE= ${PORTVERSION:E:S/p/pre./:S/d/dev./}
L_LIB= ${PREFIX}/etc
L_HELP= ${PREFIX}/share/lynx_help
OPTIONS_DEFINE= COLOR_STYLE DEFAULT_COLORS DOCS JAPANESE_UTF8 EXPERIMENTAL_OPTS
OPTIONS_DEFAULT=JAPANESE_UTF8 EXPERIMENTAL_OPTS
OPTIONS_SUB= yes
COLOR_STYLE_DESC= Optional color style support
COLOR_STYLE_CONFIGURE_ENABLE= color-style
DEFAULT_COLORS_DESC= Default-color background support (ncurses)
DEFAULT_COLORS_CONFIGURE_ENABLE=default-colors
EXPERIMENTAL_OPTS_DESC= Use experimental options
EXPERIMENTAL_OPTS_CONFIGURE_ON= --enable-charset-choice --enable-nested-tables
JAPANESE_UTF8_DESC= Experimental Japanese UTF-8 logic support
JAPANESE_UTF8_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
JAPANESE_UTF8_CONFIGURE_ENABLE= japanese-utf8
JAPANESE_UTF8_USES= iconv
# Change "cd foo && $(MAKE_RECUR)" into "$(MAKE_RECUR) -C foo" to unbreak
# parallel builds
post-patch:
@${REINPLACE_CMD} -E 's|cd (.+) && (\$$\(MAKE_RECUR\))|\2 -C \1|' \
${WRKSRC}/${MAKEFILE}.in
.include <bsd.port.mk>