# New ports collection makefile for: play
# Date created:		20 May 1998
# Whom:			Masanori Kiriake <seiken@nbs.co.jp>
#
# $FreeBSD: ports/audio/play/Makefile,v 1.10 2003/02/21 10:59:33 knu Exp $
#

PORTNAME=	play
PORTVERSION=	1.0
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_PORTS_JP}

MAINTAINER=	seiken@ARGV.AC
COMMENT=	A simple audio file player

MANLANG=	ja
MAN1=		play.1
MANCOMPRESSED = yes

post-patch:
.for file in play_audio.c mixer_ctl.c encode_sun.c encode_riff.c speed.c
	@${CHMOD} u+w ${WRKSRC}/${file}
	@${SED} 's,machine/soundcard.h,sys/soundcard.h,' < ${WRKSRC}/${file} \
		> ${WRKSRC}/${file}.new
	@${MV} ${WRKSRC}/${file}.new ${WRKSRC}/${file}
.endfor

.include <bsd.port.mk>
