blob: fd06a87a0c409b736dfcb650b6d73f0e94ca22ce (
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
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/www/epiphany/Makefile,v 1.246 2011/04/30 20:43:27 mezz Exp $
PORTNAME= epiphany
PORTVERSION= 2.30.6
PORTREVISION?= 3
CATEGORIES= www gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT?= Extremely lightweight and simple web browser for GNOME 2
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \
webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2 \
soup-gnome-2.4:${PORTSDIR}/devel/libsoup-gnome \
notify:${PORTSDIR}/devel/libnotify \
gnome-keyring:${PORTSDIR}/security/libgnome-keyring
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss \
${LOCALBASE}/share/icons/HighContrastLargePrint/index.theme:${PORTSDIR}/x11-themes/gnome-themes
CONFLICTS= epiphany-3.[0-9]*
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_PYTHON= yes
USES= desktop-file-utils gettext pathfix gmake pkgconfig
USE_GNOME= gnomeprefix intlhack gnomedesktop
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
CONFIGURE_ARGS+=--enable-introspection \
--enable-compile-warnings=no \
--with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -pthread ${EXTRA_LIBS}"
CPPFLAGS+= -I${LOCALBASE}/include ${EXTRA_CFLAGS}
GCONF_SCHEMAS= epiphany-lockdown.schemas epiphany.schemas
PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}"
MAN1= epiphany.1
OPTIONS_DEFINE= NSS SPELLCHECK SEED
OPTIONS_DEFAULT=NSS SPELLCHECK
NSS_DESC= Import passwords from 2.26 and older on first run
SPELLCHECK_DESC=Enable spell checking by default
SEED_DESC= Seed (JavaScript) support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNSS}
LIB_DEPENDS+= nss3:${PORTSDIR}/security/nss
CONFIGURE_ARGS+=--enable-nss
.else
CONFIGURE_ARGS+=--disable-nss
.endif
.if ${PORT_OPTIONS:MSEED}
LIB_DEPENDS+= seed:${PORTSDIR}/devel/seed
CONFIGURE_ARGS+=--enable-seed
.endif
.if ${PORT_OPTIONS:MSPELLCHECK}
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-embed_ephy-embed-prefs.c
.endif
post-patch:
@${REINPLACE_CMD} -e 's|execinfo.h|#|g ; \
s|-ldl"$$|"|g' \
-e 's|EPIPHANY_API_VERSION=2.29|EPIPHANY_API_VERSION=2.30|g' \
${WRKSRC}/configure
.include <bsd.port.mk>
|