aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sfront/Makefile
blob: 81f0d3e1f0b32179622ad56109085482152842e5 (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.91
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   CRITICAL

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=  build
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>