summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz>2008-12-21 11:37:15 +0000
committerwiz <wiz>2008-12-21 11:37:15 +0000
commite334c88309158e2bf76091deb23fdfd797751ebf (patch)
tree29adfd8381ad1ac2af5c2ccbf3e2a8454f6f5561 /www
parentb31bb29f6e76377e8dc3b4b72bc1efa45ea9c339 (diff)
downloadpkgsrc-e334c88309158e2bf76091deb23fdfd797751ebf.tar.gz
Add avahi option, on by default, for zeroconf bookmarks.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r--www/epiphany/Makefile4
-rw-r--r--www/epiphany/options.mk13
2 files changed, 12 insertions, 5 deletions
diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile
index 1804fee99f3..dd273afd4c2 100644
--- a/www/epiphany/Makefile
+++ b/www/epiphany/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.90 2008/12/12 01:27:24 jmcneill Exp $
+# $NetBSD: Makefile,v 1.91 2008/12/21 11:37:15 wiz Exp $
#
DISTNAME= epiphany-2.24.2.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/epiphany/2.24/}
EXTRACT_SUFX= .tar.bz2
diff --git a/www/epiphany/options.mk b/www/epiphany/options.mk
index f8eb2650d1b..acd12f88b95 100644
--- a/www/epiphany/options.mk
+++ b/www/epiphany/options.mk
@@ -1,14 +1,21 @@
-# $NetBSD: options.mk,v 1.3 2008/12/12 01:27:24 jmcneill Exp $
+# $NetBSD: options.mk,v 1.4 2008/12/21 11:37:15 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.epiphany
-PKG_SUPPORTED_OPTIONS= enchant # avahi
+PKG_SUPPORTED_OPTIONS= avahi enchant
PKG_OPTIONS_OPTIONAL_GROUPS= engine
PKG_OPTIONS_GROUP.engine= firefox webkit
-PKG_SUGGESTED_OPTIONS= enchant firefox
+PKG_SUGGESTED_OPTIONS= avahi enchant firefox
PLIST_VARS= gecko
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mavahi)
+CONFIGURE_ARGS+= --enable-zeroconf
+.include "../../net/avahi/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-zeroconf
+.endif
+
.if !empty(PKG_OPTIONS:Menchant)
CONFIGURE_ARGS+= --enable-spell-checker
.include "../../textproc/enchant/buildlink3.mk"