aboutsummaryrefslogtreecommitdiffstats
path: root/misc/freeswitch-pizzademo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/freeswitch-pizzademo/Makefile')
-rw-r--r--misc/freeswitch-pizzademo/Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/misc/freeswitch-pizzademo/Makefile b/misc/freeswitch-pizzademo/Makefile
deleted file mode 100644
index 685153a61a10..000000000000
--- a/misc/freeswitch-pizzademo/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# Created by: Richard Neese <r.neese@gmail.com>
-# $FreeBSD$
-
-PORTNAME= freeswitch-pizza
-PORTVERSION= 1.0.7.1
-PORTEPOCH= 1
-CATEGORIES= misc
-MASTER_SITES= http://dl.dropbox.com/u/152504/ \
- http://files.freeswitch.org/:2
-DISTFILES= ${BASE_PORTNAME}-${PORTVERSION}.tar.gz \
- pizza_gram.tar.gz:2 \
- pizza_sounds.tar.gz:2
-DIST_SUBDIR= ${BASE_PORTNAME}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= FreeSwitch pizza demo
-
-DEPRECATED= Depends on expired net/freeswitch-core
-EXPIRATION_DATE=2013-12-19
-
-RUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core \
- ${LOCALBASE}/share/${BASE_PORTNAME}/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
-
-NO_BUILD= yes
-
-BASE_PORTNAME= freeswitch
-
-WRKSRC= ${WRKDIR}/${BASE_PORTNAME}-${PORTVERSION}/scripts/javascript
-
-NO_STAGE= yes
-pre-install:
- @${REINPLACE_CMD} -e 's|include("js_modules/SpeechTools.jm")|include("javascript/js_modules/SpeechTools.jm")|g' ${WRKSRC}/ps_pizza.js
- @${REINPLACE_CMD} -e 's|asr.setAudioBase("/root/pizza)|asr.setAudioBase("${PREFIX}/share/${BASE_PORTNAME}/sounds/en/us/callie/pizza/8000")|g' ${WRKSRC}/ps_pizza.js
-
-do-install:
- @cd ${WRKDIR}; ${FIND} *.gram \
- | ${CPIO} -pdm -R freeswitch:freeswitch ${PREFIX}/etc/${BASE_PORTNAME}/grammar/
- @cd ${WRKDIR}/pizza/; ${FIND} *.wav \
- | ${CPIO} -pdm -R freeswitch:freeswitch ${PREFIX}/share/${BASE_PORTNAME}/sounds/en/us/callie/pizza/8000
- ${TOUCH} ${PREFIX}/share/${BASE_PORTNAME}/sounds/.pizza
- @${MKDIR} ${PREFIX}/etc/${BASE_PORTNAME}/scripts/javascript
- @cd ${WRKSRC}; ${FIND} ps_pizza.js \
- | ${CPIO} -pdm -R freeswitch:freeswitch ${PREFIX}/etc/${BASE_PORTNAME}/scripts/javascript
- @cd ${WRKSRC}; ${FIND} js_modules \
- | ${CPIO} -pdm -R freeswitch:freeswitch ${PREFIX}/etc/${BASE_PORTNAME}/scripts/javascript
-
-.include <bsd.port.mk>