Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= freeswitch |
8 |
PORTNAME= freeswitch |
9 |
DISTVERSION= 1.2.rc2 |
9 |
DISTVERSION= 1.2.rc2 |
10 |
PORTREVISION= 2 |
10 |
PORTREVISION= 3 |
11 |
CATEGORIES= net |
11 |
CATEGORIES= net |
12 |
MASTER_SITES= http://files.freeswitch.org/ \ |
12 |
MASTER_SITES= http://files.freeswitch.org/ \ |
13 |
http://files.freeswitch.org/downloads/libs/:2 \ |
13 |
http://files.freeswitch.org/downloads/libs/:2 \ |
Lines 96-187
Link Here
|
96 |
|
96 |
|
97 |
SAMPLESDIR= conf conf/autoload_configs |
97 |
SAMPLESDIR= conf conf/autoload_configs |
98 |
|
98 |
|
99 |
OPTIONS= REBOOTSTRAP "Rebootstrap freeswitch build" on \ |
99 |
OPTIONS_DEFINE= REBOOTSTRAP MODABSTRACTION MODAVMD MODCALLCENTER MODCIDLOOKUP MODBLACKLIST MODCURL \ |
100 |
MODABSTRACTION "Simplify/Standarize API" on \ |
100 |
MODDISTRIBUTOR MODEASYROUTE MODFSK MODHTTAPI MODHTTPCACHE MODDIRECTORY MODLADSPA \ |
101 |
MODAVMD "Detects voicemail generalized approach" on \ |
101 |
MODLCR MODMEMCACHE MODNIBBLEBILL MODRSS MODSNOM MODSPY MODSOUNDTOUCH MODSTRESS MODSNAPSHOT \ |
102 |
MODCALLCENTER "Call queuing application" on \ |
102 |
MODVMD MODVOICEMAILIVR MODAMRWB MODCELT MODCODEC2 MODISAC MODOPUS MODSILK MODDPASTERISK \ |
103 |
MODCIDLOOKUP "Lookup CID via database, url" on\ |
103 |
MODDPDIRECTORY MODDINGALING MODFREETDM MODPORTAUDIO MODRTMP MODSKINNY MODFLITE MODPOCKETSPHINX \ |
104 |
MODBLACKLIST "Blacklisk phone numbers" on \ |
104 |
MODTTSCMDLINE MODUNIMRCP MODCDRPGCSV MODERLANGEVENT MODMULTICAST MODEVENTZMQ MODSNMP MODVLC \ |
105 |
MODCURL "Allows scripts to make HTTP requests" off \ |
105 |
MODPASTREAM MODSHELLSTREAM MODSHOUT MODMANAGED MODPERL MODPYTHON MODPOSIXTIMER MODXMLCURL \ |
106 |
MODDISTRIBUTOR "Simple round-robin style distributions" on \ |
106 |
MODXMLODBC MODXMLRPC MODSAYDE MODSAYES MODSAYEN MODSAYFR MODSAYHE MODSAYHU MODSAYIT MODSAYNL \ |
107 |
MODEASYROUTE "DID Database lookup" off \ |
107 |
MODSAYPT MODSAYRU MODSAYTH MODSAYZH |
108 |
MODFSK "FSK (Frequency-Shift Keying) data transfer" on \ |
|
|
109 |
MODHTTAPI "HTTP API" on \ |
110 |
MODHTTPCACHE "HTTP GET with caching" off \ |
111 |
MODDIRECTORY "Dial by name directory" on \ |
112 |
MODLADSPA "use Auto-tune on your call" off \ |
113 |
MODLCR "Least Cost Routing" off \ |
114 |
MODMEMCACHE "Memcached API" off \ |
115 |
MODNIBBLEBILL "Billing Module" off \ |
116 |
MODRSS "RSS feed text to speech" on \ |
117 |
MODSNOM "Controlling softkeys on Snom phones" on \ |
118 |
MODSPY "Extension/Call Spy tool" on \ |
119 |
MODSOUNDTOUCH "Pitch shifting audio effects" on \ |
120 |
MODSTRESS "Detect Stress in voice" off \ |
121 |
MODSNAPSHOT "Audio/Disk Snapshot Tool" off \ |
122 |
MODVMD "Voicemail Beep Detection" on \ |
123 |
MODVOICEMAILIVR "IVR Based Voicemail(NEW)" on \ |
124 |
MODAMRWB "GSM-AMRWB (ARM Wide Band) codec" on \ |
125 |
MODCELT "Celt ultra-low delay audio codec" on \ |
126 |
MODCODEC2 "Freeswitch Codec2 Module" on \ |
127 |
MODISAC "Isac Codec (New Codec)" on \ |
128 |
MODOPUS "OPUS ultra-low delay audio codec" on \ |
129 |
MODSILK "Skype Silk Codec (Broken/BUILD ISSUES)" off \ |
130 |
MODDPASTERISK "Asterisk Dialplan (Old School Dialplan)" off \ |
131 |
MODDPDIRECTORY "obtain dialplan from a directory resource" off \ |
132 |
MODDINGALING "Jabber/Google Talk integration module" on \ |
133 |
MODFREETDM "Interface to Zaptel hardware End Points" off \ |
134 |
MODPORTAUDIO "Portaudio API" on \ |
135 |
MODRTMP "Real time media protocol" on \ |
136 |
MODSKINNY "Skinny/SCCP" on \ |
137 |
MODFLITE "Free open source Text to Speech" on \ |
138 |
MODPOCKETSPHINX "Free open source Speech Recognition" on \ |
139 |
MODTTSCMDLINE "Play Sounds via commandline" on \ |
140 |
MODUNIMRCP "Open MRCP implementation ASR/Text" off \ |
141 |
MODCDRPGCSV "Asterisk Compatible CDR PostgreSQL" off \ |
142 |
MODERLANGEVENT "send/receive events/commands in Erlang" off \ |
143 |
MODMULTICAST "Broadcasts events to netmask" on \ |
144 |
MODEVENTZMQ "Zeroconf config socket" off \ |
145 |
MODSNMP "SNMP AgentX module" off \ |
146 |
MODVLC "Play local mp3 files any rate(NEW Testing)" off \ |
147 |
MODPASTREAM "PortAudio Streaming Module" on \ |
148 |
MODSHELLSTREAM "Stream audio via shell command" on \ |
149 |
MODSHOUT "Play local mp3 files any rate(Build Error)" off \ |
150 |
MODMANAGED "Common Language Infrastructure API" off \ |
151 |
MODPERL "Perl Lang Support" on \ |
152 |
MODPYTHON "Python Lang Suppot" on \ |
153 |
MODPOSIXTIMER "Posix timer (New/Testing)" on \ |
154 |
MODXMLCURL "XML dynamically control of FreeSWITCH" on \ |
155 |
MODXMLODBC "XML ODBC Module" on \ |
156 |
MODXMLRPC "XML Remote Procedure Calls" on \ |
157 |
MODSAYDE "German Voice Prompts" off \ |
158 |
MODSAYES "Spanish Voice Prompts" off \ |
159 |
MODSAYEN "English Voice Prompts" on \ |
160 |
MODSAYFR "French Voice Prompts" off \ |
161 |
MODSAYHE "Hebrew Voice Prompts" off \ |
162 |
MODSAYHU "Hungarian Voice Propmts" off \ |
163 |
MODSAYIT "Italian Voice Propmts" off \ |
164 |
MODSAYNL "Dutch Voice Propmts" off \ |
165 |
MODSAYPT "Portuguese Voice Propmts" off \ |
166 |
MODSAYRU "Russian Voice Propmts" off \ |
167 |
MODSAYTH "Thai Voice Propmts" off \ |
168 |
MODSAYZH "Chinese Voice Propmts" off |
169 |
|
108 |
|
|
|
109 |
REBOOTSTRAP_DESC= Rebootstrap freeswitch build |
110 |
MODABSTRACTION_DESC= Simplify/Standarize API |
111 |
MODAVMD_DESC= Detects voicemail generalized approach |
112 |
MODCALLCENTER_DESC= Call queuing application |
113 |
MODCIDLOOKUP_DESC= Lookup CID via database, url |
114 |
MODBLACKLIST_DESC= Blacklisk phone numbers |
115 |
MODCURL_DESC= Allows scripts to make HTTP requests |
116 |
MODDISTRIBUTOR_DESC= Simple round-robin style distributions |
117 |
MODEASYROUTE_DESC= DID Database lookup |
118 |
MODFSK_DESC= FSK (Frequency-Shift Keying) data transfer |
119 |
MODHTTAPI_DESC= HTTP API |
120 |
MODHTTPCACHE_DESC= HTTP GET with caching |
121 |
MODDIRECTORY_DESC= Dial by name directory |
122 |
MODLADSPA_DESC= use Auto-tune on your call |
123 |
MODLCR_DESC= Least Cost Routing |
124 |
MODMEMCACHE_DESC= Memcached API |
125 |
MODNIBBLEBILL_DESC= Billing Module |
126 |
MODRSS_DESC= RSS feed text to speech |
127 |
MODSNOM_DESC= Controlling softkeys on Snom phones |
128 |
MODSPY_DESC= Extension/Call Spy tool |
129 |
MODSOUNDTOUCH_DESC= Pitch shifting audio effects |
130 |
MODSTRESS_DESC= Detect Stress in voice |
131 |
MODSNAPSHOT_DESC= Audio/Disk Snapshot Tool |
132 |
MODVMD_DESC= Voicemail Beep Detection |
133 |
MODVOICEMAILIVR_DESC= IVR Based Voicemail(NEW) |
134 |
MODAMRWB_DESC= GSM-AMRWB (ARM Wide Band) codec |
135 |
MODCELT_DESC= Celt ultra-low delay audio codec |
136 |
MODCODEC2_DESC= Freeswitch Codec2 Module |
137 |
MODISAC_DESC= Isac Codec (New Codec) |
138 |
MODOPUS_DESC= OPUS ultra-low delay audio codec |
139 |
MODSILK_DESC= Skype Silk Codec (Broken/BUILD ISSUES) |
140 |
MODDPASTERISK_DESC= Asterisk Dialplan (Old School Dialplan) |
141 |
MODDPDIRECTORY_DESC= obtain dialplan from a directory resource |
142 |
MODDINGALING_DESC= Jabber/Google Talk integration module |
143 |
MODFREETDM_DESC= Interface to Zaptel hardware End Points |
144 |
MODPORTAUDIO_DESC= Portaudio API |
145 |
MODRTMP_DESC= Real time media protocol |
146 |
MODSKINNY_DESC= Skinny/SCCP |
147 |
MODFLITE_DESC= Free open source Text to Speech |
148 |
MODPOCKETSPHINX_DESC= Free open source Speech Recognition |
149 |
MODTTSCMDLINE_DESC= Play Sounds via commandline |
150 |
MODUNIMRCP_DESC= Open MRCP implementation ASR/Text |
151 |
MODCDRPGCSV_DESC= Asterisk Compatible CDR PostgreSQL |
152 |
MODERLANGEVENT_DESC= send/receive events/commands in Erlang |
153 |
MODMULTICAST_DESC= Broadcasts events to netmask |
154 |
MODEVENTZMQ_DESC= Zeroconf config socket |
155 |
MODSNMP_DESC= SNMP AgentX module |
156 |
MODVLC_DESC= Play local mp3 files any rate(NEW Testing) |
157 |
MODPASTREAM_DESC= PortAudio Streaming Module |
158 |
MODSHELLSTREAM_DESC= Stream audio via shell command |
159 |
MODSHOUT_DESC= Play local mp3 files any rate(Build Error) |
160 |
MODMANAGED_DESC= Common Language Infrastructure API |
161 |
MODPERL_DESC= Perl Lang Support |
162 |
MODPYTHON_DESC= Python Lang Suppot |
163 |
MODPOSIXTIMER_DESC= Posix timer (New/Testing) |
164 |
MODXMLCURL_DESC= XML dynamically control of FreeSWITCH |
165 |
MODXMLODBC_DESC= XML ODBC Module |
166 |
MODXMLRPC_DESC= XML Remote Procedure Calls |
167 |
MODSAYDE_DESC= German Voice Prompts |
168 |
MODSAYES_DESC= Spanish Voice Prompts |
169 |
MODSAYEN_DESC= English Voice Prompts |
170 |
MODSAYFR_DESC= French Voice Prompts |
171 |
MODSAYHE_DESC= Hebrew Voice Prompts |
172 |
MODSAYHU_DESC= Hungarian Voice Propmts |
173 |
MODSAYIT_DESC= Italian Voice Propmts |
174 |
MODSAYNL_DESC= Dutch Voice Propmts |
175 |
MODSAYPT_DESC= Portuguese Voice Propmts |
176 |
MODSAYRU_DESC= Russian Voice Propmts |
177 |
MODSAYTH_DESC= Thai Voice Propmts |
178 |
MODSAYZH_DESC= Chinese Voice Propmts" |
179 |
|
180 |
OPTIONS_DEFAULT= REBOOTSTRAP MODABSTRACTION MODAVMD MODCALLCENTER MODCIDLOOKUP MODBLACKLIST MODCURL \ |
181 |
MODDISTRIBUTOR MODEASYROUTE MODFSK MODHTTAPI MODHTTPCACHE MODDIRECTORY MODLADSPA MODLCR MODMEMCACHE \ |
182 |
MODNIBBLEBILL MODRSS MODSNOM MODSPY MODVMD MODVOICEMAILIVR MODAMRWB MODCELT MODCODEC2 MODISAC MODOPUS \ |
183 |
MODDPDIRECTORY MODDINGALING MODPORTAUDIO MODRTMP MODSKINNY MODFLITE MODPOCKETSPHINX MODTTSCMDLINE MODUNIMRCP \ |
184 |
MODMULTICAST MODEVENTZMQ MODPASTREAM MODSHELLSTREAM MODSHOUT MODPERL MODPYTHON MODPOSIXTIMER MODXMLCURL \ |
185 |
MODXMLODBC MODXMLRPC MODSAYEN |
186 |
|
187 |
NO_OPTIONS_SORT= yes |
188 |
|
170 |
.include <bsd.port.options.mk> |
189 |
.include <bsd.port.options.mk> |
171 |
|
190 |
|
172 |
.if ${ARCH} == "amd64" |
191 |
.if ${ARCH} == "amd64" |
173 |
CFLAGS+= -fPIC |
192 |
CFLAGS+= -fPIC |
174 |
.endif |
193 |
.endif |
175 |
|
194 |
|
176 |
.for i in ${OPTIONS:Non:Noff:N"*"} |
195 |
.for opt in ${ALL_OPTIONS} |
177 |
.if defined(WITH_${i}) |
196 |
.if (PORT_OPTIONS:M${opt}) |
178 |
PLIST_SUB+= ${i}="" |
197 |
PLIST_SUB+= ${opt}="" |
179 |
.else |
198 |
.else |
180 |
PLIST_SUB+= ${i}="@comment " |
199 |
PLIST_SUB+= ${opt}="@comment " |
181 |
.endif |
200 |
.endif |
182 |
.endfor |
201 |
.endfor |
183 |
|
202 |
|
184 |
.if defined(WITH_MODFREETDM) |
203 |
.if ${PORT_OPTIONS:MMODFREETDM} |
185 |
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108) |
204 |
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108) |
186 |
IGNORE= sorry you can not use mod_freetdm on this version of freebsd ( dahdi support broken ) please update |
205 |
IGNORE= sorry you can not use mod_freetdm on this version of freebsd ( dahdi support broken ) please update |
187 |
.else |
206 |
.else |
Lines 192-224
Link Here
|
192 |
.endif |
211 |
.endif |
193 |
.endif |
212 |
.endif |
194 |
|
213 |
|
195 |
.if defined(WITH_MODSHOUT) |
214 |
.if ${PORT_OPTIONS:MMODSHOUT} |
196 |
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis |
215 |
LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis |
197 |
.endif |
216 |
.endif |
198 |
|
217 |
|
199 |
.if defined(WITH_MODPERL) |
218 |
.if ${PORT_OPTIONS:MMODPERL} |
200 |
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm \ |
219 |
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm \ |
201 |
db:${PORTSDIR}/databases/db42 |
220 |
db:${PORTSDIR}/databases/db42 |
202 |
.endif |
221 |
.endif |
203 |
|
222 |
|
204 |
.if defined(WITH_MODERLANGEVENT) |
223 |
.if ${PORT_OPTIONS:MMODERLANGEVENT} |
205 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite |
224 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang-lite |
206 |
.endif |
225 |
.endif |
207 |
|
226 |
|
208 |
.if defined(WITH_MODPYTHON) |
227 |
.if ${PORT_OPTIONS:MMODPYTHON} |
209 |
USE_PYTHON= yes |
228 |
USE_PYTHON= yes |
210 |
.endif |
229 |
.endif |
211 |
|
230 |
|
212 |
.if defined(WITH_MODCDRPGCSV) |
231 |
.if ${PORT_OPTIONS:MMODCDRPGCSV} |
213 |
USE_PGSQL= yes |
232 |
USE_PGSQL= yes |
214 |
.endif |
233 |
.endif |
215 |
|
234 |
|
216 |
.if defined(WITH_MODSNMP) |
235 |
.if ${PORT_OPTIONS:MMODSNMP} |
217 |
BUILD_DEPENDS+= ${LOCALBASE}/include/net-snmp/definitions.h:${PORTSDIR}/net-mgmt/net-snmp |
236 |
BUILD_DEPENDS+= ${LOCALBASE}/include/net-snmp/definitions.h:${PORTSDIR}/net-mgmt/net-snmp |
218 |
RUN_DEPENDS+= ${LOCALBASE}/include/net-snmp/definitions.h:${PORTSDIR}/net-mgmt/net-snmp |
237 |
RUN_DEPENDS+= ${LOCALBASE}/include/net-snmp/definitions.h:${PORTSDIR}/net-mgmt/net-snmp |
219 |
.endif |
238 |
.endif |
220 |
|
239 |
|
221 |
.if defined(WITH_MODLADSPA) |
240 |
.if ${PORT_OPTIONS:MMODLADSPA} |
222 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa \ |
241 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa \ |
223 |
${LOCALBASE}/lib/ladspa/tap_autopan.so:${PORTSDIR}/audio/tap-plugins \ |
242 |
${LOCALBASE}/lib/ladspa/tap_autopan.so:${PORTSDIR}/audio/tap-plugins \ |
224 |
${LOCALBASE}/lib/ladspa/cmt.so:${PORTSDIR}/audio/cmt \ |
243 |
${LOCALBASE}/lib/ladspa/cmt.so:${PORTSDIR}/audio/cmt \ |
Lines 231-237
Link Here
|
231 |
${LOCALBASE}/lib/ladspa/autotalent.so:${PORTSDIR}/audio/autotalent |
250 |
${LOCALBASE}/lib/ladspa/autotalent.so:${PORTSDIR}/audio/autotalent |
232 |
.endif |
251 |
.endif |
233 |
|
252 |
|
234 |
.if defined(WITH_MODVLC) |
253 |
.if ${PORT_OPTIONS:MMODVLC} |
235 |
LIB_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc |
254 |
LIB_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc |
236 |
RUN_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc |
255 |
RUN_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc |
237 |
.endif |
256 |
.endif |
Lines 247-332
Link Here
|
247 |
@${REINPLACE_CMD} -e 's|base=http://files.freeswitch.org/downloads/libs/|base=file://${DISTDIR}/${DIST_SUBDIR}/|g' ${WRKSRC}/build/getlib.sh.in |
266 |
@${REINPLACE_CMD} -e 's|base=http://files.freeswitch.org/downloads/libs/|base=file://${DISTDIR}/${DIST_SUBDIR}/|g' ${WRKSRC}/build/getlib.sh.in |
248 |
@${REINPLACE_CMD} -e 's|2.1.9|2.1.11|g' ${WRKSRC}/src/mod/event_handlers/mod_event_zmq/Makefile |
267 |
@${REINPLACE_CMD} -e 's|2.1.9|2.1.11|g' ${WRKSRC}/src/mod/event_handlers/mod_event_zmq/Makefile |
249 |
@${REINPLACE_CMD} -e 's|\$$(MAKE) samples-conf|##\$$(MAKE) samples-conf|g' ${WRKSRC}/Makefile.am |
268 |
@${REINPLACE_CMD} -e 's|\$$(MAKE) samples-conf|##\$$(MAKE) samples-conf|g' ${WRKSRC}/Makefile.am |
250 |
.if defined(WITH_REBOOTSTRAP) |
269 |
.if ${PORT_OPTIONS:MREBOOTSTRAP} |
251 |
cd ${WRKSRC} && ./rebootstrap.sh |
270 |
cd ${WRKSRC} && ./rebootstrap.sh |
252 |
.endif |
271 |
.endif |
253 |
|
272 |
|
254 |
post-configure: |
273 |
post-configure: |
255 |
.for i in mod_unimrcp mod_flite mod_pocketsphinx |
274 |
.for i in mod_unimrcp mod_flite mod_pocketsphinx |
256 |
.if defined(WITH_${i:S/_//g:U}) |
275 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
257 |
@${REINPLACE_CMD} -e 's|#\(asr_tts/${i}\)|\1|g' ${WRKSRC}/modules.conf |
276 |
@${REINPLACE_CMD} -e 's|#\(asr_tts/${i}\)|\1|g' ${WRKSRC}/modules.conf |
258 |
.endif |
277 |
.endif |
259 |
.endfor |
278 |
.endfor |
260 |
.if defined(WITH_MODTTSCMDLINE) |
279 |
.if ${PORT_OPTIONS:MMODTTSCMDLINE}} |
261 |
@${REINPLACE_CMD} -e 's|#asr_tts/mod_tts_commandline|asr_tts/mod_tts_commandline|g' ${WRKSRC}/modules.conf |
280 |
@${REINPLACE_CMD} -e 's|#asr_tts/mod_tts_commandline|asr_tts/mod_tts_commandline|g' ${WRKSRC}/modules.conf |
262 |
.endif |
281 |
.endif |
263 |
.for i in mod_cidlookup mod_easyroute mod_lcr mod_soundtouch mod_rss mod_snom \ |
282 |
.for i in mod_cidlookup mod_easyroute mod_lcr mod_soundtouch mod_rss mod_snom \ |
264 |
mod_vmd mod_avmd mod_spy mod_curl mod_nibblebill mod_memcache mod_directory mod_distributor \ |
283 |
mod_vmd mod_avmd mod_spy mod_curl mod_nibblebill mod_memcache mod_directory mod_distributor \ |
265 |
mod_snapshot mod_callcenter mod_fsk mod_ladspa mod_blacklist mod_http_cache mod_abstraction \ |
284 |
mod_snapshot mod_callcenter mod_fsk mod_ladspa mod_blacklist mod_http_cache mod_abstraction \ |
266 |
mod_voicemail_ivr mod_httapi |
285 |
mod_voicemail_ivr mod_httapi |
267 |
.if defined(WITH_${i:S/_//g:U}) |
286 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
268 |
@${REINPLACE_CMD} -e 's|#\(applications/${i}\)|\1|g' ${WRKSRC}/modules.conf |
287 |
@${REINPLACE_CMD} -e 's|#\(applications/${i}\)|\1|g' ${WRKSRC}/modules.conf |
269 |
.endif |
288 |
.endif |
270 |
.endfor |
289 |
.endfor |
271 |
.for i in mod_amrwb mod_celt mod_silk mod_codec2 mod_opus mod_isac |
290 |
.for i in mod_amrwb mod_celt mod_silk mod_codec2 mod_opus mod_isac |
272 |
.if defined(WITH_${i:S/_//g:U}) |
291 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
273 |
@${REINPLACE_CMD} -e 's|#\(codecs/${i}\)|\1|g' ${WRKSRC}/modules.conf |
292 |
@${REINPLACE_CMD} -e 's|#\(codecs/${i}\)|\1|g' ${WRKSRC}/modules.conf |
274 |
.endif |
293 |
.endif |
275 |
.endfor |
294 |
.endfor |
276 |
.for i in mod_shell_stream mod_shout mod_vlc |
295 |
.for i in mod_shell_stream mod_shout mod_vlc |
277 |
.if defined(WITH_${i:S/_//g:U}) |
296 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
278 |
@${REINPLACE_CMD} -e 's|#\(formats/${i}\)|\1|g' ${WRKSRC}/modules.conf |
297 |
@${REINPLACE_CMD} -e 's|#\(formats/${i}\)|\1|g' ${WRKSRC}/modules.conf |
279 |
.endif |
298 |
.endif |
280 |
.endfor |
299 |
.endfor |
281 |
.if defined(WITH_MODPASTREAM) |
300 |
.if ${PORT_OPTIONS:MMODPASTREAM}} |
282 |
@${REINPLACE_CMD} -e 's|#formats/mod_portaudio_stream|formats/mod_portaudio_stream|g' ${WRKSRC}/modules.conf |
301 |
@${REINPLACE_CMD} -e 's|#formats/mod_portaudio_stream|formats/mod_portaudio_stream|g' ${WRKSRC}/modules.conf |
283 |
.endif |
302 |
.endif |
284 |
.for i in mod_say_de mod_say_es mod_say_en mod_say_fr mod_say_he mod_say_hu mod_say_it mod_say_nl mod_say_pt mod_say_ru mod_say_th mod_say_zh |
303 |
.for i in mod_say_de mod_say_es mod_say_en mod_say_fr mod_say_he mod_say_hu mod_say_it mod_say_nl mod_say_pt mod_say_ru mod_say_th mod_say_zh |
285 |
.if defined(WITH_${i:S/_//g:U}) |
304 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
286 |
@${REINPLACE_CMD} -e 's|#\(say/${i}\)|\1|g' ${WRKSRC}/modules.conf |
305 |
@${REINPLACE_CMD} -e 's|#\(say/${i}\)|\1|g' ${WRKSRC}/modules.conf |
287 |
.endif |
306 |
.endif |
288 |
.endfor |
307 |
.endfor |
289 |
.for i in mod_perl mod_python |
308 |
.for i in mod_perl mod_python |
290 |
.if defined(WITH_${i:S/_//g:U}) |
309 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
291 |
@${REINPLACE_CMD} -e 's|#\(languages/${i}\)|\1|g' ${WRKSRC}/modules.conf |
310 |
@${REINPLACE_CMD} -e 's|#\(languages/${i}\)|\1|g' ${WRKSRC}/modules.conf |
292 |
.endif |
311 |
.endif |
293 |
.endfor |
312 |
.endfor |
294 |
.for i in mod_skinny mod_portaudio mod_dingaling mod_rtmp mod_khomp |
313 |
.for i in mod_skinny mod_portaudio mod_dingaling mod_rtmp mod_khomp |
295 |
.if defined(WITH_${i:S/_//g:U}) |
314 |
.if ${PORT_OPTIONS:M${i:S/_//g:U}} |
296 |
@${REINPLACE_CMD} -e 's|#\(endpoints/${i}\)|\1|g' ${WRKSRC}/modules.conf |
315 |
@${REINPLACE_CMD} -e 's|#\(endpoints/${i}\)|\1|g' ${WRKSRC}/modules.conf |
297 |
.endif |
316 |
.endif |
298 |
.endfor |
317 |
.endfor |
299 |
.if defined(WITH_MODDPDIRECTORY) |
318 |
.if ${PORT_OPTIONS:MMODDPDIRECTORY} |
300 |
@${REINPLACE_CMD} -e 's|#dialplans/mod_dialplan_directory|dialplans/mod_dialplan_directory|g' ${WRKSRC}/modules.conf |
319 |
@${REINPLACE_CMD} -e 's|#dialplans/mod_dialplan_directory|dialplans/mod_dialplan_directory|g' ${WRKSRC}/modules.conf |
301 |
.endif |
320 |
.endif |
302 |
.if defined(WITH_MODFREETDM) |
321 |
.if ${PORT_OPTIONS:MMODFREETDM} |
303 |
@${REINPLACE_CMD} -e 's|#../../libs/freetdm/mod_freetdm|../../libs/freetdm/mod_freetdm|g' ${WRKSRC}/modules.conf |
322 |
@${REINPLACE_CMD} -e 's|#../../libs/freetdm/mod_freetdm|../../libs/freetdm/mod_freetdm|g' ${WRKSRC}/modules.conf |
304 |
.endif |
323 |
.endif |
305 |
.if defined(WITH_MODMULTICAST) |
324 |
.if ${PORT_OPTIONS:MMODMULTICAST} |
306 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_multicast|event_handlers/mod_event_multicast|g' ${WRKSRC}/modules.conf |
325 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_multicast|event_handlers/mod_event_multicast|g' ${WRKSRC}/modules.conf |
307 |
.endif |
326 |
.endif |
308 |
.if defined(WITH_MODERLANGEVENT) |
327 |
.if ${PORT_OPTIONS:MMODERLANGEVENT} |
309 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_erlang_event|event_handlers/mod_erlang_event|g' ${WRKSRC}/modules.conf |
328 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_erlang_event|event_handlers/mod_erlang_event|g' ${WRKSRC}/modules.conf |
310 |
.endif |
329 |
.endif |
311 |
.if defined(WITH_MODCDRPGCSV) |
330 |
.if ${PORT_OPTIONS:MMODCDRPGCSV} |
312 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_cdr_pg_csv|event_handlers/mod_cdr_pg_csv|g' ${WRKSRC}/modules.conf |
331 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_cdr_pg_csv|event_handlers/mod_cdr_pg_csv|g' ${WRKSRC}/modules.conf |
313 |
.endif |
332 |
.endif |
314 |
.if defined(WITH_MODSNMP) |
333 |
.if ${PORT_OPTIONS:MMODSNMP} |
315 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_snmp|event_handlers/mod_snmp|g' ${WRKSRC}/modules.conf |
334 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_snmp|event_handlers/mod_snmp|g' ${WRKSRC}/modules.conf |
316 |
.endif |
335 |
.endif |
317 |
.if defined(WITH_MODXMLCURL) |
336 |
.if ${PORT_OPTIONS:MMODXMLCURL} |
318 |
@${REINPLACE_CMD} -e 's|#xml_int/mod_xml_curl|xml_int/mod_xml_curl|g' ${WRKSRC}/modules.conf |
337 |
@${REINPLACE_CMD} -e 's|#xml_int/mod_xml_curl|xml_int/mod_xml_curl|g' ${WRKSRC}/modules.conf |
319 |
.endif |
338 |
.endif |
320 |
.if !defined(WITH_MODDPASTERISK) |
339 |
.if empty(PORT_OPTIONS:MMODDPASTERISK) |
321 |
@${REINPLACE_CMD} -e 's|dialplans/mod_dialplan_asterisk|#dialplans/mod_dialplan_asterisk|g' ${WRKSRC}/modules.conf |
340 |
@${REINPLACE_CMD} -e 's|dialplans/mod_dialplan_asterisk|#dialplans/mod_dialplan_asterisk|g' ${WRKSRC}/modules.conf |
322 |
.endif |
341 |
.endif |
323 |
.if defined(WITH_MODEVENTZMQ) |
342 |
.if ${PORT_OPTIONS:MMODEVENTZMQ} |
324 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_zmq|event_handlers/mod_event_zmq|g' ${WRKSRC}/modules.conf |
343 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_zmq|event_handlers/mod_event_zmq|g' ${WRKSRC}/modules.conf |
325 |
.endif |
344 |
.endif |
326 |
.if defined(WITH_MODXMLODBC) |
345 |
.if ${PORT_OPTIONS:MMODXMLODBC} |
327 |
@${REINPLACE_CMD} -e 's|#../../contrib/mod/xml_int/mod_xml_odbc|../../contrib/mod/xml_int/mod_xml_odbc|g' ${WRKSRC}/modules.conf |
346 |
@${REINPLACE_CMD} -e 's|#../../contrib/mod/xml_int/mod_xml_odbc|../../contrib/mod/xml_int/mod_xml_odbc|g' ${WRKSRC}/modules.conf |
328 |
.endif |
347 |
.endif |
329 |
.if defined(WITH_MODPOSIXTIMER) |
348 |
.if ${PORT_OPTIONS:MMODPOSIXTIMER} |
330 |
@${REINPLACE_CMD} -e 's|#timers/mod_posix_timer|timers/mod_posix_timer|g' ${WRKSRC}/modules.conf |
349 |
@${REINPLACE_CMD} -e 's|#timers/mod_posix_timer|timers/mod_posix_timer|g' ${WRKSRC}/modules.conf |
331 |
.endif |
350 |
.endif |
332 |
|
351 |
|
Lines 334-340
Link Here
|
334 |
@${CHMOD} 664 ${WRKSRC}/libs/freetdm/conf/* |
353 |
@${CHMOD} 664 ${WRKSRC}/libs/freetdm/conf/* |
335 |
@${MKDIR} ${ETCDIR}/conf |
354 |
@${MKDIR} ${ETCDIR}/conf |
336 |
@${TOUCH} ${ETCDIR}/conf/.freeswitch-core-devel |
355 |
@${TOUCH} ${ETCDIR}/conf/.freeswitch-core-devel |
337 |
.if defined(WITH_MODFREETDM) |
356 |
.if ${PORT_OPTIONS:MMODFREETDM) |
338 |
@${MKDIR} ${ETCDIR}/conf/autoload_configs |
357 |
@${MKDIR} ${ETCDIR}/conf/autoload_configs |
339 |
.endif |
358 |
.endif |
340 |
|
359 |
|