diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-03-03 15:00:43 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-03-03 15:00:43 +0000 |
commit | 4addcce8af641d0b8d6263bd8ad94180494569d6 (patch) | |
tree | de79f1007b9f85886dfd2e64d2ae548062564cf7 /net/opal | |
parent | f7bf2a11c48ebf8a8157d197b77f2f6eb99ec3d6 (diff) | |
download | ports-4addcce8af641d0b8d6263bd8ad94180494569d6.tar.gz ports-4addcce8af641d0b8d6263bd8ad94180494569d6.zip |
Notes
Diffstat (limited to 'net/opal')
-rw-r--r-- | net/opal/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/net/opal/Makefile b/net/opal/Makefile index 3828d3c67ba3..424b58b63ef1 100644 --- a/net/opal/Makefile +++ b/net/opal/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: openh323 -# Date created: Thu Feb 17 15:00:48 GMT 2000 -# Whom: Roger Hardiman <roger@freebsd.org> -# +# Created by: Roger Hardiman <roger@freebsd.org> # $FreeBSD$ -# PORTNAME= opal PORTVERSION= 2.2.11 @@ -11,11 +7,13 @@ PORTREVISION= 7 CATEGORIES= net MASTER_SITES= GNOME -MAINTAINER= mi@aldan.algebra.com +MAINTAINER= gnome@FreeBSD.org COMMENT= VoIP abstraction library -OPTIONS= FFMPEG "Support H263 audio/video codec" on \ - SPEEX "Use speex installed by audio/speex" on +OPTIONS_DEFINE= FFMPEG SPEEX +OPTIONS_DEFAULT=FFMPEG SPEEX +FFMPEG_DESC= H263 audio/video codec support +SPEEX_DESC= Use audio/speex instead of bundled version LIB_DEPENDS= pt_r:${PORTSDIR}/devel/pwlib @@ -42,18 +40,19 @@ CFLAGS+= -fPIC BROKEN= does not compile on 9.X .endif -.if defined(WITHOUT_FFMPEG) -CONFIGURE_ARGS+=--disable-h263avcodec -.else +.if ${PORT_OPTIONS:MFFMPEG} LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg CONFIGURE_ARGS+=--enable-h263avcodec=${LOCALBASE}/include/ffmpeg +.else +CONFIGURE_ARGS+=--disable-h263avcodec .endif -.if defined(WITHOUT_SPEEX) -CONFIGURE_ARGS+=--enable-localspeex=no -.else +.if ${PORT_OPTIONS:MSPEEX} LIB_DEPENDS+= speex:${PORTSDIR}/audio/speex CONFIGURE_ARGS+=--enable-localspeex=yes +.else +CONFIGURE_ARGS+=--enable-localspeex=no .endif + .include <bsd.port.post.mk> |