File:
[cvs.NetBSD.org] /
pkgsrc /
www /
lynx /
Makefile
Revision
1.137:
download - view:
text,
annotated -
select for diffs
Fri May 22 10:56:45 2020 UTC (4 years, 6 months ago) by
adam
Branches:
MAIN
CVS tags:
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
HEAD
revbump after updating security/nettle
# $NetBSD: Makefile,v 1.137 2020/05/22 10:56:45 adam Exp $
DISTNAME= lynx2.8.9rel.1
PKGNAME= ${DISTNAME:S/lynx/lynx-/:S/rel//}
PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= https://invisible-mirror.net/archives/lynx/tarballs/
MASTER_SITES+= ftp://ftp.cyf-kr.edu.pl/pub/unix/lynx/${SUBDIR:Q}/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://lynx.invisible-island.net/
COMMENT= Alphanumeric display oriented World-Wide Web Client
LICENSE= gnu-gpl-v2 # OpenSSL exception
# problem with WWW/Library/Implementation
MAKE_JOBS_SAFE= no
SUBDIR= current
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
BROKEN_GETTEXT_DETECTION= yes
INSTALL_TARGET= install-full
MAKE_FILE= makefile
CONFIGURE_ENV+= GZIP=${TOOLS_GZIP_CMD:Q}
CONFIGURE_ENV+= UNZIP=${TOOLS_PATH.unzip:Q}
USE_TOOLS+= gzip msgfmt msginit unzip:run
CONF_FILES+= share/examples/lynx/lynx.cfg ${PKG_SYSCONFDIR}/lynx.cfg
CONF_FILES+= share/examples/lynx/lynx.lss ${PKG_SYSCONFDIR}/lynx.lss
# But no dependency on Perl.
REPLACE_PERL+= samples/mailto-form.pl
CHECK_INTERPRETER_SKIP+= share/lynx/lynx_doc/samples/mailto-form.pl
.include "options.mk"
# For nls/gettext
CONFIGURE_ARGS+= --enable-nls
CONFIGURE_ARGS+= --with-nls-datadir=${PREFIX}/${PKGLOCALEDIR}
CONFIGURE_ARGS+= --without-included-gettext
# Note: --enable-{default-colors,scrollbar} are simply ignored
# for certain settings of --with-screen.
CONFIGURE_ARGS+= --with-screen=${SCREENTYPE:Q}
CONFIGURE_ARGS+= --enable-default-colors
CONFIGURE_ARGS+= --enable-scrollbar
# Install gzip'ed help files to ${PREFIX}/share/lynx
CONFIGURE_ARGS+= --datadir="${PREFIX}/share/lynx"
CONFIGURE_ARGS+= --enable-gzip-help --with-zlib
# Miscellaneous
CONFIGURE_ARGS+= --enable-externs
CONFIGURE_ARGS+= --enable-source-cache
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
# Experimental features
CONFIGURE_ARGS+= --enable-file-upload
CONFIGURE_ARGS+= --enable-justify-elts
CONFIGURE_ARGS+= --enable-kbd-layout
CONFIGURE_ARGS+= --enable-nested-tables
CONFIGURE_ARGS+= --enable-prettysrc
CONFIGURE_ARGS+= --enable-read-eta
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV+= BUILD_CC=${NATIVE_CC:Q}
.endif
CONFIGURE_ENV.SunOS+= cf_cv_xopen_source=no
.include "../../devel/gettext-tools/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>