6b0c72f87f
- Makefile cleanup PR: 113627 Submitted by: pointyhat via kris/pav Thanks to: Fredrik Lindberg, linimon Reviewed by: sat
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# 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
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/ \
|
|
http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/:3GPP
|
|
DISTNAME= amrnb-${DISTVERSION}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SRC3GPP}:3GPP
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= tatsuki_makino@hotmail.com
|
|
COMMENT= 3GPP floating-point Adaptive Multi-Rate (AMR) Speech Codec
|
|
|
|
BUILD_DEPENDS= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
|
|
|
|
SRC3GPP= 26104-610.zip
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV+= LANG=C
|
|
USE_LDCONFIG= yes
|
|
RESTRICTED= license prohibits redistribution
|
|
RESTRICTED_FILES= ${SRC3GPP}
|
|
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO readme.txt
|
|
SUB_FILES= pkg-message
|
|
MAKE_ENV= LANG=C
|
|
|
|
post-extract:
|
|
@${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}
|
|
|
|
post-install:
|
|
.ifndef(NOPORTDOCS)
|
|
@${ECHO} -n Install documents:
|
|
@${MKDIR} ${DOCSDIR}
|
|
. for FILE in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
|
|
@${ECHO} -n " ${FILE}"
|
|
. endfor
|
|
@${ECHO} .
|
|
@${ECHO}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|