aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sbagen/Makefile
blob: bfbc9e5c1bcebf27c062a9e2f26420cbf22a098f (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
37
# Created by: George Reid <greid@FreeBSD.org>
# $FreeBSD$

PORTNAME=   sbagen
PORTVERSION=    1.4.5
CATEGORIES= audio
MASTER_SITES=   SF
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Sequenced binaural wave generator

LICENSE=    GPLv2

PORTDOCS=   ChangeLog.txt README.txt SBAGEN.txt TODO.txt focus.txt \
        focus2.txt holosync.txt theory.txt theory2.txt wave.txt

OPTIONS_DEFINE= DOCS EXAMPLES

.include <bsd.port.options.mk>

do-build:
    (cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX -pthread -lm \
        sbagen.c -o sbagen)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
    @${MKDIR} ${EXAMPLESDIR}
    (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>