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