Lines 2-19
Link Here
|
2 |
# Date created: Augets 9, 2009 |
2 |
# Date created: Augets 9, 2009 |
3 |
# Whom: Richard Neese <r.neese@gmail.com> |
3 |
# Whom: Richard Neese <r.neese@gmail.com> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/net/freeswitch/Makefile,v 1.2 2009/08/27 20:31:46 miwi Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= freeswitch |
8 |
PORTNAME= freeswitch |
9 |
PORTVERSION= 1.0.4.2 |
9 |
PORTVERSION= 1.0.4.3 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= http://files.freeswitch.org/:source1 \ |
11 |
MASTER_SITES= http://files.freeswitch.org/:source1 \ |
12 |
http://dl.getdropbox.com/u/152504/:source2 \ |
12 |
http://dl.getdropbox.com/u/152504/:source2 \ |
13 |
http://www.freeswitch.org/eg/:source3 |
13 |
http://www.freeswitch.org/eg/:source3 |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
14 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
15 |
DISTFILES= pizza_gram.tar.gz:source1 \ |
15 |
DISTFILES= pizza_gram.tar.gz:source1 \ |
16 |
freeswitch-1.0.4.2.tar.gz:source2 \ |
16 |
freeswitch-1.0.4.3.tar.gz:source2 \ |
17 |
pizza_sounds.tar.gz:source3 \ |
17 |
pizza_sounds.tar.gz:source3 \ |
18 |
freeswitch-sounds-en-us-callie-8000-1.0.11.tar.gz:source1 \ |
18 |
freeswitch-sounds-en-us-callie-8000-1.0.11.tar.gz:source1 \ |
19 |
freeswitch-sounds-en-us-callie-16000-1.0.11.tar.gz:source1 \ |
19 |
freeswitch-sounds-en-us-callie-16000-1.0.11.tar.gz:source1 \ |
Lines 23-29
Link Here
|
23 |
freeswitch-sounds-music-16000-1.0.8.tar.gz:source1 \ |
23 |
freeswitch-sounds-music-16000-1.0.8.tar.gz:source1 \ |
24 |
freeswitch-sounds-music-32000-1.0.8.tar.gz:source1 \ |
24 |
freeswitch-sounds-music-32000-1.0.8.tar.gz:source1 \ |
25 |
freeswitch-sounds-music-48000-1.0.8.tar.gz:source1 |
25 |
freeswitch-sounds-music-48000-1.0.8.tar.gz:source1 |
26 |
EXTRACT_ONLY= freeswitch-1.0.4.2.tar.gz |
26 |
EXTRACT_ONLY= freeswitch-1.0.4.3.tar.gz |
27 |
|
27 |
|
28 |
MAINTAINER= r.neese@gmail.com |
28 |
MAINTAINER= r.neese@gmail.com |
29 |
COMMENT= FreeSwitch SoftSwitch Port |
29 |
COMMENT= FreeSwitch SoftSwitch Port |
Lines 59-65
Link Here
|
59 |
MODPOCKETSPHINX "Enable mod_pockectsphinx (voice control)" on \ |
59 |
MODPOCKETSPHINX "Enable mod_pockectsphinx (voice control)" on \ |
60 |
MODCIDLOOKUP "Enable mod_cidlookup" on \ |
60 |
MODCIDLOOKUP "Enable mod_cidlookup" on \ |
61 |
MODDPDIRECTORY "Enable mod_dialplan_directory" on \ |
61 |
MODDPDIRECTORY "Enable mod_dialplan_directory" on \ |
|
|
62 |
MODDINGALING "Enable mod_dingaling(google talk)" on \ |
62 |
MODEASYROUTE "Enable mod_easyroute(routeing tool)" on \ |
63 |
MODEASYROUTE "Enable mod_easyroute(routeing tool)" on \ |
|
|
64 |
MODERLANGEVENT "Enable mod_erlang_event (Call Center Dist)" off \ |
63 |
MODFAX "Enable mod_fax" on \ |
65 |
MODFAX "Enable mod_fax" on \ |
64 |
MODLCR "Enable mod_lcr (least cost routing)" on \ |
66 |
MODLCR "Enable mod_lcr (least cost routing)" on \ |
65 |
MODSOUNDTOUCH "Enable mod_soundtouch" on \ |
67 |
MODSOUNDTOUCH "Enable mod_soundtouch" on \ |
Lines 326-331
Link Here
|
326 |
PLIST_SUB+= WITH_MODNIBBLEBILL="" |
328 |
PLIST_SUB+= WITH_MODNIBBLEBILL="" |
327 |
.endif |
329 |
.endif |
328 |
|
330 |
|
|
|
331 |
.if !defined(WITH_MODDINGALING) |
332 |
PLIST_SUB+= WITH_MODDINGALING="@comment " |
333 |
.else |
334 |
PLIST_SUB+= WITH_MODDINGALING="" |
335 |
.endif |
336 |
|
337 |
.if !defined(WITH_MODERLANGEVENT) |
338 |
PLIST_SUB+= WITH_MODERLANGEVENT="@comment " |
339 |
.else |
340 |
PLIST_SUB+= WITH_MODERLANGEVENT="" |
341 |
.endif |
342 |
|
329 |
pre-configure: |
343 |
pre-configure: |
330 |
@cd ${WRKSRC} && ./bootstrap.sh |
344 |
@cd ${WRKSRC} && ./bootstrap.sh |
331 |
@${CP} ${WRKSRC}/build/modules.conf.in ${WRKSRC}/modules.conf |
345 |
@${CP} ${WRKSRC}/build/modules.conf.in ${WRKSRC}/modules.conf |
Lines 453-458
Link Here
|
453 |
@${REINPLACE_CMD} -e 's|#applications/mod_nibblebill|applications/mod_nibblebill|g' ${WRKSRC}/modules.conf |
467 |
@${REINPLACE_CMD} -e 's|#applications/mod_nibblebill|applications/mod_nibblebill|g' ${WRKSRC}/modules.conf |
454 |
.endif |
468 |
.endif |
455 |
|
469 |
|
|
|
470 |
.if defined(WITH_MODDINGALING) |
471 |
${REINPLACE_CMD} -e 's|#endpoints/mod_dingaling|endpoints/mod_dingaling|g' ${WRKSRC}/modules.conf |
472 |
.endif |
473 |
|
474 |
.if defined(WITH_MODERLANGEVENT) |
475 |
@${REINPLACE_CMD} -e 's|#event_handlers/mod_erlang_event|event_handlers/mod_erlang_event|g' ${WRKSRC}/modules.conf |
476 |
.endif |
477 |
|
456 |
post-patch: |
478 |
post-patch: |
457 |
@${GREP} -Rl '/bin/bash' ${WRKSRC} | \ |
479 |
@${GREP} -Rl '/bin/bash' ${WRKSRC} | \ |
458 |
${XARGS} ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' |
480 |
${XARGS} ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' |
Lines 493-500
Link Here
|
493 |
@${TAR} -xzvf ${DISTDIR}/pizza_sounds.tar.gz -C ${LOCALBASE}/${PORTNAME}/sounds/en/us |
515 |
@${TAR} -xzvf ${DISTDIR}/pizza_sounds.tar.gz -C ${LOCALBASE}/${PORTNAME}/sounds/en/us |
494 |
.endif |
516 |
.endif |
495 |
|
517 |
|
496 |
.if ${OSVERSION} < 700000 |
|
|
497 |
IGNORE= it's to unsupported before FreeBSD 7.X |
498 |
.endif |
499 |
|
500 |
.include <bsd.port.post.mk> |
518 |
.include <bsd.port.post.mk> |