freebsd-ports/audio/sbagen/Makefile
2014-01-17 22:11:12 +00:00

31 lines
798 B
Makefile

# 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
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX -pthread -lm \
sbagen.c -o sbagen)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>