blob: f57a3f4954fecd38a0b687ff155359afaa1b092a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: openh323
# Date created: Thu Feb 17 15:00:48 GMT 2000
# Whom: Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= opal
PORTVERSION= 2.2.11
CATEGORIES= net
MASTER_SITES= http://www.ekiga.org/admin/downloads/latest/sources/sources/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=mi
MAINTAINER= mi@aldan.algebra.com
COMMENT= VoIP abstraction library
OPTIONS= FFMPEG "Support H263 audio/video codec" on \
SPEEX "Use speex installed by audio/speex" on
LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib
# In opal's Makefile the default make's target is optshared
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu` optshared
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_ARGS= -j`${SYSCTL} -n hw.ncpu`
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${WRKSRC}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
# Be sure to compile position-independent objects for the shared libraries
CFLAGS+= -fPIC
.if defined(WITHOUT_FFMPEG)
CONFIGURE_ARGS+=--disable-h263avcodec
.else
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
CONFIGURE_ARGS+=--enable-h263avcodec=${LOCALBASE}/include/ffmpeg
.endif
.if defined(WITHOUT_SPEEX)
CONFIGURE_ARGS+=--enable-localspeex=no
.else
LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex
CONFIGURE_ARGS+=--enable-localspeex=yes
.endif
.include <bsd.port.post.mk>
|