summaryrefslogtreecommitdiff
path: root/audio/csound5/Makefile
diff options
context:
space:
mode:
authorben <ben>2006-05-21 22:46:22 +0000
committerben <ben>2006-05-21 22:46:22 +0000
commite1116657d36555ffa840fc73ad71b93691205091 (patch)
tree8ffa95e498386fc7bdcb77bd49bd66ca8715faf3 /audio/csound5/Makefile
parent6cf5611618687b7b7fb122d638f5f3dd91c8767c (diff)
downloadpkgsrc-e1116657d36555ffa840fc73ad71b93691205091.tar.gz
Initial import of csound5 version 5.01, a software synthesizer and
sequencer. Csound is a software synthesis package in the tradition of so-called music-N languages, among which the best-known is Music V. It consists of an orchestra- and score-driven executable, written in C for portability. Since Csound is a computational language, it is highly flexible and efficient; complexity is gained only at the expense of computation time. To do: - fix pthread issues in csound5 (is breaking realtime audio) - use options.mk framework for various modules - enable portaudio module (requires audio/portaudio-devel) - port portmidi to netbsd
Diffstat (limited to 'audio/csound5/Makefile')
-rw-r--r--audio/csound5/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/csound5/Makefile b/audio/csound5/Makefile
new file mode 100644
index 00000000000..f895999fa47
--- /dev/null
+++ b/audio/csound5/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 22:46:22 ben Exp $
+#
+
+DISTNAME= Csound${CSOUND_VERSION}_src
+PKGNAME= csound5-${CSOUND_VERSION}
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=csound/}
+WRKSRC= ${WRKDIR}/Csound${CSOUND_VERSION}
+
+MAINTAINER= ben@NetBSD.org
+HOMEPAGE= http://sourceforge.net/projects/csound/
+COMMENT= Software synthesizer and sequencer
+
+CSOUND_VERSION= 5.01
+USE_LANGUAGES= c c++
+CFLAGS+= -g -D__PKGSRC_PREFIX__=${PREFIX}/ -DBETA
+BUILD_DEPENDS+= scons>=0.96:../../devel/scons
+NOT_FOR_PLATFORM= *-*-alpha *-*-sparc64 # Severe LP64 problems
+SCONS= ${PREFIX}/bin/scons
+SCONS_ARGS= -C ${WRKSRC} prefix=${PREFIX}
+SCONS_ARGS+= buildDSSI=0 buildLoris=0 buildRelease=1
+SCONS_ARGS+= useALSA=0 useJack=0 useOSC=0 usePortMIDI=0
+SCONS_ARGS+= usePortAudio=0
+
+do-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS}
+
+do-install:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS} install
+ cd ${PREFIX} && ${LN} -s ../lib/csound5/csound bin/csound5
+
+.include "../../audio/fluidsynth/buildlink3.mk"
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../devel/swig/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python24/buildlink3.mk"
+.include "../../x11/fltk/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"