diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2010-09-23 00:44:23 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2010-09-23 00:44:23 +0000 |
commit | 6f876d2899abea75f7858e7339ef74a0fde015c2 (patch) | |
tree | b8594db6ccc308dee1aac91b2d5e4a48586ae540 /audio/libaacplus/Makefile | |
parent | 7e601a7ac60064742a52d96926ed3cee8ce64881 (diff) | |
download | freebsd-ports-6f876d2899abea75f7858e7339ef74a0fde015c2.zip |
HE-AAC+ Codec as Shared Library
WWW: http://tipok.org.ua/ru/node/17/
PR: 149794
Submitted by: Takefu <takefu@airport.fm>
Diffstat (limited to 'audio/libaacplus/Makefile')
-rw-r--r-- | audio/libaacplus/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/audio/libaacplus/Makefile b/audio/libaacplus/Makefile new file mode 100644 index 000000000000..aba04086d3f0 --- /dev/null +++ b/audio/libaacplus/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: libaacplus +# Date created: 2010-05-18 +# Whom: takefu +# +# $FreeBSD$ +# + +PORTNAME= libaacplus +PORTVERSION= 1.0.5 +CATEGORIES= audio +MASTER_SITES= http://tipok.org.ua/downloads/media/aac+/libaacplus/:site1\ + http://217.20.164.161/~tipok/aacplus/:site1\ + http://media.wnet.ua/~tipok/aacplus/:site1\ + http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2 +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:site1\ + 26410-800.zip:site2 + +MAINTAINER= takefu@airport.fm +COMMENT= HE-AAC+ Codec as Shared Library + +EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip + +RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies + +CONFLICTS= aacplusenc-0* + +USE_GNOME= pkgconfig +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:22 libtoolize aclocal:110 autoheader:262 automake:110 +GNU_CONFIGURE= yes + +AUTOMAKE_ARGS= --add-missing +ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} \ + -I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4 +LIBTOOLIZE_ARGS=--automake +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"\ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" + +OPTIONS= FFTW3 "USE_FFTW3" on + +.include <bsd.port.options.mk> + +.if !defined(WITHOUT_FFTW3) +LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3\ + fftw3f:${PORTSDIR}/math/fftw3-float +CONFIGURE_ARGS+=--with-fftw3=yes \ + --with-fftw3-prefix=${LOCALBASE} +.else +CONFIGURE_ARGS+=--with-fftw3=no +.endif + +pre-configure: + @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC} + +.include <bsd.port.mk> |