# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 119011 2014-04-15 06:42:21Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           php 1.1

name                php-amqp
version             1.4.0
categories          php net
platforms           darwin
maintainers         ryandesign openmaintainer
license             PHP-3.01

php.branches        5.3 5.4 5.5
php.pecl            yes

description         AMQP interface for PHP

long_description    This extension can communicate with any AMQP spec 0-9-1 \
                    compatible server, such as RabbitMQ, OpenAMQP and Qpid, \
                    giving you the ability to create and delete exchanges \
                    and queues, as well as publish to any exchange and \
                    consume from any queue.

checksums           rmd160  8d55af5bc24b45d09aa2c4476b8ee02701f52830 \
                    sha256  e6553154acbffeaacfad83edf94a7b94e2e50a850ec953d15537016267720f25

depends_lib-append  port:rabbitmq-c

configure.args-append --with-amqp --with-librabbitmq-dir=${prefix}
