Lines 2-10
Link Here
|
2 |
# $FreeBSD: head/audio/csound6/Makefile 339832 2014-01-15 22:29:38Z bapt $ |
2 |
# $FreeBSD: head/audio/csound6/Makefile 339832 2014-01-15 22:29:38Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= csound |
4 |
PORTNAME= csound |
5 |
PORTVERSION= 6.02 |
5 |
PORTVERSION= 6.03.2 |
6 |
CATEGORIES= audio lang |
6 |
CATEGORIES= audio lang |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION} |
7 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}6/${PORTNAME:S/c/C/}${PORTVERSION:R} |
8 |
PKGNAMESUFFIX= 6 |
8 |
PKGNAMESUFFIX= 6 |
9 |
DISTNAME= ${PORTNAME:S/c/C/}${PORTVERSION} |
9 |
DISTNAME= ${PORTNAME:S/c/C/}${PORTVERSION} |
10 |
DIST_SUBDIR= csound |
10 |
DIST_SUBDIR= csound |
Lines 20-45
Link Here
|
20 |
gmm++>0:${PORTSDIR}/math/gmm++ |
20 |
gmm++>0:${PORTSDIR}/math/gmm++ |
21 |
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
21 |
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile |
22 |
|
22 |
|
23 |
CONFLICTS= csound-5.* |
23 |
USES= bison cmake |
24 |
|
|
|
25 |
OPTIONS_DEFINE= ALSA DSSI FLTK FLUIDSYNTH JACK LUA NLS OPENMP OSC PNG \ |
26 |
PORTAUDIO PULSEAUDIO |
27 |
OPTIONS_DEFAULT=FLTK OPENMP |
28 |
OPTIONS_SUB= yes |
29 |
ALSA_DESC= Build ALSA I/O module |
30 |
DSSI_DESC= Build DSSI/LADSPA host opcodes |
31 |
FLTK_DESC= Build FLTK plugin and GUI |
32 |
FLUIDSYNTH_DESC=Building FluidSynth opcodes |
33 |
JACK_DESC= Build Jack I/O module and opcodes |
34 |
LUA_DESC= Build Lua Interface and opcodes |
35 |
OSC_DESC= Build OSC opcodes |
36 |
PNG_DESC= Build Image opcodes |
37 |
PORTAUDIO_DESC= Build PortAudio I/O module |
38 |
PULSEAUDIO_DESC=Build PulseAudio I/O module |
39 |
|
40 |
CONFLICTS_INSTALL= outguess-* |
41 |
|
42 |
USES= bison cmake gettext |
43 |
USE_PYTHON= 2 |
24 |
USE_PYTHON= 2 |
44 |
CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ |
25 |
CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ |
45 |
-DBUILD_JAVA_INTERFACE:BOOL=OFF \ |
26 |
-DBUILD_JAVA_INTERFACE:BOOL=OFF \ |
Lines 55-88
Link Here
|
55 |
|
36 |
|
56 |
SUB_FILES= pkg-message |
37 |
SUB_FILES= pkg-message |
57 |
|
38 |
|
|
|
39 |
CONFLICTS= csound-5.* |
40 |
CONFLICTS_INSTALL= outguess-* |
41 |
|
42 |
OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH JACK LUA NLS \ |
43 |
OPENMP OSC PNG PORTAUDIO PULSEAUDIO |
44 |
OPTIONS_DEFAULT= FLTK OPENMP |
45 |
OPTIONS_SUB= yes |
46 |
|
47 |
ALSA_DESC= Build ALSA I/O module |
58 |
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib |
48 |
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib |
59 |
ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF |
49 |
ALSA_CMAKE_OFF= -DUSE_ALSA:BOOL=OFF |
|
|
50 |
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl |
51 |
CURL_CMAKE_OFF= -DUSE_CURL:BOOL=OFF |
52 |
DSSI_DESC= Build DSSI/LADSPA host opcodes |
60 |
DSSI_BUILD_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi |
53 |
DSSI_BUILD_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi |
61 |
DSSI_RUN_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi |
54 |
DSSI_RUN_DEPENDS= dssi>0:${PORTSDIR}/audio/dssi |
62 |
DSSI_CMAKE_OFF= -DBUILD_DSSI_OPCODES:BOOL=OFF |
55 |
DSSI_CMAKE_OFF= -DBUILD_DSSI_OPCODES:BOOL=OFF |
|
|
56 |
FLTK_DESC= Build FLTK plugin and GUI |
63 |
FLTK_LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk |
57 |
FLTK_LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk |
64 |
FLTK_CMAKE_ON= -DBUILD_WINSOUND:BOOL=ON |
58 |
FLTK_CMAKE_ON= -DBUILD_WINSOUND:BOOL=ON |
65 |
FLTK_CMAKE_OFF= -DUSE_FLTK:BOOL=OFF |
59 |
FLTK_CMAKE_OFF= -DBUILD_CSOUND_AC:BOOL=OFF \ |
|
|
60 |
-DBUILD_VIRTUAL_KEYBOARD:BOOL=OFF \ |
61 |
-DUSE_FLTK:BOOL=OFF |
62 |
FLUIDSYNTH_DESC= Building FluidSynth opcodes |
66 |
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth |
63 |
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth |
67 |
FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF |
64 |
FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF |
|
|
65 |
JACK_DESC= Build Jack I/O module and opcodes |
68 |
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack |
66 |
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack |
69 |
JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ |
67 |
JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ |
70 |
-DUSE_JACK:BOOL=OFF |
68 |
-DUSE_JACK:BOOL=OFF |
|
|
69 |
LUA_DESC= Build Lua Interface and opcodes |
71 |
LUA_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit |
70 |
LUA_LIB_DEPENDS= libluajit-5.1.so:${PORTSDIR}/lang/luajit |
72 |
LUA_CMAKE_OFF= -DBUILD_CSOUND_AC_LUA_INTERFACE:BOOL=OFF \ |
71 |
LUA_CMAKE_OFF= -DBUILD_CSOUND_AC_LUA_INTERFACE:BOOL=OFF \ |
73 |
-DBUILD_LUA_INTERFACE:BOOL=OFF \ |
72 |
-DBUILD_LUA_INTERFACE:BOOL=OFF \ |
74 |
-DBUILD_LUA_OPCODES:BOOL=OFF |
73 |
-DBUILD_LUA_OPCODES:BOOL=OFF |
75 |
NLS_USES= gettext |
74 |
NLS_USES= gettext |
76 |
NLS_CMAKE_OFF= -DUSE_GETTEXT:BOOL=OFF |
75 |
NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE="" \ |
|
|
76 |
-DLIBINTL_HEADER:STRING="" \ |
77 |
-DLIBINTL_LIBRARY:STRING="" \ |
78 |
-DUSE_GETTEXT:BOOL=OFF |
77 |
OPENMP_USES= compiler:openmp |
79 |
OPENMP_USES= compiler:openmp |
78 |
OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF |
80 |
OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF |
|
|
81 |
OSC_DESC= Build OSC opcodes |
79 |
OSC_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo |
82 |
OSC_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo |
80 |
OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF |
83 |
OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF |
|
|
84 |
PNG_DESC= Build Image opcodes |
81 |
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png |
85 |
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png |
82 |
PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF |
86 |
PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF |
|
|
87 |
PORTAUDIO_DESC= Build PortAudio I/O module |
83 |
PORTAUDIO_BUILD_DEPENDS=portaudio2>0:${PORTSDIR}/audio/portaudio2 |
88 |
PORTAUDIO_BUILD_DEPENDS=portaudio2>0:${PORTSDIR}/audio/portaudio2 |
84 |
PORTAUDIO_RUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 |
89 |
PORTAUDIO_RUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 |
|
|
90 |
PORTAUDIO_CMAKE_ON= -DPORTAUDIO_INCLUDE_PATH:STRING="${LOCALBASE}/include/portaudio2" \ |
91 |
-DPORTAUDIO_LIBRARY:STRING="${LOCALBASE}/lib/portaudio2/libportaudio.so" |
85 |
PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF |
92 |
PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF |
|
|
93 |
PULSEAUDIO_DESC= Build PulseAudio I/O module |
86 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio |
94 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio |
87 |
PULSEAUDIO_CMAKE_OFF= -DUSE_PULSEAUDIO:BOOL=OFF |
95 |
PULSEAUDIO_CMAKE_OFF= -DUSE_PULSEAUDIO:BOOL=OFF |
88 |
|
96 |
|
Lines 127-134
Link Here
|
127 |
${WRKSRC}/util1/CMakeLists.txt |
135 |
${WRKSRC}/util1/CMakeLists.txt |
128 |
|
136 |
|
129 |
post-install: |
137 |
post-install: |
130 |
.for i in libCsoundAC.so libcsnd6.so libcsound64.so |
138 |
@${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6 |
131 |
@${LN} -sf ${i}.6.0 ${STAGEDIR}${PREFIX}/lib/${i}.6 |
139 |
@${LN} -sf libcsound64.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsound64.so.6 |
132 |
.endfor |
140 |
.if ${PORT_OPTIONS:MFLTK} |
|
|
141 |
@${LN} -sf libCsoundAC.so.6.0 ${STAGEDIR}${PREFIX}/lib/libCsoundAC.so.6 |
142 |
.endif |
133 |
|
143 |
|
134 |
.include <bsd.port.mk> |
144 |
.include <bsd.port.mk> |