# ex:ts=8
# New ports collection makefile for:	sfront
# Date created:			Nov 4, 2001
# Whom:				ijliao
#
# $FreeBSD: ports/audio/sfront/Makefile,v 1.12 2003/02/20 16:49:50 knu Exp $
#

PORTNAME=	sfront
PORTVERSION=	0.85
CATEGORIES=	audio
MASTER_SITES=	http://www.cs.berkeley.edu/~lazzaro/sa/
DISTNAME=	${PORTNAME}
DIST_SUBDIR=	${PKGNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A translator that converts MP4-SA files into efficient C programs

USE_REINPLACE=	yes
USE_BISON=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}/src
ALL_TARGET=	# empty

post-patch:
	@${REINPLACE_CMD} -e "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/../bin/sfront ${PREFIX}/bin

.include <bsd.port.mk>
