2001-07-26 18:09:08 +02:00
|
|
|
# Ports collection Makefile for: gnomemeeting
|
|
|
|
# Date created: 24/07/2001
|
|
|
|
# Whom: roger@FreeBSD.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-04-06 15:04:59 +02:00
|
|
|
PORTNAME= ekiga
|
2008-01-07 22:07:39 +01:00
|
|
|
PORTVERSION= 2.0.11
|
2011-02-25 02:32:17 +01:00
|
|
|
PORTREVISION= 10
|
2001-07-26 18:09:08 +02:00
|
|
|
CATEGORIES= net gnome
|
2009-02-02 02:36:16 +01:00
|
|
|
MASTER_SITES= GNOME
|
2001-07-26 18:09:08 +02:00
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2006-04-08 07:15:55 +02:00
|
|
|
COMMENT= VoIP phone for GNOME
|
2001-07-26 18:09:08 +02:00
|
|
|
|
2010-06-04 13:50:46 +02:00
|
|
|
LIB_DEPENDS= opal_r:${PORTSDIR}/net/opal
|
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
OPTIONS= AVAHI "Support Avahi for service discovery on LAN" on \
|
|
|
|
DBUS "Use D-BUS for interprocess communication" on
|
|
|
|
|
2010-05-03 23:47:50 +02:00
|
|
|
CONFLICTS= ekiga-3.*
|
|
|
|
|
2003-09-10 10:02:01 +02:00
|
|
|
USE_BZIP2= yes
|
2001-07-26 18:09:08 +02:00
|
|
|
USE_GMAKE= yes
|
2010-06-04 13:50:46 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-04-06 15:04:59 +02:00
|
|
|
USE_SDL= sdl
|
2006-04-08 07:15:55 +02:00
|
|
|
INSTALLS_OMF= yes
|
|
|
|
USE_GNOME= libgnomeui gnomeprefix gnomehack gnomedocutils \
|
2006-04-09 18:12:15 +02:00
|
|
|
evolutiondataserver intlhack
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2006-04-05 21:20:06 +02:00
|
|
|
CONFIGURE_ARGS= --with-pwlib-dir=${LOCALBASE} \
|
2006-04-06 15:04:59 +02:00
|
|
|
--with-opal-dir=${LOCALBASE}
|
2010-06-04 13:50:46 +02:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2005-02-01 19:55:00 +01:00
|
|
|
|
2006-04-06 15:04:59 +02:00
|
|
|
GCONF_SCHEMAS= ekiga.schemas
|
|
|
|
MAN1= ekiga.1
|
2006-04-05 21:20:06 +02:00
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
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
|
|
|
|
|
2006-04-08 07:15:55 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.ifndef (WITHOUT_AVAHI)
|
2008-01-07 22:07:39 +01:00
|
|
|
LIB_DEPENDS+= avahi-core:${PORTSDIR}/net/avahi-app
|
2006-04-08 07:15:55 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-avahi
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-avahi
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.ifndef (WITHOUT_DBUS)
|
2007-06-18 16:24:29 +02:00
|
|
|
LIB_DEPENDS+= dbus-1:${PORTSDIR}/devel/dbus
|
2006-04-08 07:15:55 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-dbus
|
2006-04-09 18:12:15 +02:00
|
|
|
PLIST_SUB+= DBUS:=""
|
2006-04-08 07:15:55 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-dbus
|
2006-04-09 18:12:15 +02:00
|
|
|
PLIST_SUB+= DBUS:="@comment "
|
2006-04-08 07:15:55 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|