summaryrefslogtreecommitdiff
path: root/comms/p5-Asterisk
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2006-03-15 00:15:08 +0000
committergavan <gavan@pkgsrc.org>2006-03-15 00:15:08 +0000
commite38d9e37963e21c8f9365bcb3acb10f87e6fe9e8 (patch)
treed20a8136bf13b7df5879e51bb87f82fb0673e082 /comms/p5-Asterisk
parent0c02765e24e7467050849d60bdef768397642403 (diff)
downloadpkgsrc-e38d9e37963e21c8f9365bcb3acb10f87e6fe9e8.tar.gz
Add asterisk-perl 0.08, a collection of perl modules and examples for use with
Asterisk. For consistency, the pkgsrc package is called p5-Asterisk.
Diffstat (limited to 'comms/p5-Asterisk')
-rw-r--r--comms/p5-Asterisk/DESCR1
-rw-r--r--comms/p5-Asterisk/Makefile33
-rw-r--r--comms/p5-Asterisk/PLIST10
-rw-r--r--comms/p5-Asterisk/distinfo5
4 files changed, 49 insertions, 0 deletions
diff --git a/comms/p5-Asterisk/DESCR b/comms/p5-Asterisk/DESCR
new file mode 100644
index 00000000000..31b82c26588
--- /dev/null
+++ b/comms/p5-Asterisk/DESCR
@@ -0,0 +1 @@
+asterisk-perl is a collection of AGI scripts and perl modules for Asterisk.
diff --git a/comms/p5-Asterisk/Makefile b/comms/p5-Asterisk/Makefile
new file mode 100644
index 00000000000..e8d63e7e84b
--- /dev/null
+++ b/comms/p5-Asterisk/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2006/03/15 00:15:08 gavan Exp $
+#
+
+DISTNAME= asterisk-perl-0.08
+PKGNAME= p5-Asterisk-0.08
+CATEGORIES= comms perl5
+MASTER_SITES= http://asterisk.gnuinter.net/files/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://asterisk.gnuinter.net/
+COMMENT= Collection of perl modules to be used with Asterisk
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+PERL5_PACKLIST= auto/asterisk-perl/.packlist
+EXAMPLES_DIR= ${PREFIX}/share/examples/p5-Asterisk
+
+EXAMPLE_FILES= agi-enum.agi calleridnamelookup.agi tts-line.agi
+EXAMPLE_FILES+= agi-sayani.agi manager-test.pl tts-ping.agi
+EXAMPLE_FILES+= agi-test.agi tts-bofh.agi
+
+.for file in ${EXAMPLE_FILES}
+REPLACE_PERL+= ${WRKSRC}/examples/${file}
+.endfor
+
+post-install:
+ ${INSTALL_SCRIPT_DIR} ${EXAMPLES_DIR}
+.for file in ${EXAMPLE_FILES}
+ ${INSTALL_SCRIPT} ${WRKSRC}/examples/${file} ${EXAMPLES_DIR}
+.endfor
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/p5-Asterisk/PLIST b/comms/p5-Asterisk/PLIST
new file mode 100644
index 00000000000..f93998a1f75
--- /dev/null
+++ b/comms/p5-Asterisk/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2006/03/15 00:15:08 gavan Exp $
+share/examples/p5-Asterisk/agi-enum.agi
+share/examples/p5-Asterisk/agi-sayani.agi
+share/examples/p5-Asterisk/agi-test.agi
+share/examples/p5-Asterisk/calleridnamelookup.agi
+share/examples/p5-Asterisk/manager-test.pl
+share/examples/p5-Asterisk/tts-bofh.agi
+share/examples/p5-Asterisk/tts-line.agi
+share/examples/p5-Asterisk/tts-ping.agi
+@dirrm share/examples/p5-Asterisk
diff --git a/comms/p5-Asterisk/distinfo b/comms/p5-Asterisk/distinfo
new file mode 100644
index 00000000000..7a64faf02da
--- /dev/null
+++ b/comms/p5-Asterisk/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2006/03/15 00:15:08 gavan Exp $
+
+SHA1 (asterisk-perl-0.08.tar.gz) = 6f58dac9dcbce4607539cb1441d551ca042ceee9
+RMD160 (asterisk-perl-0.08.tar.gz) = cbfd3a2660e433e6761b46136fbaa94b00ac41ad
+Size (asterisk-perl-0.08.tar.gz) = 13217 bytes