2000-02-21 14:27:29 +01:00
|
|
|
# New ports collection makefile for: openh323
|
|
|
|
# Date created: Thu Feb 17 15:00:48 GMT 2000
|
|
|
|
# Whom: Roger Hardiman <roger@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-04-06 00:23:15 +02:00
|
|
|
PORTNAME= opal
|
2008-03-06 21:41:13 +01:00
|
|
|
PORTVERSION= 2.2.11
|
2000-02-21 14:27:29 +01:00
|
|
|
CATEGORIES= net
|
2007-06-23 01:31:16 +02:00
|
|
|
MASTER_SITES= http://www.ekiga.org/admin/downloads/latest/sources/sources/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR=mi
|
2000-02-21 14:27:29 +01:00
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
2006-04-06 00:23:15 +02:00
|
|
|
COMMENT= VoIP abstraction library
|
2000-02-21 14:27:29 +01:00
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
OPTIONS= FFMPEG "Support H263 audio/video codec" on \
|
|
|
|
SPEEX "Use speex installed by audio/speex" on
|
2002-11-12 11:12:06 +01:00
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib
|
2002-01-15 16:06:17 +01:00
|
|
|
|
2006-04-11 04:16:11 +02:00
|
|
|
# In opal's Makefile the default make's target is optshared
|
2008-03-06 21:42:27 +01:00
|
|
|
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu` optshared
|
2000-02-29 09:41:41 +01:00
|
|
|
USE_GMAKE= yes
|
2008-08-20 02:57:32 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262
|
2006-12-08 08:48:34 +01:00
|
|
|
USE_GNOME= gnometarget
|
2003-08-28 08:56:10 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2007-02-09 10:25:51 +01:00
|
|
|
USE_LDCONFIG= yes
|
2007-06-18 16:24:29 +02:00
|
|
|
MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu`
|
2002-01-15 16:06:17 +01:00
|
|
|
|
2006-03-14 02:51:49 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \
|
2006-04-06 00:23:15 +02:00
|
|
|
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
2006-07-05 04:44:55 +02:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
2006-03-14 02:51:49 +01:00
|
|
|
|
2006-04-08 07:14:22 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-06-17 16:48:39 +02:00
|
|
|
# Be sure to compile position-independent objects for the shared libraries
|
2006-04-21 15:03:32 +02:00
|
|
|
CFLAGS+= -fPIC
|
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
.if defined(WITHOUT_FFMPEG)
|
|
|
|
CONFIGURE_ARGS+=--disable-h263avcodec
|
|
|
|
.else
|
2007-06-17 16:48:39 +02:00
|
|
|
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
|
|
|
|
CONFIGURE_ARGS+=--enable-h263avcodec=${LOCALBASE}/include/ffmpeg
|
2006-04-08 07:14:22 +02:00
|
|
|
.endif
|
|
|
|
|
2007-06-18 16:24:29 +02:00
|
|
|
.if defined(WITHOUT_SPEEX)
|
2007-06-17 16:48:39 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-localspeex=no
|
2006-04-08 07:14:22 +02:00
|
|
|
.else
|
2007-06-18 16:24:29 +02:00
|
|
|
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex
|
2007-06-17 16:48:39 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-localspeex=yes
|
2006-04-08 07:14:22 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|