summaryrefslogtreecommitdiff
path: root/audio/ac3dec/Makefile
blob: c39f96e8390cea7b2f802a8cd44da936fedfd2d1 (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
# 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

GNU_CONFIGURE=	yes
USE_NEWGCC=	yes

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>