mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
52 lines
1.9 KiB
Tcl
52 lines
1.9 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-amqp
|
|
categories-append net
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
license PHP-3.01
|
|
|
|
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.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.
|
|
|
|
if {[vercmp ${php.branch} >= 7.4]} {
|
|
epoch 1
|
|
version 2.2.0
|
|
revision 0
|
|
checksums rmd160 69f6f48591da14730f5312f8a5b311d5527e41f9 \
|
|
sha256 5ae624bd785e299523f6132c204bd562cc73066dd33a10a12aa96389f55a4de7 \
|
|
size 119893
|
|
} elseif {[vercmp ${php.branch} >= 5.6]} {
|
|
epoch 1
|
|
version 1.11.0
|
|
revision 0
|
|
checksums rmd160 5c36ab5764eacd2d20e52f9d44b8cee3594544a4 \
|
|
sha256 dc5212b4785f59955118a219bbfbcedb7aa6ab2a91e8038a0ad1898f331c2f08 \
|
|
size 108493
|
|
} elseif {[vercmp ${php.branch} >= 5.3]} {
|
|
epoch 1
|
|
version 1.9.3
|
|
revision 0
|
|
checksums rmd160 14e0ad1abba8871bbba7a43fc6779dd4978ad3b1 \
|
|
sha256 c79e52db33bf907dad7da8f350dbdf2937b0679a3dc44fb2a941efb6d4808da9 \
|
|
size 101342
|
|
}
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:rabbitmq-c
|
|
|
|
configure.args --with-amqp \
|
|
--with-librabbitmq-dir=${prefix}
|
|
}
|