aboutsummaryrefslogtreecommitdiffstats
path: root/www/lynx-current/Makefile
blob: 1e4a47539389940f903d39c1d180b2711b10d972 (plain) (blame)
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
# Created by: ache
# $FreeBSD$

PORTNAME=   lynx
PORTVERSION=    2.8.8p5
PORTREVISION=   1
PKGNAMESUFFIX=  -current
CATEGORIES= www ipv6
MASTER_SITES=   http://lynx.isc.org/current/
DISTNAME=   ${PORTNAME}${PORTVERSION:S/p/pre./}

MAINTAINER= johans@FreeBSD.org
COMMENT=    Non-graphical, text-based World-Wide Web client

RUN_DEPENDS=    ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support

CONFLICTS_INSTALL=  lynx-2.8.[0-7].* ja-lynx-[0-9]*

WRKSRC=     ${WRKDIR}/${DISTNAME:S/./-/g:C/p.*//}
USES=       iconv shebangfix tar:bzip2
USE_OPENSSL=    yes
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}

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 NLS
OPTIONS_SUB=    yes

NLS_USES=   gettext
NLS_CONFIGURE_ENABLE=   nls

IDN_LIB_DEPENDS=    libidn.so:${PORTSDIR}/dns/libidn
IDN_CONFIGURE_ENABLE=   idna

.include <bsd.port.mk>