2003-01-18 19:21:13 +00:00
|
|
|
# New ports collection makefile for: faad
|
|
|
|
# Date created: 8 January 2003
|
|
|
|
# Whom: Sean McGovern <sean@sfarc.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= faad2
|
2009-02-21 15:50:22 +00:00
|
|
|
PORTVERSION= 2.7
|
2010-09-15 18:35:24 +00:00
|
|
|
PORTREVISION= 3
|
2004-10-14 05:13:43 +00:00
|
|
|
PORTEPOCH= 1
|
2003-01-18 19:21:13 +00:00
|
|
|
CATEGORIES= audio
|
2009-08-24 11:37:34 +00:00
|
|
|
MASTER_SITES= SF/faac/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}
|
2003-01-18 19:21:13 +00:00
|
|
|
|
2006-06-09 18:00:35 +00:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2005-01-19 05:31:03 +00:00
|
|
|
COMMENT= MPEG-2 and MPEG-4 AAC audio decoder
|
2003-01-18 19:21:13 +00:00
|
|
|
|
2009-02-21 15:50:22 +00:00
|
|
|
USE_BZIP2= yes
|
2006-08-24 23:33:51 +00:00
|
|
|
USE_DOS2UNIX= yes
|
2003-01-18 19:21:13 +00:00
|
|
|
USE_GMAKE= yes
|
2009-03-24 16:58:56 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool
|
2009-02-21 15:50:22 +00:00
|
|
|
ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
|
|
|
|
AUTOMAKE_ARGS= --add-missing
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2009-02-21 15:50:22 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
MAN1= faad.1
|
2003-01-18 19:21:13 +00:00
|
|
|
|
2004-10-18 02:19:57 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-02-21 15:50:22 +00:00
|
|
|
post-extract:
|
|
|
|
@${LN} -sf faad.man ${WRKSRC}/frontend/faad.1
|
2006-08-31 15:34:44 +00:00
|
|
|
|
2009-02-21 15:50:22 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/AC_CONFIG_FILES(plugins/d' \
|
|
|
|
${WRKSRC}/configure.in
|
|
|
|
@${REINPLACE_CMD} -e 's|faad.man|faad.1|g' \
|
|
|
|
${WRKSRC}/frontend/Makefile.am
|
|
|
|
@${REINPLACE_CMD} -e 's|^AM_CFLAGS|AM_CPPFLAGS|g ; \
|
|
|
|
s|-iquote |-I|g' ${WRKSRC}/libfaad/Makefile.am
|
2009-03-01 22:27:18 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|= -DUSE_|= -fPIC -DPIC -DUSE_|g' \
|
|
|
|
${WRKSRC}/common/mp4ff/Makefile.am
|
2004-11-10 01:48:47 +00:00
|
|
|
@${ECHO_CMD} "SUBDIRS = libfaad common frontend" > \
|
2004-05-14 13:06:33 +00:00
|
|
|
${WRKSRC}/Makefile.am
|
2004-05-10 09:12:16 +00:00
|
|
|
|
2009-02-21 15:50:22 +00:00
|
|
|
pre-configure:
|
|
|
|
@cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake
|
|
|
|
|
2004-05-14 13:06:33 +00:00
|
|
|
.include <bsd.port.post.mk>
|