summaryrefslogtreecommitdiffstats
path: root/www/epiphany3/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-03 19:15:31 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-03 19:15:31 +0800
commit8ae1171083be78e4397a5166110a4ddac9f92324 (patch)
treefd7b1190856b9d3bae162ff7f7a4215559a21bf7 /www/epiphany3/Makefile
parent53d53247ba9cef6df6ba368bca473b6ac5ce9807 (diff)
downloadmarcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.tar
marcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.tar.gz
marcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.tar.bz2
marcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.tar.lz
marcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.tar.xz
marcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.tar.zst
marcuscom-ports-8ae1171083be78e4397a5166110a4ddac9f92324.zip
Update epiphany to 2.91.6.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15185 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany3/Makefile')
-rw-r--r--www/epiphany3/Makefile97
1 files changed, 97 insertions, 0 deletions
diff --git a/www/epiphany3/Makefile b/www/epiphany3/Makefile
new file mode 100644
index 000000000..11088a3dc
--- /dev/null
+++ b/www/epiphany3/Makefile
@@ -0,0 +1,97 @@
+# Ports collection Makefile for: epiphany
+# Date created: 24 April 2003
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/www/epiphany/Makefile,v 1.240 2010/10/10 19:16:00 marcus Exp $
+#
+
+PORTNAME= epiphany
+PORTVERSION= 2.91.6
+PORTREVISION?= 0
+CATEGORIES= www gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT?= An extremely lightweight and simple web browser for GNOME 3
+
+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.2:${PORTSDIR}/devel/dbus-glib \
+ webkitgtk-3.0.0:${PORTSDIR}/www/webkit-gtk3 \
+ soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome \
+ notify.1:${PORTSDIR}/devel/libnotify \
+ gnome-keyring.0:${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-themes3
+
+USE_LDCONFIG= yes
+INSTALLS_ICONS= yes
+USE_GETTEXT= yes
+USE_BZIP2= yes
+USE_PYTHON= yes
+GNOME_DESKTOP_VERSION=3
+USE_GNOME= gnomeprefix gnomehack intlhack
+#gnomedesktop desktopfileutils
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+INSTALLS_OMF= yes
+CONFIGURE_ARGS+=--enable-introspection=no \
+ --enable-network-manager=no \
+ --with-ca-file=${LOCALBASE}/share/certs/ca-root-nss.crt
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} ${EXTRA_CFLAGS}" \
+ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} ${EXTRA_LIBS}"
+
+GLIB_SCHEMAS= org.gnome.Epiphany.enums.xml \
+ org.gnome.epiphany.gschema.xml
+
+PLIST_SUB+= EPHY_VERSION="${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}"
+
+MAN1= epiphany.1
+
+OPTIONS= NSS "Import passwords from 2.26 and older on first run" off \
+ SPELLCHECK "Enable spell checking by default" on \
+# SEED "Enable seed (JavaScript) support" off
+
+.if defined(PACKAGE_BUILDING)
+.undef WITHOUT_GNOME
+WITH_GNOME= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
+NO_WERROR= yes
+# allow build with more warnings enabled
+.if defined(NO_WERROR)
+CONFIGURE_ARGS+= --enable-compile-warnings=no
+.endif
+
+.if defined(WITH_NSS)
+LIB_DEPENDS+= nss3.1:${PORTSDIR}/security/nss
+CONFIGURE_ARGS+=--enable-nss
+.else
+CONFIGURE_ARGS+=--disable-nss
+.endif
+
+#.if defined(WITH_SEED)
+#LIB_DEPENDS+= seed.0:${PORTSDIR}/devel/seed3
+#CONFIGURE_ARGS+=--enable-seed
+#.endif
+
+.if defined(WITH_SPELLCHECK)
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-embed_ephy-embed-prefs.c
+.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:
+ @-update-desktop-database
+
+.include <bsd.port.post.mk>