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
|
2007-02-09 10:25:51 +01:00
|
|
|
PORTVERSION= 2.2.4
|
2007-02-22 20:51:53 +01:00
|
|
|
PORTREVISION= 1
|
2000-02-21 14:27:29 +01:00
|
|
|
CATEGORIES= net
|
2006-02-05 14:39:41 +01:00
|
|
|
MASTER_SITES= http://www.voxgratia.org/releases/
|
2006-03-14 02:51:49 +01:00
|
|
|
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}-src-
|
|
|
|
EXTRACT_SUFX= tar.gz
|
2000-02-21 14:27:29 +01:00
|
|
|
|
2006-04-06 00:23:15 +02:00
|
|
|
MAINTAINER= jbq@caraldi.com
|
|
|
|
COMMENT= VoIP abstraction library
|
2000-02-21 14:27:29 +01:00
|
|
|
|
2007-06-17 16:48:39 +02:00
|
|
|
LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib
|
2002-11-12 11:12:06 +01:00
|
|
|
|
2006-12-08 08:48:34 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_v${PORTVERSION:S/./_/g}
|
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
|
2006-04-06 07:21:47 +02:00
|
|
|
ALL_TARGET= optshared
|
2000-02-29 09:41:41 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-05 14:39:41 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:259
|
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
|
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
|
|
|
|
|
2006-04-08 07:14:22 +02:00
|
|
|
.ifdef (WITH_FFMPEG)
|
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
|
|
|
|
|
|
|
|
.ifdef (WITH_SPEEX)
|
2007-06-17 16:48:39 +02:00
|
|
|
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex
|
2007-03-11 17:48:03 +01:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/speex/speex_echo.h:${PORTSDIR}/audio/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-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>
|