Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/audio/csound6/Makefile 385360 2015-05-04 00:33:14Z eadler $ |
2 |
# $FreeBSD: head/audio/csound6/Makefile 385360 2015-05-04 00:33:14Z eadler $ |
3 |
|
3 |
|
4 |
PORTNAME= csound |
4 |
PORTNAME= csound |
5 |
PORTVERSION= 6.04 |
5 |
PORTVERSION= 6.05 |
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} |
8 |
PKGNAMESUFFIX= 6 |
8 |
PKGNAMESUFFIX= 6 |
Lines 23-32
Link Here
|
23 |
USES= bison cmake python:2 |
23 |
USES= bison cmake python:2 |
24 |
CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ |
24 |
CMAKE_ARGS= -DBUILD_CSOUNDVST:BOOL=OFF \ |
25 |
-DBUILD_JAVA_INTERFACE:BOOL=OFF \ |
25 |
-DBUILD_JAVA_INTERFACE:BOOL=OFF \ |
|
|
26 |
-DBUILD_P5GLOVE_OPCODES:BOOL=OFF \ |
26 |
-DBUILD_PD_CLASS:BOOL=OFF \ |
27 |
-DBUILD_PD_CLASS:BOOL=OFF \ |
27 |
-DBUILD_STK_OPCODES:BOOL=OFF \ |
28 |
-DBUILD_STK_OPCODES:BOOL=OFF \ |
28 |
-DBUILD_TESTS:BOOL=OFF \ |
29 |
-DBUILD_TESTS:BOOL=OFF \ |
29 |
-DPYTHON_MODULE_INSTALL_DIR:STRING="${PYTHONPREFIX_SITELIBDIR}" |
30 |
-DBUILD_WIIMOTE_OPCODES:BOOL=OFF \ |
|
|
31 |
-DPYTHON_MODULE_INSTALL_DIR:PATH="${PYTHONPREFIX_SITELIBDIR}" |
30 |
USE_LDCONFIG= yes |
32 |
USE_LDCONFIG= yes |
31 |
SSP_UNSAFE= yes |
33 |
SSP_UNSAFE= yes |
32 |
|
34 |
|
Lines 38-44
Link Here
|
38 |
CONFLICTS= csound-5.* |
40 |
CONFLICTS= csound-5.* |
39 |
CONFLICTS_INSTALL= outguess-* |
41 |
CONFLICTS_INSTALL= outguess-* |
40 |
|
42 |
|
41 |
OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH JACK LUA NLS \ |
43 |
OPTIONS_DEFINE= ALSA CURL DSSI FLTK FLUIDSYNTH HDF5 JACK LUA NLS \ |
42 |
OPENMP OSC PNG PORTAUDIO PULSEAUDIO |
44 |
OPENMP OSC PNG PORTAUDIO PULSEAUDIO |
43 |
OPTIONS_DEFAULT= FLTK OPENMP |
45 |
OPTIONS_DEFAULT= FLTK OPENMP |
44 |
OPTIONS_SUB= yes |
46 |
OPTIONS_SUB= yes |
Lines 63-68
Link Here
|
63 |
FLUIDSYNTH_DESC= Building FluidSynth opcodes |
65 |
FLUIDSYNTH_DESC= Building FluidSynth opcodes |
64 |
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth |
66 |
FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth |
65 |
FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF |
67 |
FLUIDSYNTH_CMAKE_OFF= -DBUILD_FLUID_OPCODES:BOOL=OFF |
|
|
68 |
HDF5_DESC= Build HDF5 read/write opcodes |
69 |
HDF5_LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5 |
70 |
HDF5_CMAKE_OFF= -DBUILD_HDF5_OPCODES:BOOL=OFF |
66 |
JACK_DESC= Build Jack I/O module and opcodes |
71 |
JACK_DESC= Build Jack I/O module and opcodes |
67 |
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack |
72 |
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack |
68 |
JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ |
73 |
JACK_CMAKE_OFF= -DBUILD_JACK_OPCODES:BOOL=OFF \ |
Lines 73-95
Link Here
|
73 |
-DBUILD_LUA_INTERFACE:BOOL=OFF \ |
78 |
-DBUILD_LUA_INTERFACE:BOOL=OFF \ |
74 |
-DBUILD_LUA_OPCODES:BOOL=OFF |
79 |
-DBUILD_LUA_OPCODES:BOOL=OFF |
75 |
NLS_USES= gettext |
80 |
NLS_USES= gettext |
76 |
NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE="" \ |
81 |
NLS_CMAKE_OFF= -DGETTEXT_MSGFMT_EXECUTABLE:FILEPATH="" \ |
77 |
-DLIBINTL_HEADER:STRING="" \ |
82 |
-DGETTEXT_MSGMERGE_EXECUTABLE:FILEPATH="" \ |
78 |
-DLIBINTL_LIBRARY:STRING="" \ |
83 |
-DLIBINTL_LIBRARY:FILEPATH="" \ |
79 |
-DUSE_GETTEXT:BOOL=OFF |
84 |
-DUSE_GETTEXT:BOOL=OFF |
80 |
OPENMP_USES= compiler:openmp |
85 |
OPENMP_USES= compiler:gcc-c++11-lib |
|
|
86 |
OPENMP_USES_OFF= compiler:c++11-lib |
81 |
OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF |
87 |
OPENMP_CMAKE_OFF= -DUSE_OPEN_MP:BOOL=OFF |
82 |
OSC_DESC= Build OSC opcodes |
88 |
OSC_DESC= Build OSC opcodes |
83 |
OSC_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo |
89 |
OSC_LIB_DEPENDS= liblo.so:${PORTSDIR}/audio/liblo |
84 |
OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF |
90 |
OSC_CMAKE_OFF= -DBUILD_OSC_OPCODES:BOOL=OFF |
85 |
PNG_DESC= Build Image opcodes |
91 |
PNG_DESC= Build Image opcodes |
86 |
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png |
92 |
PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png |
87 |
PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF |
93 |
PNG_CMAKE_OFF= -DBUILD_IMAGE_OPCODES:BOOL=OFF |
88 |
PORTAUDIO_DESC= Build PortAudio I/O module |
94 |
PORTAUDIO_DESC= Build PortAudio I/O module |
89 |
PORTAUDIO_BUILD_DEPENDS=portaudio2>0:${PORTSDIR}/audio/portaudio2 |
95 |
PORTAUDIO_LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2 |
90 |
PORTAUDIO_RUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 |
96 |
PORTAUDIO_CMAKE_ON= -DPORTAUDIO_INCLUDE_PATH:PATH="${LOCALBASE}/include/portaudio2" \ |
91 |
PORTAUDIO_CMAKE_ON= -DPORTAUDIO_INCLUDE_PATH:STRING="${LOCALBASE}/include/portaudio2" \ |
97 |
-DPORTAUDIO_LIBRARY:FILEPATH="${LOCALBASE}/lib/portaudio2/libportaudio.so" |
92 |
-DPORTAUDIO_LIBRARY:STRING="${LOCALBASE}/lib/portaudio2/libportaudio.so" |
|
|
93 |
PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF |
98 |
PORTAUDIO_CMAKE_OFF= -DUSE_PORTAUDIO:BOOL=OFF |
94 |
PULSEAUDIO_DESC= Build PulseAudio I/O module |
99 |
PULSEAUDIO_DESC= Build PulseAudio I/O module |
95 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio |
100 |
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio |
Lines 129-143
Link Here
|
129 |
s| dl)|)|' \ |
134 |
s| dl)|)|' \ |
130 |
${WRKSRC}/Opcodes/CMakeLists.txt |
135 |
${WRKSRC}/Opcodes/CMakeLists.txt |
131 |
@${REINPLACE_CMD} -e \ |
136 |
@${REINPLACE_CMD} -e \ |
132 |
'/CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"| ; \ |
137 |
'/CMAKE_SYSTEM_NAME/s|"Linux"|"${OPSYS}"|' \ |
133 |
s|--{WINSOUND_H}|$${WINSOUND_H}|' \ |
|
|
134 |
${WRKSRC}/frontends/CMakeLists.txt |
138 |
${WRKSRC}/frontends/CMakeLists.txt |
135 |
@${REINPLACE_CMD} -e \ |
139 |
@${REINPLACE_CMD} -e \ |
136 |
's| mixer)| csmixer)|' \ |
140 |
's| mixer)| csmixer)|' \ |
137 |
${WRKSRC}/util/CMakeLists.txt |
141 |
${WRKSRC}/util/CMakeLists.txt |
138 |
@${REINPLACE_CMD} -e \ |
|
|
139 |
's|_IS_GNUCC)|_IS_GNUCC OR __COMPILER_CLANG)|' \ |
140 |
${WRKSRC}/util1/CMakeLists.txt |
141 |
|
142 |
|
142 |
post-install: |
143 |
post-install: |
143 |
@${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6 |
144 |
@${LN} -sf libcsnd6.so.6.0 ${STAGEDIR}${PREFIX}/lib/libcsnd6.so.6 |