aboutsummaryrefslogtreecommitdiff
path: root/audio/msbcg729/Makefile
blob: ae4fafa5295f8fc87e6dff7ff30e7fe8c64b884b (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
# $FreeBSD$

PORTNAME=	msbcg729
PORTVERSION=	1.0.2
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	SAVANNAH/linphone/plugins/sources
DISTNAME=	bcg729-${DISTVERSION}

MAINTAINER=	tijl@FreeBSD.org
COMMENT=	Software G729A codec plugin for Mediastreamer

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libortp.so:net/ortp \
		libmediastreamer_base.so:net/mediastreamer

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static --disable-strict
INSTALL_TARGET=	install-strip
USES=		libtool pkgconfig

post-patch:
# Don't install libbcg729 (provided by audio/bcg729).
	@${REINPLACE_CMD} \
		-e '/^LTLIBRARIES =/s/lib_LTLIBRARIES/noinst_LTLIBRARIES/' \
		-e 's/^lib_LTLIBRARIES/noinst_LTLIBRARIES/' \
		-e 's/-rpath $$(libdir)//' \
		${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>