blob: 68a17f63e68b012c92c2117992042377958b426b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Created by: ache
# $FreeBSD$
PORTNAME= lynx
PORTVERSION= 2.8.9d16
CATEGORIES= www ipv6
MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \
ftp://invisible-island.net/lynx/tarballs/
PKGNAMESUFFIX= -current
DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pre./:S/d/dev./}
MAINTAINER= johans@FreeBSD.org
COMMENT= Non-graphical, text-based World-Wide Web client
LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support
CONFLICTS_INSTALL= lynx-2.8.[0-8].* ja-lynx-[0-9]*
WRKSRC= ${WRKDIR}/${DISTNAME}
USES= cpe iconv ncurses shebangfix ssl tar:bzip2
SHEBANG_FILES= samples/mailto-form.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --with-bzlib \
--enable-nested-tables --enable-default-colors \
--enable-addrlist-page \
--enable-gzip-help \
--enable-idna \
--enable-ipv6 \
--with-mime-libdir=${PREFIX}/etc \
${ICONV_CONFIGURE_ARG} \
--with-screen=ncursesw \
--with-ssl=${OPENSSLBASE}
CPE_VERSION= ${PORTVERSION:C/[pd].+//}
CPE_UPDATE= ${PORTVERSION:E:C/[0-9]+//:S/p/pre./:S/d/dev./}
MAKE_JOBS_UNSAFE= yes
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
INSTALL_TARGET= install-full
L_LIB= ${PREFIX}/etc
L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
DOCSDIR= ${L_DOC}
OPTIONS_DEFINE= IDN NLS DOCS
OPTIONS_DEFAULT=IDN
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
IDN_LIB_DEPENDS= libidn.so:dns/libidn
IDN_CONFIGURE_ENABLE= idna
post-patch:
${REINPLACE_CMD} -Ee 's/lynx\.(cfg|lss)\.default/lynx.\1.sample/g' \
-e '/SYSCONFDIR)\/lynx\.(cfg|lss)$$/d' ${WRKSRC}/makefile.in
.include <bsd.port.mk>
|