Lines 5-54
Link Here
|
5 |
# $FreeBSD: ports/www/dillo-i18n/Makefile,v 1.34 2006/03/07 08:27:45 ade Exp $ |
5 |
# $FreeBSD: ports/www/dillo-i18n/Makefile,v 1.34 2006/03/07 08:27:45 ade Exp $ |
6 |
# |
6 |
# |
7 |
# Tunables: |
7 |
# Tunables: |
|
|
8 |
# WITH_DILLO_SSL: enable experimental SSL support |
8 |
# WITH_DILLO_META-REFRESH: make dillo accept the meta-refresh tag |
9 |
# WITH_DILLO_META-REFRESH: make dillo accept the meta-refresh tag |
9 |
# WITHOUT_DILLO_TABS: disable support for tabbed browsing |
10 |
# WITHOUT_DILLO_TABS: disable support for tabbed browsing |
10 |
# WITHOUT_DILLO_ANTIALIAS: disable support for antialiased display |
11 |
# WITHOUT_DILLO_ANTIALIAS: disable support for antialiased display |
11 |
# |
12 |
# |
12 |
# Please see www/dillo for any general tunables not listed here. |
13 |
# TODO: |
13 |
# |
14 |
# SSL support is currently partly broken in this version of the i18n dillo: |
14 |
# XXX: |
15 |
# On FreeBSD 4 with OpenSSL 0.9.7d, the configure script uses checks that are |
15 |
# SSL support is currently broken in this version of the i18n patchset: |
16 |
# too strict. On FreeBSD 5 and 6 it seems to work OK. |
16 |
# On FreeBSD 4 with OpenSSL 0.9.7d, the configure script refuses to enable |
|
|
17 |
# ssl at all and on FreeBSD 5 and up, linking is broken. |
18 |
|
17 |
|
19 |
PORTREVISION= 2 |
18 |
PORTNAME= dillo |
|
|
19 |
PORTVERSION= ${DILLOVERSION}.${I18NVERSION} |
20 |
CATEGORIES= www ipv6 |
21 |
MASTER_SITES= http://teki.jpn.ph/pc/software/ |
20 |
PKGNAMESUFFIX= -i18n |
22 |
PKGNAMESUFFIX= -i18n |
|
|
23 |
DISTNAME= ${PORTNAME}-${DILLOVERSION}-i18n-misc-${I18NVERSION} |
21 |
|
24 |
|
22 |
PATCH_SITES= http://teki.jpn.ph/pc/software/ |
|
|
23 |
PATCHFILES= dillo-0.8.5-i18n-misc-20060105.diff.bz2 |
24 |
PATCH_DIST_STRIP= -p1 |
25 |
|
26 |
MAINTAINER= tmseck@netcologne.de |
25 |
MAINTAINER= tmseck@netcologne.de |
27 |
COMMENT= A fast, small graphical Web browser with support for i18n |
26 |
COMMENT= A fast, small graphical Web browser with support for i18n |
28 |
|
27 |
|
29 |
MD5_FILE= ${.CURDIR}/distinfo |
28 |
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget |
|
|
29 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ |
30 |
png.5:${PORTSDIR}/graphics/png |
30 |
|
31 |
|
31 |
MASTERDIR= ${.CURDIR}/../../www/dillo |
32 |
DILLOVERSION= 0.8.6 |
32 |
PKGDIR= ${.CURDIR} |
33 |
I18NVERSION= 20060516 |
33 |
PLIST_SUB= NLS="" |
|
|
34 |
|
34 |
|
|
|
35 |
USE_BZIP2= yes |
36 |
USE_GNOME= gnometarget gtk12 |
37 |
USE_GMAKE= yes |
38 |
GNU_CONFIGURE= yes |
39 |
CPPFLAGS+= -I${LOCALBASE}/include |
40 |
LDFLAGS+= -L${LOCALBASE}/lib |
41 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \ |
42 |
LDFLAGS="${LDFLAGS}" |
43 |
CONFIGURE_ARGS= --enable-cookies --enable-ipv6 --enable-threaded-dns \ |
44 |
--disable-dlgui \ |
45 |
--libdir=${PREFIX}/libexec |
46 |
|
35 |
CONFLICTS= dillo-[0-9].[0-9].[0-9]* |
47 |
CONFLICTS= dillo-[0-9].[0-9].[0-9]* |
36 |
|
48 |
|
37 |
.if !defined(WITHOUT_NLS) |
49 |
.if !defined(WITHOUT_NLS) |
38 |
USE_GETTEXT= yes |
50 |
USE_GETTEXT= yes |
39 |
PLIST_SUB= NLS="" |
51 |
PLIST_SUB= NLS="" |
|
|
52 |
CONFIGURE_ARGS+= --enable-nls |
40 |
.else |
53 |
.else |
41 |
# Unfortunately, this option does not work yet; the dpi plugins do not |
|
|
42 |
# build without NLS support anymore. |
43 |
# I leave this option in in case anyone really wants to fix this in the |
44 |
# i18n patch. |
45 |
PLIST_SUB= NLS="@comment " |
54 |
PLIST_SUB= NLS="@comment " |
46 |
CONFIGURE_ARGS+= --disable-nls |
55 |
CONFIGURE_ARGS+= --disable-nls |
47 |
IGNORE= does not build without NLS support |
|
|
48 |
.endif |
56 |
.endif |
49 |
|
57 |
|
50 |
.if defined(WITH_DILLO_SSL) |
58 |
.if defined(WITH_DILLO_SSL) |
51 |
IGNORE= does not build with SSL support |
59 |
# Note: the configure script will deactivate SSL support on 4.x systems. |
|
|
60 |
# This might get fixed someday so I activate this option unconditionally. |
61 |
CONFIGURE_ARGS+= --enable-ssl |
62 |
USE_OPENSSL= yes |
63 |
.else |
64 |
CONFIGURE_ARGS+= --disable-ssl |
52 |
.endif |
65 |
.endif |
53 |
|
66 |
|
54 |
.if defined(WITH_DILLO_META-REFRESH) |
67 |
.if defined(WITH_DILLO_META-REFRESH) |
Lines 70-76
Link Here
|
70 |
CONFIGURE_ARGS+= --disable-anti-alias |
83 |
CONFIGURE_ARGS+= --disable-anti-alias |
71 |
.endif |
84 |
.endif |
72 |
|
85 |
|
|
|
86 |
post-patch: |
87 |
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \ |
88 |
s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure |
89 |
@${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in |
90 |
@${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample |
91 |
|
73 |
pre-configure: |
92 |
pre-configure: |
|
|
93 |
.if !defined(WITH_DILLO_SSL) |
94 |
@${ECHO_CMD} "" |
95 |
@${ECHO_CMD} " Set WITH_DILLO_SSL=yes in your make environment or on the" |
96 |
@${ECHO_CMD} " commandline to enable experimental SSL support." |
97 |
.endif |
74 |
.if !defined(WITH_DILLO_META-REFRESH) |
98 |
.if !defined(WITH_DILLO_META-REFRESH) |
75 |
@${ECHO_CMD} "" |
99 |
@${ECHO_CMD} "" |
76 |
@${ECHO_CMD} " Set WITH_DILLO_META-REFRESH=yes in your make environment or on the" |
100 |
@${ECHO_CMD} " Set WITH_DILLO_META-REFRESH=yes in your make environment or on the" |
Lines 88-91
Link Here
|
88 |
.endif |
112 |
.endif |
89 |
@${ECHO_CMD} "" |
113 |
@${ECHO_CMD} "" |
90 |
|
114 |
|
91 |
.include "${MASTERDIR}/Makefile" |
115 |
.include <bsd.port.mk> |