diff options
Diffstat (limited to 'net/ekiga/Makefile')
-rw-r--r-- | net/ekiga/Makefile | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile index 6a960517d..3a23576a8 100644 --- a/net/ekiga/Makefile +++ b/net/ekiga/Makefile @@ -6,16 +6,19 @@ # PORTNAME= ekiga -PORTVERSION= 2.0.4 -PORTREVISION= 3 +PORTVERSION= 2.0.9 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.0 -MAINTAINER= jbq@caraldi.com +MAINTAINER= mi@aldan.algebra.com COMMENT= VoIP phone for GNOME -LIB_DEPENDS= opal_r.2:${PORTSDIR}/net/opal +OPTIONS= AVAHI "Support Avahi for service discovery on LAN" on \ + DBUS "Use D-BUS for interprocess communication" on + +LIB_DEPENDS= opal_r:${PORTSDIR}/net/opal USE_BZIP2= yes USE_XLIB= yes @@ -34,17 +37,25 @@ CONFIGURE_ARGS= --with-pwlib-dir=${LOCALBASE} \ GCONF_SCHEMAS= ekiga.schemas MAN1= ekiga.1 +pre-configure: + ${REINPLACE_CMD} -e "s,PWLIB_REC_VERSION=.*,PWLIB_REC_VERSION=`ptlib-config \ + --version`," \ + -e "s,OPAL_REC_VERSION=.*,OPAL_REC_VERSION=`${AWK} \ + '/define OPAL_VERSION/ \ + {printf $$NF}' ${LOCALBASE}/include/opal/opal/buildopts.h`," \ + ${WRKSRC}/configure + .include <bsd.port.pre.mk> .ifndef (WITHOUT_AVAHI) -LIB_DEPENDS+= avahi-core.5:${PORTSDIR}/net/avahi +LIB_DEPENDS+= avahi-core:${PORTSDIR}/net/avahi CONFIGURE_ARGS+=--enable-avahi .else CONFIGURE_ARGS+=--disable-avahi .endif .ifndef (WITHOUT_DBUS) -LIB_DEPENDS+= dbus-1.3:${PORTSDIR}/devel/dbus +LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus CONFIGURE_ARGS+=--enable-dbus PLIST_SUB+= DBUS:="" .else |