aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2010-08-15 03:31:02 +0800
committerjpaetzel <jpaetzel@FreeBSD.org>2010-08-15 03:31:02 +0800
commita6ab6c3a936418166c4099ac9bf4114b6e97bc3d (patch)
tree372646c55af26cba225e1b175ab9e3f80b96e4ee /misc
parentfc54055763ca376d69c97875771733e7d42ced90 (diff)
downloadfreebsd-ports-gnome-a6ab6c3a936418166c4099ac9bf4114b6e97bc3d.tar.gz
freebsd-ports-gnome-a6ab6c3a936418166c4099ac9bf4114b6e97bc3d.tar.zst
freebsd-ports-gnome-a6ab6c3a936418166c4099ac9bf4114b6e97bc3d.zip
Add freeswitch-pizzademo 1.0.6, freeSwitch pizza demo.
PR: ports/149120 Submitted by: Richard Neese <r.neese at gmail.com>
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/freeswitch-pizzademo/Makefile40
-rw-r--r--misc/freeswitch-pizzademo/distinfo9
-rw-r--r--misc/freeswitch-pizzademo/pkg-descr1
-rw-r--r--misc/freeswitch-pizzademo/pkg-plist90
5 files changed, 141 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 5d85c0864f9a..f58e57fc4437 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -122,6 +122,7 @@
SUBDIR += freebsd-doc-zh_cn
SUBDIR += freebsd-doc-zh_tw
SUBDIR += freeguide
+ SUBDIR += freeswitch-pizzademo
SUBDIR += freeswitch-scripts
SUBDIR += freshmeat-submit
SUBDIR += ftdi-eeprom
diff --git a/misc/freeswitch-pizzademo/Makefile b/misc/freeswitch-pizzademo/Makefile
new file mode 100644
index 000000000000..d56eea0e33a4
--- /dev/null
+++ b/misc/freeswitch-pizzademo/Makefile
@@ -0,0 +1,40 @@
+# Ports collection makefile for: freeswitch pizza demo
+# Date created: september , 2009
+# Whom: Richard Neese <r.neese@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= freeswitch-pizza
+PORTVERSION= 1.0.6
+CATEGORIES= misc
+MASTER_SITES= http://files.freeswitch.org/
+DISTFILES= ${BASE_PORTNAME}-${PORTVERSION}.tar.gz \
+ pizza_gram.tar.gz \
+ pizza_sounds.tar.gz
+#EXTRACT_ONLY= ${BASE_PORTNAME}-${PORTVERSION}.tar.gz
+
+MAINTAINER= r.neese@gmail.com
+COMMENT= FreeSwitch pizza demo
+
+RUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core
+
+NO_BUILD= yes
+
+BASE_PORTNAME= freeswitch
+
+WRKSRC= ${WRKDIR}/${BASE_PORTNAME}-${PORTVERSION}/scripts/javascript
+
+do-install:
+ @cd ${WRKDIR}; ${FIND} *.gram \
+ | ${CPIO} -pdm -R freeswitch:freeswitch ${PREFIX}/etc/${BASE_PORTNAME}/grammar/
+ @cd ${WRKDIR}; ${FIND} pizza \
+ | ${CPIO} -pdm -R freeswitch:freeswitch ${PREFIX}/share/${BASE_PORTNAME}/sounds/
+ ${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>
diff --git a/misc/freeswitch-pizzademo/distinfo b/misc/freeswitch-pizzademo/distinfo
new file mode 100644
index 000000000000..862eea0fa08f
--- /dev/null
+++ b/misc/freeswitch-pizzademo/distinfo
@@ -0,0 +1,9 @@
+MD5 (freeswitch-1.0.6.tar.gz) = 388effee587887a81fe7f411b7350590
+SHA256 (freeswitch-1.0.6.tar.gz) = 5610f478307b5c06d38e1ea4029298142c2960e426c3297378857d8734770215
+SIZE (freeswitch-1.0.6.tar.gz) = 36400963
+MD5 (pizza_gram.tar.gz) = dc10f21c8d6bd708b7deae9f18a82b92
+SHA256 (pizza_gram.tar.gz) = e713406834ba40fe07c69b84f042fcb27493c15bc6b51133418527bc7a818027
+SIZE (pizza_gram.tar.gz) = 1053
+MD5 (pizza_sounds.tar.gz) = dacfde8879da8dd0e0542069e5cba6a2
+SHA256 (pizza_sounds.tar.gz) = 606f736625b7f331e219e10460029c8e0b0e58136feeddde976a0dcc68a97bef
+SIZE (pizza_sounds.tar.gz) = 1498679
diff --git a/misc/freeswitch-pizzademo/pkg-descr b/misc/freeswitch-pizzademo/pkg-descr
new file mode 100644
index 000000000000..65c4d2781f07
--- /dev/null
+++ b/misc/freeswitch-pizzademo/pkg-descr
@@ -0,0 +1 @@
+FreeSwitch PockectSphinx Pizza Demo
diff --git a/misc/freeswitch-pizzademo/pkg-plist b/misc/freeswitch-pizzademo/pkg-plist
new file mode 100644
index 000000000000..f6f20540c12b
--- /dev/null
+++ b/misc/freeswitch-pizzademo/pkg-plist
@@ -0,0 +1,90 @@
+etc/freeswitch/grammar/pizza_arso.gram
+etc/freeswitch/grammar/pizza_crust.gram
+etc/freeswitch/grammar/pizza_order.gram
+etc/freeswitch/grammar/pizza_size.gram
+etc/freeswitch/grammar/pizza_specialty.gram
+etc/freeswitch/grammar/pizza_toppings.gram
+etc/freeswitch/grammar/pizza_type.gram
+etc/freeswitch/grammar/pizza_yesno.gram
+etc/freeswitch/scripts/javascript/ps_pizza.js
+etc/freeswitch/scripts/javascript/js_modules/SpeechTools.jm
+share/freeswitch/sounds/.pizza
+share/freeswitch/sounds/pizza/ConfirmCustom.wav
+share/freeswitch/sounds/pizza/ConfirmDali.wav
+share/freeswitch/sounds/pizza/ConfirmDelivery.wav
+share/freeswitch/sounds/pizza/ConfirmExtraLarge.wav
+share/freeswitch/sounds/pizza/ConfirmHandTossed.wav
+share/freeswitch/sounds/pizza/ConfirmHawaiian.wav
+share/freeswitch/sounds/pizza/ConfirmLarge.wav
+share/freeswitch/sounds/pizza/ConfirmMeatLovers.wav
+share/freeswitch/sounds/pizza/ConfirmMedium.wav
+share/freeswitch/sounds/pizza/ConfirmNone.wav
+share/freeswitch/sounds/pizza/ConfirmPan.wav
+share/freeswitch/sounds/pizza/ConfirmPickle.wav
+share/freeswitch/sounds/pizza/ConfirmPickup.wav
+share/freeswitch/sounds/pizza/ConfirmRemove.wav
+share/freeswitch/sounds/pizza/ConfirmSmall.wav
+share/freeswitch/sounds/pizza/ConfirmSpeciality.wav
+share/freeswitch/sounds/pizza/ConfirmStartOver.wav
+share/freeswitch/sounds/pizza/ConfirmThin.wav
+share/freeswitch/sounds/pizza/ConfirmTotallyHumongous.wav
+share/freeswitch/sounds/pizza/ConfirmVegetarian.wav
+share/freeswitch/sounds/pizza/Crust.wav
+share/freeswitch/sounds/pizza/Dali.wav
+share/freeswitch/sounds/pizza/Delivery.wav
+share/freeswitch/sounds/pizza/ExtraLarge.wav
+share/freeswitch/sounds/pizza/GP-ARSO.wav
+share/freeswitch/sounds/pizza/GP-Adding.wav
+share/freeswitch/sounds/pizza/GP-ChangeSpec.wav
+share/freeswitch/sounds/pizza/GP-Crust.wav
+share/freeswitch/sounds/pizza/GP-DeliveryorTakeout.wav
+share/freeswitch/sounds/pizza/GP-Greeting.wav
+share/freeswitch/sounds/pizza/GP-NI.wav
+share/freeswitch/sounds/pizza/GP-NoDeliveryorTake-out.wav
+share/freeswitch/sounds/pizza/GP-Remove.wav
+share/freeswitch/sounds/pizza/GP-Size.wav
+share/freeswitch/sounds/pizza/GP-SpecialtyList.wav
+share/freeswitch/sounds/pizza/GP-SpecialtyorCustom.wav
+share/freeswitch/sounds/pizza/GP-Toppings.wav
+share/freeswitch/sounds/pizza/GP-Wanted-No.wav
+share/freeswitch/sounds/pizza/GP-WasThisRight.wav
+share/freeswitch/sounds/pizza/GP-With.wav
+share/freeswitch/sounds/pizza/GP-You_ordered_a.wav
+share/freeswitch/sounds/pizza/HandTossed.wav
+share/freeswitch/sounds/pizza/Hawaiian.wav
+share/freeswitch/sounds/pizza/Large.wav
+share/freeswitch/sounds/pizza/MeatLovers.wav
+share/freeswitch/sounds/pizza/Medium.wav
+share/freeswitch/sounds/pizza/Pan.wav
+share/freeswitch/sounds/pizza/Pickle.wav
+share/freeswitch/sounds/pizza/Pickup.wav
+share/freeswitch/sounds/pizza/Small.wav
+share/freeswitch/sounds/pizza/Thin.wav
+share/freeswitch/sounds/pizza/TotallyHumongous.wav
+share/freeswitch/sounds/pizza/Vegetarian.wav
+share/freeswitch/sounds/pizza/anchovies.wav
+share/freeswitch/sounds/pizza/artichoke.wav
+share/freeswitch/sounds/pizza/bellpepper.wav
+share/freeswitch/sounds/pizza/canadianbacon.wav
+share/freeswitch/sounds/pizza/everything.wav
+share/freeswitch/sounds/pizza/extracheese.wav
+share/freeswitch/sounds/pizza/garlic.wav
+share/freeswitch/sounds/pizza/goatcheese.wav
+share/freeswitch/sounds/pizza/ham.wav
+share/freeswitch/sounds/pizza/mango.wav
+share/freeswitch/sounds/pizza/mushroom.wav
+share/freeswitch/sounds/pizza/olives.wav
+share/freeswitch/sounds/pizza/onions.wav
+share/freeswitch/sounds/pizza/pepperoni.wav
+share/freeswitch/sounds/pizza/pickles.wav
+share/freeswitch/sounds/pizza/pineapple.wav
+share/freeswitch/sounds/pizza/pizza.wav
+share/freeswitch/sounds/pizza/salami.wav
+share/freeswitch/sounds/pizza/sausage.wav
+share/freeswitch/sounds/pizza/shrimp.wav
+share/freeswitch/sounds/pizza/spinach.wav
+@dirrm etc/freeswitch/scripts/javascript/js_modules
+@dirrm etc/freeswitch/scripts/javascript
+@dirrm share/freeswitch/sounds/pizza
+@exec mkdir etc/freeswitch/scripts/javascript
+@exec chown -R freeswitch:freeswitch etc/freeswitch/scripts