From 9265e1a20eac2c4f2b4cb524b900ce2388abe061 Mon Sep 17 00:00:00 2001 From: Li-Wen Hsu Date: Sun, 5 Feb 2012 13:35:25 +0000 Subject: [PATCH] Add pecl-amqp 0.3.1, PHP extension for AMQP API. PR: ports/164753 Submitted by: Jui-Nan Lin --- net/Makefile | 1 + net/pecl-amqp/Makefile | 25 +++++++++++++++++++++++++ net/pecl-amqp/distinfo | 2 ++ net/pecl-amqp/pkg-descr | 5 +++++ 4 files changed, 33 insertions(+) create mode 100644 net/pecl-amqp/Makefile create mode 100644 net/pecl-amqp/distinfo create mode 100644 net/pecl-amqp/pkg-descr diff --git a/net/Makefile b/net/Makefile index 6fc58eb8beac..81051952ec99 100644 --- a/net/Makefile +++ b/net/Makefile @@ -804,6 +804,7 @@ SUBDIR += pear-URI_Template SUBDIR += pear-XML_RPC SUBDIR += pear-XML_RPC2 + SUBDIR += pecl-amqp SUBDIR += pecl-cvsclient SUBDIR += pecl-geoip SUBDIR += pecl-oauth diff --git a/net/pecl-amqp/Makefile b/net/pecl-amqp/Makefile new file mode 100644 index 000000000000..eb482727a516 --- /dev/null +++ b/net/pecl-amqp/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: pecl-amqp +# Date created: 2011-09-19 +# Whom: Jui-Nan Lin +# +# $FreeBSD$ +# + +PORTNAME= amqp +PORTVERSION= 0.3.1 +CATEGORIES= net pear +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PECL + +MAINTAINER= jnlin@csie.nctu.edu.tw +COMMENT= PHP extension for AMQP API + +LIB_DEPENDS= rabbitmq:${PORTSDIR}/net/rabbitmq-c-devel + +PHP_MODNAME= ${PORTNAME} +USE_PHP= yes +USE_PHPEXT= yes + +.include diff --git a/net/pecl-amqp/distinfo b/net/pecl-amqp/distinfo new file mode 100644 index 000000000000..4b71ea310d0f --- /dev/null +++ b/net/pecl-amqp/distinfo @@ -0,0 +1,2 @@ +SHA256 (PECL/amqp-0.3.1.tgz) = 4508ea6881b1a8179025954346180235094b18e8a3b138f924c4d07776753139 +SIZE (PECL/amqp-0.3.1.tgz) = 18499 diff --git a/net/pecl-amqp/pkg-descr b/net/pecl-amqp/pkg-descr new file mode 100644 index 000000000000..c82b507e7d12 --- /dev/null +++ b/net/pecl-amqp/pkg-descr @@ -0,0 +1,5 @@ +This extension uses rabbitmq-c library to provide API for +communicating with AMQP compliant servers, and writing +producers and consumers. + +WWW: http://pecl.php.net/package/amqp