2001-07-07 14:43:59 +02:00
|
|
|
# New ports collection makefile for: ac3dev
|
|
|
|
# Date created: 23 Jun 2001
|
|
|
|
# Whom: Marc van Woerkom <3d@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ac3dec
|
|
|
|
PORTVERSION= 0.6.1
|
|
|
|
CATEGORIES= audio
|
2001-11-08 16:16:56 +01:00
|
|
|
MASTER_SITES= http://dara.notbsd.org/~aholtzma/ac3/tarballs/
|
2001-07-07 14:43:59 +02:00
|
|
|
|
2004-01-12 01:20:59 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Software for research in digital audio coding/decoding
|
2001-07-07 14:43:59 +02:00
|
|
|
|
2002-12-03 06:33:31 +01:00
|
|
|
ONLY_FOR_ARCHS= i386 alpha
|
2001-07-07 14:43:59 +02:00
|
|
|
|
2004-08-22 02:56:28 +02:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/ac3dec bin/extract_ac3
|
|
|
|
|
2002-06-07 04:21:52 +02:00
|
|
|
post-patch:
|
2004-08-22 02:56:28 +02:00
|
|
|
.for file in Makefile.in libac3/Makefile.in tools/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^CFLAGS =.*$$|CFLAGS = @CFLAGS@|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
|
|
|
.for file in output.c output_linux.c
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|machine/soundcard.h|sys/soundcard.h|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2002-06-07 04:21:52 +02:00
|
|
|
|
2004-08-22 02:56:28 +02:00
|
|
|
post-install:
|
2001-07-07 14:43:59 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-22 02:56:28 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2001-07-07 14:43:59 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|