2001-06-08 23:46:56 +02:00
|
|
|
# New ports collection makefile for: sbagen
|
|
|
|
# Date created: 08 June 2001
|
|
|
|
# Whom: greid
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sbagen
|
2008-01-11 00:19:50 +01:00
|
|
|
PORTVERSION= 1.4.4
|
2001-06-08 23:46:56 +02:00
|
|
|
CATEGORIES= audio
|
2008-01-11 00:19:50 +01:00
|
|
|
MASTER_SITES= SF
|
2001-06-08 23:46:56 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-11-03 01:54:32 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A sequenced binaural wave generator
|
2001-06-08 23:46:56 +02:00
|
|
|
|
2008-01-11 00:19:50 +01:00
|
|
|
DOC_FILES= ChangeLog.txt README.txt SBAGEN.txt TODO.txt focus.txt \
|
|
|
|
focus2.txt holosync.txt theory.txt theory2.txt wave.txt
|
2001-06-08 23:46:56 +02:00
|
|
|
|
2001-06-08 23:53:06 +02:00
|
|
|
post-patch:
|
2006-03-11 17:14:14 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,linux/soundcard.h,sys/soundcard.h,g' \
|
|
|
|
${WRKSRC}/sbagen.c
|
2001-06-08 23:53:06 +02:00
|
|
|
|
2002-03-31 05:45:43 +02:00
|
|
|
do-build:
|
2006-03-11 17:14:14 +01:00
|
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} -DT_LINUX ${PTHREAD_LIBS} -lm sbagen.c -o sbagen)
|
2002-03-31 05:45:43 +02:00
|
|
|
|
2001-06-08 23:46:56 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sbagen ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
2008-01-11 00:19:50 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${DOC_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2001-06-08 23:46:56 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
2008-01-11 00:19:50 +01:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
|
|
.endif
|
2001-06-08 23:46:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|