summaryrefslogtreecommitdiff
path: root/audio/sfront/Makefile
blob: d3ae67f2d43c87215e36c4776104e2546aa5f430 (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
31
32
33
34
35
36
# New ports collection makefile for:	sfront
# Date created:				Nov 4, 2001
# Whom:					ijliao
#
# $FreeBSD$
#

PORTNAME=	sfront
PORTVERSION=	0.89
CATEGORIES=	audio
MASTER_SITES=	http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/

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

PORTDOCS=	book sfman

WRKSRC=		${WRKDIR}/${PORTNAME}/src

USE_BISON=	yes
MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET=	${PORTNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/sfront ${PREFIX}/bin
	${CP} -R ${WRKDIR}/sfront/examples/ ${EXAMPLESDIR}

.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for d in ${PORTDOCS}
	${CP} -R ${WRKDIR}/sfront/${d} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>