This is a new build for the freeswitch port which involves many changes to how the port was originally written. The new port now follows most of hier(7) and allows for easier building of individual components of freeswitch. Updates to sounds and music can be made without potentially causing problems with the core port, etc. Maintainership has also changed. Fix: This is a LARGE change over the original port involvingn relocation of files from the current location in /usr/local/freeswitch, to proper directories. Updates freeswitch source to current snapshot of Freeswitch SVN as of port submission. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freeswitch # freeswitch/pkg-descr # freeswitch/Makefile # freeswitch/.svn # freeswitch/.svn/text-base # freeswitch/.svn/text-base/Makefile.svn-base # freeswitch/.svn/text-base/pkg-descr.svn-base # freeswitch/.svn/prop-base # freeswitch/.svn/props # freeswitch/.svn/tmp # freeswitch/.svn/tmp/text-base # freeswitch/.svn/tmp/prop-base # freeswitch/.svn/tmp/props # freeswitch/.svn/entries # freeswitch/.svn/all-wcprops # echo c - freeswitch mkdir -p freeswitch > /dev/null 2>&1 echo x - freeswitch/pkg-descr sed 's/^X//' >freeswitch/pkg-descr << '2d9d4fa30941436238bf9f1b4db363e6' XFreeSWITCH meta port. X XFreeSWITCH is an open source telephony platform designed to facilitate the Xcreation of voice and chat driven products scaling from a soft-phone up to a Xsoft-switch. It can be used as a simple switching engine, a PBX, a media Xgateway or a media server to host IVR applications using simple scripts or XML Xto control the callflow. X Xhttp://www.freeswitch.org 2d9d4fa30941436238bf9f1b4db363e6 echo x - freeswitch/Makefile sed 's/^X//' >freeswitch/Makefile << 'ae234a74f0b12c7984f27c08a0b3335e' X# Ports collection makefile for: freeswitch-sounds X# Date created: December 20, 2009 X# Whom: Eric F Crist <ecrist@secure-computing.net> X# X# $FreeBSD$ X# X XPORTNAME= freeswitch XPORTVERSION= 1.0.5 XCATEGORIES= net XMASTER_SITES= # none XDISTFILES= # none XEXTRACT_ONLY= # none XNO_BUILD= YES XMAINTAINER= ecrist@secure-computing.net XCOMMENT= FreeSwitch meta-port to pull in all the components X XOPTIONS= CORE "FreeSwitch PBX Software" on \ X SOUNDS "Sound files for use with FreeSwitch PBX" on \ X MUSIC "Music on hold for use with FreeSwitch PBX" on \ X ESL "Event Socket Language libraries for FreeSwitch" on \ X PIZZADEMO "Pizza demo configuration" off \ X X.include <bsd.port.options.mk> X.if defined(WITH_CORE) XRUN_DEPENDS+= freeswitch-core:${PORTSDIR}/net/freeswitch-core X.endif X.if defined(WITH_SOUNDS) XRUN_DEPENDS+= freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds X.endif X.if defined(WITH_MUSIC) XRUN_DEPENDS+= freeswitch-music:${PORTSDIR}/audio/freeswitch-music X.endif X.if defined(WITH_PIZZADEMO) XRUN_DEPENDS+= freeswitch-pizzademo:${PORTSDIR}/misc/freeswitch-pizzademo X.endif X.if defined(WITH_ESL) XRUN_DEPENDS+= freeswitch-esl:${PORTSDIR}/devel/freeswitch-esl X.endif X Xdo-install: build X @${DO_NADA} X X.include <bsd.port.mk> ae234a74f0b12c7984f27c08a0b3335e echo c - freeswitch/.svn mkdir -p freeswitch/.svn > /dev/null 2>&1 echo c - freeswitch/.svn/text-base mkdir -p freeswitch/.svn/text-base > /dev/null 2>&1 echo x - freeswitch/.svn/text-base/Makefile.svn-base sed 's/^X//' >freeswitch/.svn/text-base/Makefile.svn-base << '3a94ec11d7095109606fbc544d01ea76' X# Ports collection makefile for: freeswitch-sounds X# Date created: December 20, 2009 X# Whom: Eric F Crist <ecrist@secure-computing.net> X# X# $FreeBSD$ X# X XPORTNAME= freeswitch XPORTVERSION= 1.0.5 XCATEGORIES= net XMASTER_SITES= # none XDISTFILES= # none XEXTRACT_ONLY= # none XNO_BUILD= YES XMAINTAINER= ecrist@secure-computing.net XCOMMENT= FreeSwitch meta-port to pull in all the components X XOPTIONS= CORE "FreeSwitch PBX Software" on \ X SOUNDS "Sound files for use with FreeSwitch PBX" on \ X MUSIC "Music on hold for use with FreeSwitch PBX" on \ X ESL "Event Socket Language libraries for FreeSwitch" on \ X PIZZADEMO "Pizza demo configuration" off \ X X.include <bsd.port.options.mk> X.if defined(WITH_CORE) XRUN_DEPENDS+= freeswitch-core:${PORTSDIR}/net/freeswitch-core X.endif X.if defined(WITH_SOUNDS) XRUN_DEPENDS+= freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds X.endif X.if defined(WITH_MUSIC) XRUN_DEPENDS+= freeswitch-music:${PORTSDIR}/audio/freeswitch-music X.endif X.if defined(WITH_PIZZADEMO) XRUN_DEPENDS+= freeswitch-pizzademo:${PORTSDIR}/misc/freeswitch-pizzademo X.endif X.if defined(WITH_ESL) XRUN_DEPENDS+= freeswitch-esl:${PORTSDIR}/devel/freeswitch-esl X.endif X Xdo-install: build X @${DO_NADA} X X.include <bsd.port.mk> 3a94ec11d7095109606fbc544d01ea76 echo x - freeswitch/.svn/text-base/pkg-descr.svn-base sed 's/^X//' >freeswitch/.svn/text-base/pkg-descr.svn-base << 'c2d94a1d6311d2177c2d62a150823c48' XFreeSWITCH meta port. X XFreeSWITCH is an open source telephony platform designed to facilitate the Xcreation of voice and chat driven products scaling from a soft-phone up to a Xsoft-switch. It can be used as a simple switching engine, a PBX, a media Xgateway or a media server to host IVR applications using simple scripts or XML Xto control the callflow. X Xhttp://www.freeswitch.org c2d94a1d6311d2177c2d62a150823c48 echo c - freeswitch/.svn/prop-base mkdir -p freeswitch/.svn/prop-base > /dev/null 2>&1 echo c - freeswitch/.svn/props mkdir -p freeswitch/.svn/props > /dev/null 2>&1 echo c - freeswitch/.svn/tmp mkdir -p freeswitch/.svn/tmp > /dev/null 2>&1 echo c - freeswitch/.svn/tmp/text-base mkdir -p freeswitch/.svn/tmp/text-base > /dev/null 2>&1 echo c - freeswitch/.svn/tmp/prop-base mkdir -p freeswitch/.svn/tmp/prop-base > /dev/null 2>&1 echo c - freeswitch/.svn/tmp/props mkdir -p freeswitch/.svn/tmp/props > /dev/null 2>&1 echo x - freeswitch/.svn/entries sed 's/^X//' >freeswitch/.svn/entries << 'b37cbfe6603e7831c24834d205976eab' X10 X Xdir X186 Xhttps://www.secure-computing.net/svn/trunk/freeswitch/freeswitch Xhttps://www.secure-computing.net/svn X X X X2010-02-06T17:47:19.705458Z X133 Xecrist X X X X X X X X X X X X X X X84a6f4dd-a460-dd11-8f65-000f1f666711 X Xpkg-descr Xfile X X X X X2009-12-29T15:55:38.000000Z Xda164cc982579650af3103a7d1ba7d93 X2009-12-29T15:56:36.814640Z X103 Xecrist X X X X X X X X X X X X X X X X X X X X X X380 X XMakefile Xfile X X X X X2010-02-06T17:47:03.000000Z X421d4ed468aa731d2f99339e793da353 X2010-02-06T17:47:19.705458Z X133 Xecrist X X X X X X X X X X X X X X X X X X X X X X1308 X b37cbfe6603e7831c24834d205976eab echo x - freeswitch/.svn/all-wcprops sed 's/^X//' >freeswitch/.svn/all-wcprops << '89abbc47a6aacb7ab731ca2fe5cdc0f3' XK 25 Xsvn:wc:ra_dav:version-url XV 45 X/svn/!svn/ver/133/trunk/freeswitch/freeswitch XEND Xpkg-descr XK 25 Xsvn:wc:ra_dav:version-url XV 55 X/svn/!svn/ver/103/trunk/freeswitch/freeswitch/pkg-descr XEND XMakefile XK 25 Xsvn:wc:ra_dav:version-url XV 54 X/svn/!svn/ver/133/trunk/freeswitch/freeswitch/Makefile XEND 89abbc47a6aacb7ab731ca2fe5cdc0f3 exit --- fsmeta.shar ends here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freeswitch-sounds # freeswitch-sounds/.svn # freeswitch-sounds/.svn/text-base # freeswitch-sounds/.svn/text-base/distinfo.svn-base # freeswitch-sounds/.svn/text-base/pkg-descr.svn-base # freeswitch-sounds/.svn/text-base/Makefile.svn-base # freeswitch-sounds/.svn/prop-base # freeswitch-sounds/.svn/props # freeswitch-sounds/.svn/tmp # freeswitch-sounds/.svn/tmp/text-base # freeswitch-sounds/.svn/tmp/prop-base # freeswitch-sounds/.svn/tmp/props # freeswitch-sounds/.svn/entries # freeswitch-sounds/.svn/all-wcprops # freeswitch-sounds/distinfo # freeswitch-sounds/pkg-descr # freeswitch-sounds/Makefile # echo c - freeswitch-sounds mkdir -p freeswitch-sounds > /dev/null 2>&1 echo c - freeswitch-sounds/.svn mkdir -p freeswitch-sounds/.svn > /dev/null 2>&1 echo c - freeswitch-sounds/.svn/text-base mkdir -p freeswitch-sounds/.svn/text-base > /dev/null 2>&1 echo x - freeswitch-sounds/.svn/text-base/distinfo.svn-base sed 's/^X//' >freeswitch-sounds/.svn/text-base/distinfo.svn-base << '884df9bf2a9a6a60743be795e831ad59' XMD5 (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.13.tar.gz) = 17bfc7f6cbaac137693e4c8d0d4494a0 XSHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.13.tar.gz) = 6920dfdf15b2d089688c1f069e6570a4485eee70eb6bd4f1e3ffe52a6a8e0d7a XSIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.13.tar.gz) = 58647498 884df9bf2a9a6a60743be795e831ad59 echo x - freeswitch-sounds/.svn/text-base/pkg-descr.svn-base sed 's/^X//' >freeswitch-sounds/.svn/text-base/pkg-descr.svn-base << 'ebfe1657327dc7e716c7f8da16f75d77' XFreeSwitch 48k English US Sounds ebfe1657327dc7e716c7f8da16f75d77 echo x - freeswitch-sounds/.svn/text-base/Makefile.svn-base sed 's/^X//' >freeswitch-sounds/.svn/text-base/Makefile.svn-base << '18bcdf36c872ac75168beaa9314e970c' X# Ports collection makefile for: freeswitch-sounds X# Date created: December 20, 2009 X# Whom: Eric F Crist <ecrist@secure-computing.net> X# X# $FreeBSD$ X# X XPORTNAME= freeswitch-sounds XPORTVERSION= 1.0.13 XCATEGORIES= audio XDIST_SUBDIR= freeswitch-sounds XMASTER_SITES= http://files.freeswitch.org/ XNO_WRKSUBDIR= yes XMAINTAINER= ecrist@secure-computing.net XCOMMENT= FreeSwitch Sounds (All Bitrates) XPLIST= ${WRKDIR}/plist X XOPTIONS= 8K "Compile sounds for 8K" on \ X 16K "Compile sounds for 16K" on \ X 32K "Compile sounds for 32K" on \ X 48K "Compile sounds for 48K" on \ X ENGLISH "Compile English Language Sounds" on \ X RUSSIAN "Compile Russian Language Sounds" off X X.include <bsd.port.options.mk> X.if defined(WITH_ENGLISH) XDISTFILES+= freeswitch-sounds-en-us-callie-48000-${PORTVERSION}${EXTRACT_SUFX} X.endif X.if defined(WITH_RUSSIAN) XDISTFILES+= freeswitch-sounds-ru-RU-elena-48000-1.0.12${EXTRACT_SUFX} X.endif X.if defined(WITH_8K) XBUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox XBITRATES+= 8000 X.endif X.if defined(WITH_16K) XBUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox XBITRATES+= 16000 X.endif X.if defined(WITH_32K) XBUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox XBITRATES+= 32000 X.endif X.if defined(WITH_48K) XBITRATES+= 48000 X.endif X Xdo-build: X @${ECHO_MSG} "Building for bitrates: ${BITRATES}" X if [ "${WITH_ENGLISH}" != "" -a ! -e "${WRKDIR}/ENGLISH.done" ]; then \ X for rate in ${BITRATES}; do \ X ${ECHO_MSG} "WORKING on $${rate}!"; \ X if [ "$${rate}" -eq "48000" ]; then \ X cp -R ${WRKSRC}/en/us/callie/ ${WRKDIR}/tmp/en/us/callie/; \ X else \ X for dir in `ls ${WRKSRC}/en/us/callie/`; do \ X ${MKDIR} -p ${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/; \ X echo "@rmdir ${LOCALBASE}/share/freeswitch/sounds/en/us/callie/$${dir}/$${rate}/" >> ${PLIST}; \ X for filename in `ls ${WRKSRC}/en/us/callie/$${dir}/48000`; do \ X echo "${LOCALBASE}/share/freeswitch/sounds/en/us/callie//$${dir}/$${rate}/$${filename}" >> ${PLIST}; \ X if [ ! -e "${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}" ]; then \ X ${ECHO_MSG} "/usr/local/bin/sox -v 0.2 ${WRKSRC}/en/us/callie/$${dir}/48000/$${filename} -r $${rate} -c 1 ${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}"; \ X ${LOCALBASE}/bin/sox -v 0.2 "${WRKSRC}/en/us/callie/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}"; \ X fi \ X done; \ X done; \ X fi \ X done; \ X touch ${WRKDIR}/ENGLISH.done; \ X fi X if [ "${WITH_RUSSIAN}" != "" -a ! -e "${WRKDIR}/RUSSIAN.done" ]; then \ X for rate in ${BITRATES}; do \ X ${ECHO_MSG} "WORKING on $${rate}!"; \ X if [ "$${rate}" -eq "48000" ]; then \ X cp -R ${WRKSRC}/ru/RU/elena/ ${WRKDIR}/tmp/ru/RU/elena/; \ X else \ X for dir in `ls ${WRKSRC}/ru/RU/elena/`; do \ X ${MKDIR} -p ${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/; \ X echo "@rmdir ${LOCALBASE}/share/freeswitch/sounds/ru/RU/elena/$${dir}/$${rate}/" >> ${PLIST}; \ X for filename in `ls ${WRKSRC}/ru/RU/elena/$${dir}/48000`; do \ X echo "${LOCALBASE}/share/freeswitch/sounds/ru/RU/elena//$${dir}/$${rate}/$${filename}" >> ${PLIST}; \ X if [ ! -e "${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}" ]; then \ X ${ECHO_MSG} "/usr/local/bin/sox -v 0.2 ${WRKSRC}/ru/RU/elena/$${dir}/48000/$${filename} -r $${rate} -c 1 ${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}"; \ X ${LOCALBASE}/bin/sox -v 0.2 "${WRKSRC}/ru/RU/elena/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}"; \ X fi \ X done; \ X done; \ X fi \ X done; \ X touch ${WRKDIR}/RUSSIAN.done; \ X fi X Xpre-install: X @${RM} -rf ${PLIST} X @cd ${WRKDIR}/tmp && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \ X ${SED} -i "" -e "s:^:share/freeswitch/sounds/:" ${PLIST}; \ X ${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm share/freeswitch/sounds/:" | ${GREP} / >> ${PLIST}; \ X ${ECHO} "@unexec /bin/rmdir %D/share/freeswitch/sounds 2> /dev/null || /usr/bin/true" >> ${PLIST}; \ X ${ECHO} "@unexec /bin/rmdir %D/share/freeswitch 2> /dev/null || /usr/bin/true" >> ${PLIST}; X Xdo-install: X @${ECHO_MSG} "Installing files..." X ${MKDIR} ${LOCALBASE}/share/freeswitch/sounds X (cd ${WRKDIR}/tmp/ &&${COPYTREE_SHARE} \* ${PREFIX}/share/freeswitch/sounds/) X X X.include <bsd.port.mk> X X X 18bcdf36c872ac75168beaa9314e970c echo c - freeswitch-sounds/.svn/prop-base mkdir -p freeswitch-sounds/.svn/prop-base > /dev/null 2>&1 echo c - freeswitch-sounds/.svn/props mkdir -p freeswitch-sounds/.svn/props > /dev/null 2>&1 echo c - freeswitch-sounds/.svn/tmp mkdir -p freeswitch-sounds/.svn/tmp > /dev/null 2>&1 echo c - freeswitch-sounds/.svn/tmp/text-base mkdir -p freeswitch-sounds/.svn/tmp/text-base > /dev/null 2>&1 echo c - freeswitch-sounds/.svn/tmp/prop-base mkdir -p freeswitch-sounds/.svn/tmp/prop-base > /dev/null 2>&1 echo c - freeswitch-sounds/.svn/tmp/props mkdir -p freeswitch-sounds/.svn/tmp/props > /dev/null 2>&1 echo x - freeswitch-sounds/.svn/entries sed 's/^X//' >freeswitch-sounds/.svn/entries << '5816d8d86f11868a7c779fcd262b9d61' X10 X Xdir X186 Xhttps://www.secure-computing.net/svn/trunk/freeswitch/freeswitch-sounds Xhttps://www.secure-computing.net/svn X X X X2010-04-02T16:34:53.812590Z X181 Xecrist X X X X X X X X X X X X X X X84a6f4dd-a460-dd11-8f65-000f1f666711 X Xdistinfo Xfile X X X X X2010-04-02T14:06:29.000000Z Xb5f9168385002a8e59c18c4bed1b7777 X2010-04-02T14:06:59.293148Z X176 Xecrist X X X X X X X X X X X X X X X X X X X X X X342 X Xpkg-descr Xfile X X X X X2009-12-21T20:56:23.000000Z X1ba86f12ddd3b7b6367e72d0a29824e1 X2009-12-21T00:45:48.620667Z X84 Xecrist X X X X X X X X X X X X X X X X X X X X X X33 X XMakefile Xfile X X X X X2010-04-02T17:27:11.000000Z Xdf27eb2075c6fb33d0d62235b261e270 X2010-04-02T16:34:53.812590Z X181 Xecrist X X X X X X X X X X X X X X X X X X X X X X4392 X 5816d8d86f11868a7c779fcd262b9d61 echo x - freeswitch-sounds/.svn/all-wcprops sed 's/^X//' >freeswitch-sounds/.svn/all-wcprops << '7bfa8b47556f70d52231719ebe94e122' XK 25 Xsvn:wc:ra_dav:version-url XV 52 X/svn/!svn/ver/181/trunk/freeswitch/freeswitch-sounds XEND Xdistinfo XK 25 Xsvn:wc:ra_dav:version-url XV 61 X/svn/!svn/ver/176/trunk/freeswitch/freeswitch-sounds/distinfo XEND Xpkg-descr XK 25 Xsvn:wc:ra_dav:version-url XV 61 X/svn/!svn/ver/84/trunk/freeswitch/freeswitch-sounds/pkg-descr XEND XMakefile XK 25 Xsvn:wc:ra_dav:version-url XV 61 X/svn/!svn/ver/181/trunk/freeswitch/freeswitch-sounds/Makefile XEND 7bfa8b47556f70d52231719ebe94e122 echo x - freeswitch-sounds/distinfo sed 's/^X//' >freeswitch-sounds/distinfo << 'a0a3e76dc2a5c6b619f5c4e6bd9fa2d8' XMD5 (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.13.tar.gz) = 17bfc7f6cbaac137693e4c8d0d4494a0 XSHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.13.tar.gz) = 6920dfdf15b2d089688c1f069e6570a4485eee70eb6bd4f1e3ffe52a6a8e0d7a XSIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.13.tar.gz) = 58647498 a0a3e76dc2a5c6b619f5c4e6bd9fa2d8 echo x - freeswitch-sounds/pkg-descr sed 's/^X//' >freeswitch-sounds/pkg-descr << '623725d3caeaa4fd1d36f2645af5901d' XFreeSwitch 48k English US Sounds 623725d3caeaa4fd1d36f2645af5901d echo x - freeswitch-sounds/Makefile sed 's/^X//' >freeswitch-sounds/Makefile << '71ff42124446ef2bbae6a1cd1dfcb98f' X# Ports collection makefile for: freeswitch-sounds X# Date created: December 20, 2009 X# Whom: Eric F Crist <ecrist@secure-computing.net> X# X# $FreeBSD$ X# X XPORTNAME= freeswitch-sounds XPORTVERSION= 1.0.13 XCATEGORIES= audio XDIST_SUBDIR= freeswitch-sounds XMASTER_SITES= http://files.freeswitch.org/ XNO_WRKSUBDIR= yes XMAINTAINER= ecrist@secure-computing.net XCOMMENT= FreeSwitch Sounds (All Bitrates) XPLIST= ${WRKDIR}/plist X XOPTIONS= 8K "Compile sounds for 8K" on \ X 16K "Compile sounds for 16K" on \ X 32K "Compile sounds for 32K" on \ X 48K "Compile sounds for 48K" on \ X ENGLISH "Compile English Language Sounds" on \ X RUSSIAN "Compile Russian Language Sounds" off X X.include <bsd.port.options.mk> X.if defined(WITH_ENGLISH) XDISTFILES+= freeswitch-sounds-en-us-callie-48000-${PORTVERSION}${EXTRACT_SUFX} X.endif X.if defined(WITH_RUSSIAN) XDISTFILES+= freeswitch-sounds-ru-RU-elena-48000-1.0.12${EXTRACT_SUFX} X.endif X.if defined(WITH_8K) XBUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox XBITRATES+= 8000 X.endif X.if defined(WITH_16K) XBUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox XBITRATES+= 16000 X.endif X.if defined(WITH_32K) XBUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox XBITRATES+= 32000 X.endif X.if defined(WITH_48K) XBITRATES+= 48000 X.endif X Xdo-build: X @${ECHO_MSG} "Building for bitrates: ${BITRATES}" X if [ "${WITH_ENGLISH}" != "" -a ! -e "${WRKDIR}/ENGLISH.done" ]; then \ X for rate in ${BITRATES}; do \ X ${ECHO_MSG} "WORKING on $${rate}!"; \ X if [ "$${rate}" -eq "48000" ]; then \ X cp -R ${WRKSRC}/en/us/callie/ ${WRKDIR}/tmp/en/us/callie/; \ X else \ X for dir in `ls ${WRKSRC}/en/us/callie/`; do \ X ${MKDIR} -p ${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/; \ X echo "@rmdir ${LOCALBASE}/share/freeswitch/sounds/en/us/callie/$${dir}/$${rate}/" >> ${PLIST}; \ X for filename in `ls ${WRKSRC}/en/us/callie/$${dir}/48000`; do \ X echo "${LOCALBASE}/share/freeswitch/sounds/en/us/callie//$${dir}/$${rate}/$${filename}" >> ${PLIST}; \ X if [ ! -e "${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}" ]; then \ X ${ECHO_MSG} "/usr/local/bin/sox -v 0.2 ${WRKSRC}/en/us/callie/$${dir}/48000/$${filename} -r $${rate} -c 1 ${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}"; \ X ${LOCALBASE}/bin/sox -v 0.2 "${WRKSRC}/en/us/callie/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}"; \ X fi \ X done; \ X done; \ X fi \ X done; \ X touch ${WRKDIR}/ENGLISH.done; \ X fi X if [ "${WITH_RUSSIAN}" != "" -a ! -e "${WRKDIR}/RUSSIAN.done" ]; then \ X for rate in ${BITRATES}; do \ X ${ECHO_MSG} "WORKING on $${rate}!"; \ X if [ "$${rate}" -eq "48000" ]; then \ X cp -R ${WRKSRC}/ru/RU/elena/ ${WRKDIR}/tmp/ru/RU/elena/; \ X else \ X for dir in `ls ${WRKSRC}/ru/RU/elena/`; do \ X ${MKDIR} -p ${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/; \ X echo "@rmdir ${LOCALBASE}/share/freeswitch/sounds/ru/RU/elena/$${dir}/$${rate}/" >> ${PLIST}; \ X for filename in `ls ${WRKSRC}/ru/RU/elena/$${dir}/48000`; do \ X echo "${LOCALBASE}/share/freeswitch/sounds/ru/RU/elena//$${dir}/$${rate}/$${filename}" >> ${PLIST}; \ X if [ ! -e "${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}" ]; then \ X ${ECHO_MSG} "/usr/local/bin/sox -v 0.2 ${WRKSRC}/ru/RU/elena/$${dir}/48000/$${filename} -r $${rate} -c 1 ${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}"; \ X ${LOCALBASE}/bin/sox -v 0.2 "${WRKSRC}/ru/RU/elena/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}"; \ X fi \ X done; \ X done; \ X fi \ X done; \ X touch ${WRKDIR}/RUSSIAN.done; \ X fi X Xpre-install: X @${RM} -rf ${PLIST} X @cd ${WRKDIR}/tmp && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \ X ${SED} -i "" -e "s:^:share/freeswitch/sounds/:" ${PLIST}; \ X ${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm share/freeswitch/sounds/:" | ${GREP} / >> ${PLIST}; \ X ${ECHO} "@unexec /bin/rmdir %D/share/freeswitch/sounds 2> /dev/null || /usr/bin/true" >> ${PLIST}; \ X ${ECHO} "@unexec /bin/rmdir %D/share/freeswitch 2> /dev/null || /usr/bin/true" >> ${PLIST}; X Xdo-install: X @${ECHO_MSG} "Installing files..." X ${MKDIR} ${LOCALBASE}/share/freeswitch/sounds X (cd ${WRKDIR}/tmp/ &&${COPYTREE_SHARE} \* ${PREFIX}/share/freeswitch/sounds/) X X X.include <bsd.port.mk> X X X 71ff42124446ef2bbae6a1cd1dfcb98f exit --- fssound.shar ends here --- How-To-Repeat: Spend many hours testing and rewriting the port to get this result. ;)
Responsible Changed From-To: freebsd-ports-bugs->jpaetzel@freebsd.org I'll take this one.
Here are the new shar files for freeswitch, freeswitch-pizzademo, and freeswitch-core.
More reworking, final shars attached. -- Thanks, Josh Paetzel
Wrong shar was attached for net/freeswitch, sorrected shar attached. -- Thanks, Josh Paetzel
jpaetzel 2010-06-11 22:26:45 UTC FreeBSD ports repository Modified files: . UIDs GIDs net Makefile Added files: net/freeswitch-core/files freeswitch.in patch-Makefile.am patch-libs-openzap-src-ozmod-ozmod_zt-ozmod_zt.c patch-src-switch.c pkg-install.in pkg-message.in net/freeswitch-core Makefile distinfo pkg-descr pkg-plist Log: Add net/freeswitch-core, part of a revamp to the freeswitch ports PR: ports/145369 Submitted by: Eric F Crist <ecrist@secure-computing.net> Approved by: itetcu@ (mentor) Revision Changes Path 1.98 +2 -1 ports/GIDs 1.113 +2 -1 ports/UIDs 1.2219 +1 -0 ports/net/Makefile 1.1 +294 -0 ports/net/freeswitch-core/Makefile (new) 1.1 +3 -0 ports/net/freeswitch-core/distinfo (new) 1.1 +70 -0 ports/net/freeswitch-core/files/freeswitch.in (new) 1.1 +13 -0 ports/net/freeswitch-core/files/patch-Makefile.am (new) 1.1 +73 -0 ports/net/freeswitch-core/files/patch-libs-openzap-src-ozmod-ozmod_zt-ozmod_zt.c (new) 1.1 +14 -0 ports/net/freeswitch-core/files/patch-src-switch.c (new) 1.1 +35 -0 ports/net/freeswitch-core/files/pkg-install.in (new) 1.1 +20 -0 ports/net/freeswitch-core/files/pkg-message.in (new) 1.1 +3 -0 ports/net/freeswitch-core/pkg-descr (new) 1.1 +519 -0 ports/net/freeswitch-core/pkg-plist (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
jpaetzel 2010-06-11 22:36:53 UTC FreeBSD ports repository Modified files: net/freeswitch Makefile distinfo pkg-descr pkg-message pkg-plist net/freeswitch/files freeswitch.in patch-build-modules.conf.in pkg-message.in Log: Update freeswitch port infrastructure PR: ports/145369 Submitted by: Eric F Crist <ecrist@secure-computing.net> Approved by: itetcu@ (mentor) Revision Changes Path 1.9 +29 -515 ports/net/freeswitch/Makefile 1.4 +0 -33 ports/net/freeswitch/distinfo 1.3 +0 -50 ports/net/freeswitch/files/freeswitch.in 1.2 +0 -18 ports/net/freeswitch/files/patch-build-modules.conf.in 1.2 +7 -14 ports/net/freeswitch/files/pkg-message.in 1.2 +8 -2 ports/net/freeswitch/pkg-descr 1.2 +0 -11 ports/net/freeswitch/pkg-message 1.4 +0 -4063 ports/net/freeswitch/pkg-plist _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.