From 281a6b962e4745a038818f565679df467df8cd80 Mon Sep 17 00:00:00 2001
From: Maxim Sobolev <sobomax@FreeBSD.org>
Date: Fri, 3 May 2013 06:35:17 +0000
Subject: Add p5-Asterisk-FastAGI - a perl module for FastAGI handling.

Sponsored by:	pbxpress.it
---
 misc/Makefile                      |  1 +
 misc/p5-Asterisk-FastAGI/Makefile  | 25 +++++++++++++++++++++++++
 misc/p5-Asterisk-FastAGI/distinfo  |  2 ++
 misc/p5-Asterisk-FastAGI/pkg-descr | 10 ++++++++++
 misc/p5-Asterisk-FastAGI/pkg-plist |  5 +++++
 5 files changed, 43 insertions(+)
 create mode 100644 misc/p5-Asterisk-FastAGI/Makefile
 create mode 100644 misc/p5-Asterisk-FastAGI/distinfo
 create mode 100644 misc/p5-Asterisk-FastAGI/pkg-descr
 create mode 100644 misc/p5-Asterisk-FastAGI/pkg-plist

diff --git a/misc/Makefile b/misc/Makefile
index f675379aad46..a92e18d1beb0 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -384,6 +384,7 @@
     SUBDIR += p5-Array-PrintCols
     SUBDIR += p5-Array-RefElem
     SUBDIR += p5-Asterisk
+    SUBDIR += p5-Asterisk-FastAGI
     SUBDIR += p5-Bot-Training
     SUBDIR += p5-Bot-Training-MegaHAL
     SUBDIR += p5-Bot-Training-StarCraft
diff --git a/misc/p5-Asterisk-FastAGI/Makefile b/misc/p5-Asterisk-FastAGI/Makefile
new file mode 100644
index 000000000000..0002cb4387e1
--- /dev/null
+++ b/misc/p5-Asterisk-FastAGI/Makefile
@@ -0,0 +1,25 @@
+# Created by: Maksym Sobolyev <sobomax@pbxpress.it>
+# $FreeBSD$
+
+PORTNAME=	Asterisk-FastAGI
+PORTVERSION=	0.02
+CATEGORIES=	misc perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sobomax@FreeBSD.org
+COMMENT=	Perl module for FastAGI handling
+
+BUILD_DEPENDS=	p5-Module-Install>=0:${PORTSDIR}/devel/p5-Module-Install \
+		p5-ExtUtils-MakeMaker>=6.42:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker \
+		p5-Asterisk>=0:${PORTSDIR}/misc/p5-Asterisk \
+		p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server \
+		p5-File-Remove>=0:${PORTSDIR}/devel/p5-File-Remove
+RUN_DEPENDS=	p5-Asterisk>=0:${PORTSDIR}/misc/p5-Asterisk \
+		p5-Net-Server>=0:${PORTSDIR}/net/p5-Net-Server
+
+PERL_CONFIGURE=	yes
+
+MAN3=		Asterisk::FastAGI.3
+
+.include <bsd.port.mk>
diff --git a/misc/p5-Asterisk-FastAGI/distinfo b/misc/p5-Asterisk-FastAGI/distinfo
new file mode 100644
index 000000000000..ef2b5d95db4d
--- /dev/null
+++ b/misc/p5-Asterisk-FastAGI/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Asterisk-FastAGI-0.02.tar.gz) = 68412ba685bfc287b6850552d9a7c949bdd16682b6e8572120fa6248183b52d5
+SIZE (Asterisk-FastAGI-0.02.tar.gz) = 3186
diff --git a/misc/p5-Asterisk-FastAGI/pkg-descr b/misc/p5-Asterisk-FastAGI/pkg-descr
new file mode 100644
index 000000000000..df63dade6348
--- /dev/null
+++ b/misc/p5-Asterisk-FastAGI/pkg-descr
@@ -0,0 +1,10 @@
+Description
+-----------
+
+Asterisk::FastAGI provides a preforking daemon for handling FastAGI requests
+from Asterisk.
+
+Read the Net::Server for more information about the logging facilities,
+configuration, etc.
+
+WWW: http://search.cpan.org/dist/Asterisk-FastAGI/
diff --git a/misc/p5-Asterisk-FastAGI/pkg-plist b/misc/p5-Asterisk-FastAGI/pkg-plist
new file mode 100644
index 000000000000..64f7bbc9c1a5
--- /dev/null
+++ b/misc/p5-Asterisk-FastAGI/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Asterisk/FastAGI.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Asterisk/FastAGI/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Asterisk/FastAGI
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Asterisk
+@dirrmtry %%SITE_PERL%%/Asterisk
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0