summaryrefslogtreecommitdiff
path: root/audio/ac3dec/Makefile
blob: 60a4f05f00dd06e54aaa5f8ef73e8e2d2e32b114 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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
MASTER_SITES=	http://dara.notbsd.org/~aholtzma/ac3/tarballs/

MAINTAINER=	3d@FreeBSD.org
COMMENT=	Software for research in digital audio coding/decoding

GNU_CONFIGURE=	yes
ONLY_FOR_ARCHS=	i386 alpha

post-patch:
	@${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' \
	    < ${WRKSRC}/output.c > ${WRKSRC}/output.c.new
	@${MV} ${WRKSRC}/output.c.new ${WRKSRC}/output.c

pre-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/ac3dec
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ac3dec/README
.endif

.include <bsd.port.mk>