summaryrefslogtreecommitdiff
path: root/www/epiphany/Makefile
blob: 47f47041e98bc9420cd96c608282291ef70728cb (plain)
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
# $NetBSD: Makefile,v 1.89 2008/12/02 12:30:13 wiz Exp $
#

DISTNAME=	epiphany-2.24.2.1
CATEGORIES=	www gnome
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/epiphany/2.24/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gnome.org/projects/epiphany/
COMMENT=	The web browser for the GNOME Desktop

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		YES
USE_DIRS+=		gnome2-1.5
USE_TOOLS+=		gmake intltool msgfmt pkg-config
USE_LIBTOOL=		YES
USE_PKGLOCALEDIR=	YES
USE_LANGUAGES=		c c++

PKGCONFIG_OVERRIDE=	data/epiphany-2.24.pc

.include "options.mk"

CPPFLAGS+=      -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
CFLAGS+=        -I${BUILDLINK_PREFIX.firefox}/include/firefox/find
CPPFLAGS+=      -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
CFLAGS+=        -I${BUILDLINK_PREFIX.firefox}/include/firefox/necko
CPPFLAGS+=      -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref
CFLAGS+=        -I${BUILDLINK_PREFIX.firefox}/include/firefox/pref

# XXX the configure check doesn't work
CONFIGURE_ENV+=	ac_cv_header_nsIBadCertListener_h=yes

GCONF_SCHEMAS=		epiphany.schemas
GCONF_SCHEMAS+=	epiphany-fonts.schemas
GCONF_SCHEMAS+=	epiphany-lockdown.schemas
GCONF_SCHEMAS+=	epiphany-pango.schemas

.include "../../audio/libcanberra/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+=		glib2>=2.18.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgnome+=	libgnome>=2.14.0
.include "../../devel/libgnome/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgnomeui+=	libgnomeui>=2.14.0
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../net/ORBit2/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
BUILDLINK_API_DEPENDS.libnotify+=	libnotify>=0.4
.include "../../sysutils/libnotify/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../textproc/iso-codes/buildlink3.mk"
BUILDLINK_API_DEPENDS.libxml2+=		libxml2>=2.6.12
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../www/firefox/buildlink3.mk"
.include "../../x11/gnome-desktop/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk2+=		gtk2+>=2.14.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../mk/bsd.pkg.mk"