2004-05-06 10:40:42 +02: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
|
2006-08-25 01:34:20 +02:00
|
|
|
PORTVERSION= 1.25
|
2004-05-06 10:40:42 +02:00
|
|
|
CATEGORIES= audio
|
2004-05-25 21:16:09 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
2004-05-06 10:40:42 +02:00
|
|
|
MASTER_SITE_SUBDIR= faac
|
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2005-01-19 06:47:01 +01:00
|
|
|
COMMENT= MPEG-2 and MPEG-4 AAC audio encoder
|
2004-05-06 10:40:42 +02:00
|
|
|
|
2006-08-25 01:34:20 +02:00
|
|
|
LIB_DEPENDS= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
|
2006-01-28 22:20:22 +01:00
|
|
|
|
2006-09-03 01:41:40 +02:00
|
|
|
RESTRICTED= Distribution in binary form is prohibited
|
2004-05-06 10:40:42 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2006-08-25 01:34:20 +02:00
|
|
|
USE_DOS2UNIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= automake:15 autoheader:259 libtool:15
|
2004-05-06 10:40:42 +02:00
|
|
|
AUTOMAKE_ARGS= --add-missing
|
|
|
|
USE_GMAKE= yes
|
2006-08-25 01:34:20 +02:00
|
|
|
USE_DOS2UNIX= yes
|
2005-05-19 14:41:45 +02:00
|
|
|
CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
|
2004-05-10 11:24:21 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-10-13 03:48:28 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2006-08-25 01:34:20 +02:00
|
|
|
LIBS="-lmp4v2"
|
2004-11-28 16:11:55 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-08-28 02:56:49 +02:00
|
|
|
pre-configure:
|
2004-07-22 03:26:13 +02:00
|
|
|
@${ECHO_CMD} "" >>${WRKSRC}/libfaac/psych.h
|
2004-08-04 00:36:52 +02:00
|
|
|
@cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I .; \
|
2004-05-06 10:40:42 +02:00
|
|
|
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
|
|
|
|
|
2004-11-28 16:11:55 +01:00
|
|
|
.include <bsd.port.post.mk>
|