summaryrefslogtreecommitdiff
path: root/net/ekiga
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-12-20 20:29:42 +0000
committerjmcneill <jmcneill>2008-12-20 20:29:42 +0000
commitaebd7b38a9b54e327f3a39b0226d0511ea062092 (patch)
tree26a33f6dba9f41175cf3d10ba8e518138aa9ccef /net/ekiga
parent9546e1dd5b5e4b14995a94b5df14b7ff6ccff366 (diff)
downloadpkgsrc-aebd7b38a9b54e327f3a39b0226d0511ea062092.tar.gz
Add avahi support, bump PKGREVISION.
Diffstat (limited to 'net/ekiga')
-rw-r--r--net/ekiga/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index fbb623fc579..071ed4474c4 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2008/11/13 23:45:47 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/12/20 20:29:42 jmcneill Exp $
#
DISTNAME= ekiga-3.0.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net comms
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/ekiga/3.0/}
EXTRACT_SUFX= .tar.bz2
@@ -17,9 +17,19 @@ USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_PKGLOCALEDIR= yes
-CONFIGURE_ARGS+= --disable-avahi
CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client:Q}
+PKG_OPTIONS_VAR= PKG_OPTIONS.ekiga
+PKG_SUPPORTED_OPTIONS+= avahi
+PKG_SUGGESTED_OPTIONS+= avahi
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mavahi)
+.include "../../net/avahi/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-avahi
+.endif
+
GCONF_SCHEMAS= ekiga.schemas
GNU_CONFIGURE= yes