diff --git a/comms/Makefile b/comms/Makefile index 28d00806b144..57928f20e770 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2005/11/26 09:46:07 wiz Exp $ +# $NetBSD: Makefile,v 1.64 2006/03/15 00:15:08 gavan Exp $ # COMMENT= Communication utilities @@ -34,6 +34,7 @@ SUBDIR+= minicom SUBDIR+= modemd SUBDIR+= obexftp SUBDIR+= openobex +SUBDIR+= p5-Asterisk SUBDIR+= p5-Device-Gsm SUBDIR+= p5-Device-Modem SUBDIR+= p5-Device-SerialPort diff --git a/comms/p5-Asterisk/DESCR b/comms/p5-Asterisk/DESCR new file mode 100644 index 000000000000..31b82c26588d --- /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 000000000000..e8d63e7e84b9 --- /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 000000000000..f93998a1f75d --- /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 000000000000..7a64faf02da3 --- /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