freebsd-ports/audio/faad/Makefile
Mark Linimon 48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: faad
# Date created: 8 January 2003
# Whom: Sean McGovern <sean@sfarc.net>
#
# $FreeBSD$
#
PORTNAME= faad2
PORTVERSION= 2.5
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
MAINTAINER= multimedia@FreeBSD.org
COMMENT= MPEG-2 and MPEG-4 AAC audio decoder
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_CDROM= Restrictive copyright (do not sell for profit)
USE_DOS2UNIX= yes
USE_AUTOTOOLS= automake:15 autoheader:261 libtool:15
AUTOMAKE_ARGS= --add-missing
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETOPT_LONG=yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-drm
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|g' \
${WRKSRC}/common/mp4ff/mp4ff_int_types.h
pre-configure:
${MKDIR} ${WRKSRC}/plugins/bmp
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
@${ECHO_CMD} "SUBDIRS = libfaad common frontend" > \
${WRKSRC}/Makefile.am
.include <bsd.port.post.mk>