freebsd-ports/audio/libamrwb/Makefile
Wesley Shields e3f4f7c6fa - Don't use UNZIP_CMD in a DEPENDS line. A user may redefine UNZIP_CMD to be
"unzip -v" or similar which would break. Instead rely upon the unzip binary.

  http://lists.freebsd.org/pipermail/freebsd-ports/2009-September/056882.html

Noticed by:	Dag-Erling Smørgrav <des@des.no>
2009-09-08 21:08:41 +00:00

48 lines
1.1 KiB
Makefile

# New ports collection makefile for: libamrwb
# Date created: 7 Jun 2007
# Whom: Tatsuki Makino <tatsuki_makino@hotmail.com>
#
# $FreeBSD$
#
PORTNAME= libamrwb
PORTVERSION= 7.0.0.3
CATEGORIES= audio
MASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/ \
http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:3GPP
DISTNAME= amrwb-${DISTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SRC3GPP}:3GPP
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= tatsuki_makino@hotmail.com
COMMENT= 3GPP Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
RESTRICTED= license prohibits redistribution
RESTRICTED_FILES= ${SRC3GPP}
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO readme.txt
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LANG=C
MAKE_ENV= LANG=C
USE_LDCONFIG= yes
SRC3GPP= 26204-700.zip
post-extract:
@${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}/
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for FILE in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
. endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>