blob: f1657d11240589ccf7bc9832b44a7d6da2208860 (
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
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom$
PORTNAME= epiphany
PORTVERSION= 3.12.1
CATEGORIES= www gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= Extremely lightweight and simple web browser for GNOME 3
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
itstool:${PORTSDIR}/textproc/itstool \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas
LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 \
libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome \
libgcr-3.so:${PORTSDIR}/security/gcr \
libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
libnss3.so:${PORTSDIR}/security/nss \
libnotify.so:${PORTSDIR}/devel/libnotify \
libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
gsettings-desktop-schemas>=0:${PORTSDIR}/devel/gsettings-desktop-schemas \
gnome-icon-theme-symbolic>=0:${PORTSDIR}/x11-themes/gnome-icon-theme-symbolic \
${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
USES= desktop-file-utils gettext gmake pathfix \
pkgconfig tar:xz
USE_GNOME= gnomedesktop3 gnomeprefix intlhack libwnck3 libxml2 libxslt
USE_XORG= ice x11 sm
INSTALLS_ICONS= yes
USE_PYTHON= 3
USE_SQLITE= 3
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-introspection \
--with-distributor-name="FreeBSD GNOME Project"
# --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \
org.gnome.epiphany.gschema.xml
PLIST_SUB+= EPHY_VERSION=${PORTVERSION:R}
OPTIONS_DEFINE= AVAHI
OPTIONS_DEFAULT=AVAHI
.include <bsd.port.options.mk>
CONFIGURE_ARGS+= --enable-compile-warnings=no
.if ${PORT_OPTIONS:MAVAHI}
LIB_DEPENDS+= libavahi-gobject.so:${PORTSDIR}/net/avahi-app
.else
CONFIGURE_ARGS+=--disable-zeroconf
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|-lpthread|${PTHREAD_LIBS}|g'
@${REINPLACE_CMD} -e 's|execinfo.h|#|g ; \
s|-ldl"$$|"|g' \
${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/epiphany/3.12/web-extensions/libephywebextension.so
.include <bsd.port.mk>
|