aboutsummaryrefslogtreecommitdiff
path: root/audio/libamrnb/Makefile
blob: 5571d103ac93fbc6ee81b5ca59681c15767d0a4c (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
# New ports collection makefile for:	libamrnb
# Date created:	30 May 2007
# Whom:		Tatsuki Makino <tatsuki_makino@hotmail.com>
#
# $FreeBSD$
#

PORTNAME=	libamrnb
PORTVERSION=	6.1.0.4
PORTEPOCH=	1
CATEGORIES=	audio
MASTER_SITES=	http://ftp.penguin.cz/pub/users/utx/amr/
DISTNAME=	amrnb-${DISTVERSION}

MAINTAINER=	tatsuki_makino@hotmail.com
COMMENT=	Adaptive Multi-Rate (AMR) Speech Codec

BUILD_DEPENDS=	wget:${PORTSDIR}/ftp/wget \
		${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \
		bash:${PORTSDIR}/shells/bash

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	LANG=C
USE_LDCONFIG=	yes
NO_PACKAGE=	See Important legal notice of http://www.penguin.cz/~utx/amr.en.html

post-patch:
	@${REINPLACE_CMD} -E \
		-e "s!(/bin/bash)!${LOCALBASE}\\1!" \
		${WRKSRC}/prepare_sources.sh

.include <bsd.port.mk>