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
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 7
|
2000-02-21 14:27:29 +01:00
|
|
|
CATEGORIES= net
|
2009-01-30 23:30:29 +01:00
|
|
|
MASTER_SITES= GNOME
|
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
|
|
|
|
2010-05-10 23:10:00 +02:00
|
|
|
CONFLICTS= opal-3.*
|
|
|
|
|
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
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf
|
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
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include -I${WRKSRC}/include
|
|
|
|
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
|
|
|
|
|
2011-03-24 00:32:34 +01:00
|
|
|
.if ${OSVERSION} >= 900000
|
|
|
|
BROKEN= does not compile on 9.X
|
|
|
|
.endif
|
|
|
|
|
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>
|