blob: 848c526e1866f01dc4c3b3220889d35a37e32777 (
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
# Created by: Thomas-Martin Seck <tmseck@netcologne.de>
# $FreeBSD$
#
# Tunables:
# WITH_DILLO_SSL: enable experimental SSL support
# WITH_DILLO_META-REFRESH: make Dillo accept the meta-refresh tag
# WITHOUT_DILLO_TABS: disable support for tabbed browsing
# WITHOUT_DILLO_ANTIALIAS: disable support for antialiased display
# WITHOUT_DILLO_IPV6: disable IPv6 support
#
PORTNAME= dillo
PORTVERSION= ${DILLOVERSION}.${I18NVERSION}
PORTREVISION= 7
CATEGORIES= www ipv6
MASTER_SITES= http://teki.jpn.ph/pc/software/
PKGNAMESUFFIX= -i18n
DISTNAME= ${PORTNAME}-${DILLOVERSION}-i18n-misc-${I18NVERSION}
MAINTAINER= tmseck@FreeBSD.org
COMMENT= A fast, small graphical Web browser with support for i18n
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
DEPRECATED= dillo1 is no longer actively maintained. Please consider using www/dillo2 which has full UTF-8 support
EXPIRATION_DATE= 2013-06-30
DILLOVERSION= 0.8.6
I18NVERSION= 20060709
USE_BZIP2= yes
USE_GNOME= gtk12
USE_GMAKE= yes
USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --enable-cookies --enable-threaded-dns \
--libdir=${PREFIX}/libexec
CONFLICTS= dillo-[0-9].[0-9].[0-9]*
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB= NLS=""
CONFIGURE_ARGS+= --enable-nls
.else
PLIST_SUB= NLS="@comment "
CONFIGURE_ARGS+= --disable-nls
.endif
.if defined(WITH_DILLO_SSL)
CONFIGURE_ARGS+= --enable-ssl
USE_OPENSSL= yes
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
.if defined(WITH_DILLO_META-REFRESH)
CONFIGURE_ARGS+= --enable-meta-refresh
.else
CONFIGURE_ARGS+= --disable-meta-refresh
.endif
.if defined(WITHOUT_DILLO_TABS)
CONFIGURE_ARGS+= --disable-tabs
.else
CONFIGURE_ARGS+= --enable-tabs
.endif
.if !defined(WITHOUT_DILLO_ANTIALIAS)
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
CONFIGURE_ARGS+= --enable-anti-alias
.else
CONFIGURE_ARGS+= --disable-anti-alias
.endif
CONFIGURE_ARGS+= --disable-dlgui
.if !defined(WITHOUT_DILLO_IPV6) && !defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
post-patch:
@${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in
@${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
pre-configure:
.if !defined(WITH_DILLO_SSL)
@${ECHO_CMD} ""
@${ECHO_CMD} " Set WITH_DILLO_SSL=yes in your make environment or on the"
@${ECHO_CMD} " commandline to enable experimental SSL support."
.endif
.if !defined(WITH_DILLO_META-REFRESH)
@${ECHO_CMD} ""
@${ECHO_CMD} " Set WITH_DILLO_META-REFRESH=yes in your make environment or on the"
@${ECHO_CMD} " commandline to make Dillo respect the meta-refresh tag."
.endif
.if !defined(WITHOUT_DILLO_TABS)
@${ECHO_CMD} ""
@${ECHO_CMD} " Set WITHOUT_DILLO_TABS=yes in your make environment or on the"
@${ECHO_CMD} " commandline to disable support for tabbed browsing."
.endif
.if !defined(WITHOUT_DILLO_ANTIALIAS)
@${ECHO_CMD} ""
@${ECHO_CMD} " Set WITHOUT_DILLO_ANTIALIAS=yes in your make environment or on the"
@${ECHO_CMD} " commandline to disable support for antialiased fonts."
.endif
.if !defined(WITHOUT_DILLO_IPV6) && !defined(WITHOUT_IPV6)
@${ECHO_CMD} ""
@${ECHO_CMD} " Set WITHOUT_DILLO_IPV6=yes (or WITHOUT_IPV6=yes) in your make"
@${ECHO_CMD} " environment or on the commandline to disable IPv6 support."
.endif
@${ECHO_CMD} ""
.include <bsd.port.mk>
|