2004-05-06 08:40:42 +00:00
|
|
|
# New ports collection makefile for: faac
|
|
|
|
# Date created: Wed May 5 16:38:55 EDT 2004
|
|
|
|
# Whom: Michael Johnson <ahze@ahze.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= faac
|
2009-02-21 15:50:19 +00:00
|
|
|
PORTVERSION= 1.28
|
2010-09-15 18:35:24 +00:00
|
|
|
PORTREVISION= 2
|
2004-05-06 08:40:42 +00:00
|
|
|
CATEGORIES= audio
|
2009-08-22 22:36:56 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTNAME}-${PORTVERSION}
|
2004-05-06 08:40:42 +00:00
|
|
|
|
2006-06-09 18:00:35 +00:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2005-01-19 05:47:01 +00:00
|
|
|
COMMENT= MPEG-2 and MPEG-4 AAC audio encoder
|
2004-05-06 08:40:42 +00:00
|
|
|
|
2010-08-11 20:58:04 +00:00
|
|
|
LIB_DEPENDS= mp4v2.10:${PORTSDIR}/multimedia/mp4v2
|
2006-01-28 21:20:22 +00:00
|
|
|
|
2006-09-02 23:41:40 +00:00
|
|
|
RESTRICTED= Distribution in binary form is prohibited
|
2009-02-21 15:50:19 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-08-24 23:34:20 +00:00
|
|
|
USE_DOS2UNIX= yes
|
2004-05-06 08:40:42 +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:19 +00:00
|
|
|
ACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
|
|
|
|
AUTOMAKE_ARGS= --add-missing
|
2011-03-18 09:44:41 +00:00
|
|
|
CONFIGURE_ARGS= --with-mp4v2
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-02-21 15:50:19 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
MAN1= faac.1
|
2004-11-28 15:11:55 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2009-02-21 15:50:19 +00:00
|
|
|
post-patch:
|
|
|
|
@${ECHO_CMD} "" >> ${WRKSRC}/libfaac/psych.h
|
2010-08-11 20:58:04 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|<mp4\.h>|<mp4v2/mp4v2.h>|g' \
|
|
|
|
${WRKSRC}/frontend/main.c \
|
2009-02-21 15:50:19 +00:00
|
|
|
|
2006-08-28 00:56:49 +00:00
|
|
|
pre-configure:
|
2009-02-21 15:50:19 +00:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE} --automake
|
2004-05-06 08:40:42 +00:00
|
|
|
|
2004-11-28 15:11:55 +00:00
|
|
|
.include <bsd.port.post.mk>
|