Lines 1-9
Link Here
|
1 |
# New ports collection makefile for: lynx |
1 |
# Created by: Andrey Chernov <ache@FreeBSD.org> |
2 |
# Date created: 15 Dec 1994 |
|
|
3 |
# Whom: Andrey Chernov <ache@FreeBSD.org> |
4 |
# |
5 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= lynx |
4 |
PORTNAME= lynx |
9 |
PORTVERSION= 2.8.7.2 |
5 |
PORTVERSION= 2.8.7.2 |
Lines 13-19
Link Here
|
13 |
DISTNAME= ${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E} |
9 |
DISTNAME= ${PORTNAME}${PORTVERSION:R}rel.${PORTVERSION:E} |
14 |
|
10 |
|
15 |
MAINTAINER= jharris@widomaker.com |
11 |
MAINTAINER= jharris@widomaker.com |
16 |
COMMENT= A non-graphical, text-based World-Wide Web client |
12 |
COMMENT= Non-graphical, text-based World-Wide Web client |
17 |
|
13 |
|
18 |
CONFLICTS= lynx-2.8.[8-9]* |
14 |
CONFLICTS= lynx-2.8.[8-9]* |
19 |
|
15 |
|
Lines 28-41
Link Here
|
28 |
|
24 |
|
29 |
MAKE_JOBS_UNSAFE= yes |
25 |
MAKE_JOBS_UNSAFE= yes |
30 |
|
26 |
|
31 |
OPTIONS= SSL "SSL support" on \ |
27 |
OPTIONS_DEFINE= DEFAULT_COLORS IPV6 NLS SSL |
32 |
DEFAULT_COLORS "Colors support" off \ |
28 |
OPTIONS_DEFAULT= SSL |
33 |
IPV6 "IPv6 support" off \ |
29 |
DEFAULT_COLORS_DESC= Colors support |
34 |
NLS "Native language support" on |
|
|
35 |
|
30 |
|
36 |
.include <bsd.port.pre.mk> |
31 |
.include <bsd.port.options.mk> |
37 |
|
32 |
|
38 |
.if defined(WITHOUT_NLS) |
33 |
.if empty(PORT_OPTIONS:MNLS) |
39 |
CONFIGURE_ARGS+=--disable-nls |
34 |
CONFIGURE_ARGS+=--disable-nls |
40 |
PLIST_SUB+= NLS='@comment ' |
35 |
PLIST_SUB+= NLS='@comment ' |
41 |
.else |
36 |
.else |
Lines 45-65
Link Here
|
45 |
PLIST_SUB+= NLS='' |
40 |
PLIST_SUB+= NLS='' |
46 |
.endif |
41 |
.endif |
47 |
|
42 |
|
48 |
.if defined(WITH_IPV6) && !defined(NO_INET6) |
43 |
.if ${PORT_OPTIONS:MIPV6} && !defined(NO_INET6) |
49 |
CONFIGURE_ARGS+=--enable-ipv6 |
44 |
CONFIGURE_ARGS+=--enable-ipv6 |
50 |
.else |
45 |
.else |
51 |
CONFIGURE_ARGS+=--disable-ipv6 |
46 |
CONFIGURE_ARGS+=--disable-ipv6 |
52 |
.endif |
47 |
.endif |
53 |
|
48 |
|
54 |
.if defined(WITH_SSL) |
49 |
.if ${PORT_OPTIONS:MSSL} |
55 |
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |
50 |
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} |
56 |
.endif |
51 |
.endif |
57 |
|
52 |
|
58 |
.if defined(WITH_DEFAULT_COLORS) |
53 |
.if ${PORT_OPTIONS:MDEFAULT_COLORS} |
59 |
CONFIGURE_ARGS+=--enable-default-colors |
54 |
CONFIGURE_ARGS+=--enable-default-colors |
60 |
.endif |
55 |
.endif |
61 |
|
56 |
|
62 |
.if defined(NOPORTDOCS) |
57 |
.if empty(PORT_OPTIONS:MDOCS) |
63 |
CONFIGURE_ARGS+=--disable-local-docs |
58 |
CONFIGURE_ARGS+=--disable-local-docs |
64 |
INSTALL_TARGET= install |
59 |
INSTALL_TARGET= install |
65 |
DOCSDIR= |
60 |
DOCSDIR= |
Lines 78-84
Link Here
|
78 |
SUB_FILES= pkg-message |
73 |
SUB_FILES= pkg-message |
79 |
|
74 |
|
80 |
post-install: |
75 |
post-install: |
81 |
.if defined(NOPORTDOCS) |
76 |
.if empty(PORT_OPTIONS:MDOCS) |
82 |
[ -f ${L_LIB}/lynx.cfg ] || ${INSTALL} ${L_LIB}/lynx.cfg.sample ${L_LIB}/lynx.cfg |
77 |
[ -f ${L_LIB}/lynx.cfg ] || ${INSTALL} ${L_LIB}/lynx.cfg.sample ${L_LIB}/lynx.cfg |
83 |
[ -f ${L_LIB}/lynx.lss ] || ${INSTALL} ${L_LIB}/lynx.lss.sample ${L_LIB}/lynx.lss |
78 |
[ -f ${L_LIB}/lynx.lss ] || ${INSTALL} ${L_LIB}/lynx.lss.sample ${L_LIB}/lynx.lss |
84 |
.else |
79 |
.else |
Lines 87-90
Link Here
|
87 |
.endif |
82 |
.endif |
88 |
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg |
83 |
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg |
89 |
|
84 |
|
90 |
.include <bsd.port.post.mk> |
85 |
.include <bsd.port.mk> |