aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2012-02-05 21:35:25 +0800
committerlwhsu <lwhsu@FreeBSD.org>2012-02-05 21:35:25 +0800
commit733153916e79ab4048dd0afdabb432d13734b646 (patch)
tree23e5063f2494aac1f95735e92346a233c5ec948b
parent658bd1137c9cf1fec0caa0ec5a4912a94b0589bc (diff)
downloadfreebsd-ports-gnome-733153916e79ab4048dd0afdabb432d13734b646.tar.gz
freebsd-ports-gnome-733153916e79ab4048dd0afdabb432d13734b646.tar.zst
freebsd-ports-gnome-733153916e79ab4048dd0afdabb432d13734b646.zip
Add pecl-amqp 0.3.1, PHP extension for AMQP API.
PR: ports/164753 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
-rw-r--r--net/Makefile1
-rw-r--r--net/pecl-amqp/Makefile25
-rw-r--r--net/pecl-amqp/distinfo2
-rw-r--r--net/pecl-amqp/pkg-descr5
4 files changed, 33 insertions, 0 deletions
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 <jnlin@csie.nctu.edu.tw>
+#
+# $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 <bsd.port.mk>
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