summaryrefslogtreecommitdiffstats
path: root/www/epiphany/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-26 04:22:54 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-10-26 04:22:54 +0800
commita8f7349457465bcd04a272fb2a897496d3d51f3e (patch)
treea83c69ce8ca3b63ec60b48cc659bc47bb3bf6c39 /www/epiphany/Makefile
parentced0eb9498d89828e8da227ae32ed506fcae0351 (diff)
downloadmarcuscom-ports-a8f7349457465bcd04a272fb2a897496d3d51f3e.tar.gz
marcuscom-ports-a8f7349457465bcd04a272fb2a897496d3d51f3e.tar.zst
marcuscom-ports-a8f7349457465bcd04a272fb2a897496d3d51f3e.zip
Add an OPTION to enable spell checking by default.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13191 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/epiphany/Makefile')
-rw-r--r--www/epiphany/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 0f4b40632..808358887 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/www/epiphany/Makefile,v 1.212 2009/10/15 10:27:06 kwm Exp $
+# $MCom: ports/www/epiphany/Makefile,v 1.213 2009/10/18 19:40:57 kwm Exp $
#
PORTNAME= epiphany
PORTVERSION= 2.28.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= www gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -48,7 +48,8 @@ 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" on \
- SEED "Enable seed support" off
+ SEED "Enable seed support" off \
+ SPELLCHECK "Enable spell checking by default" on
.if defined(PACKAGE_BUILDING)
.undef WITHOUT_GNOME
@@ -75,6 +76,10 @@ LIB_DEPENDS+= seed.0:${PORTSDIR}/devel/seed
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'