summaryrefslogtreecommitdiffstats
path: root/www/epiphany/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-28 06:10:10 +0800
commit752a66b40a757b50196fb97fda1143a42e96c295 (patch)
tree49bd85e2fc333a96c40e09b46a8027f64b1a470f /www/epiphany/Makefile
parent2d81cfc3ccdf086d3ac5c107818ffe2f73f04d9a (diff)
downloadmarcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.gz
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.tar.zst
marcuscom-ports-752a66b40a757b50196fb97fda1143a42e96c295.zip
Move gnome3 ports into the place of the gnome2 locations.
Update to new port rules, remove conflicts, latest_link, enable stage support. gnome-games was skipped because I got a update for that. gnome-keyring 2 vs 3, needs to be looked at. zenity 2 vs 3, and libgnomekbd 2 vs 3 Use new lib_depend syntax in bsd.gnome.mk. Possible lots of broken links. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18813 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany/Makefile')
-rw-r--r--www/epiphany/Makefile73
1 files changed, 73 insertions, 0 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
new file mode 100644
index 000000000..73b93ff4b
--- /dev/null
+++ b/www/epiphany/Makefile
@@ -0,0 +1,73 @@
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
+# $FreeBSD$
+# $MCom: ports/trunk/www/epiphany3/Makefile 18610 2013-06-30 16:33:05Z marcus $
+
+PORTNAME= epiphany
+PORTVERSION= 3.6.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 \
+ 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
+
+USE_LDCONFIG= yes
+INSTALLS_ICONS= yes
+USE_XZ= yes
+USE_PYTHON= yes
+USE_SQLITE= 3
+USES= desktop-file-utils gettext gmake pathfix pkgconfig
+USE_GNOME= gnomedesktop3 gnomedocutils gnomeprefix intlhack libxml2
+USE_XORG= ice x11 sm
+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:C/^([0-9]+\.[0-9]+).*/\1/}"
+
+OPTIONS_DEFINE= AVAHI SPELLCHECK
+OPTIONS_DEFAULT=AVAHI SPELLCHECK
+SPELLCHECK_DESC=Enable spell checking by default
+
+.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
+
+.if ${PORT_OPTIONS:MSPELLCHECK}
+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
+
+.include <bsd.port.mk>