ports/145242: New Port: net/rabbitmq-c
Geoff Garside
rabbitmq at geoffgarside.co.uk
Wed Mar 31 15:40:01 UTC 2010
>Number: 145242
>Category: ports
>Synopsis: New Port: net/rabbitmq-c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 31 15:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Geoff Garside
>Release: FreeBSD 8.0
>Organization:
>Environment:
>Description:
Port for the RabbitMQ C AMQP Client Library, see http://hg.rabbitmq.com/rabbitmq-c for original source.
Tested with `port test` and all seems to be OK.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# rabbitmq-c
# rabbitmq-c/Makefile
# rabbitmq-c/pkg-plist
# rabbitmq-c/distinfo
# rabbitmq-c/pkg-descr
#
echo c - rabbitmq-c
mkdir -p rabbitmq-c > /dev/null 2>&1
echo x - rabbitmq-c/Makefile
sed 's/^X//' >rabbitmq-c/Makefile << '417640bf2708d923d1a55ee2dc0c81c4'
X# New ports collection makefile for: rabbitmq-c
X# Date created: 31 March 2010
X# Whom: Geoff Garside
X#
X# $FreeBSD$
X#
X
XPORTNAME= rabbitmq-c
XPORTVERSION= 0.0.1
X#PORTREVISION= 0
XCATEGORIES= net
XMASTER_SITES= http://hg.rabbitmq.com/rabbitmq-c/archive/:c \
X http://hg.rabbitmq.com/rabbitmq-codegen/archive/:codegen
XDISTNAME= ${PORTNAME}-4e789c776a45
XDISTFILES= 4e789c776a45.tar.bz2:c \
X 821f5ee7b040.tar.bz2:codegen
XDIST_SUBDIR= rabbitmq
X
XMAINTAINER= rabbitmq at geoffgarside.co.uk
XCOMMENT= RabbitMQ C AMQP client library
X
XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson
X
XUSE_BZIP2= YES
XUSE_GMAKE= YES
XUSE_PYTHON= YES
XUSE_LDCONFIG= YES
XGNU_CONFIGURE= YES
XUSE_AUTOTOOLS= aclocal:110 autoconf:262 automake:110 autoheader:262 libtool:22
XAUTOMAKE_ARGS= -i --add-missing
XACLOCAL_ARGS= -I . -I ${LOCALBASE}/share/aclocal
X
XOPTIONS= 64BIT "Produce 64-bit library" Off \
X POPT "Popt support in tools" Off
X
X.include <bsd.port.options.mk>
X
X.if defined(WITH_64BIT)
XCONFIGURE_ARGS+= --enable-64-bit
X.endif
X
X.if defined(WITH_POPT)
XLIB_DEPENDS+= popt.0:${PORTSDIR}/devel/popt
XCONFIGURE_ARGS+= --with-popt
X.else
XCONFIGURE_ARGS+= --without-popt
X.endif
X
Xpost-install:
X ${STRIP_CMD} ${PREFIX}/lib/librabbitmq.so.0
X
Xpost-extract:
X @${REINPLACE_CMD} -e 's|rabbitmq-codegen|rabbitmq-codegen-821f5ee7b040|g' ${WRKSRC}/configure.ac
X
Xpre-configure:
X @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE})
X
X.include <bsd.port.mk>
417640bf2708d923d1a55ee2dc0c81c4
echo x - rabbitmq-c/pkg-plist
sed 's/^X//' >rabbitmq-c/pkg-plist << '3c4c910ecbfabb7767f62bccef9b0d4c'
Xbin/amqp_bind
Xbin/amqp_consumer
Xbin/amqp_exchange_declare
Xbin/amqp_listen
Xbin/amqp_listenq
Xbin/amqp_producer
Xbin/amqp_sendstring
Xbin/amqp_unbind
Xinclude/amqp.h
Xinclude/amqp_framing.h
Xlib/librabbitmq.a
Xlib/librabbitmq.la
Xlib/librabbitmq.so
Xlib/librabbitmq.so.0
3c4c910ecbfabb7767f62bccef9b0d4c
echo x - rabbitmq-c/distinfo
sed 's/^X//' >rabbitmq-c/distinfo << 'c01204ba065fbd7a30cc10fb4fb0b3d7'
XMD5 (rabbitmq/4e789c776a45.tar.bz2) = fb4d3a6b1e23c2c1a3cbcf066f57273e
XSHA256 (rabbitmq/4e789c776a45.tar.bz2) = 17da5bc8597b9be66e1208c47f068c4aea4dbdef55c0f774586224cc7e755a4f
XSIZE (rabbitmq/4e789c776a45.tar.bz2) = 47470
XMD5 (rabbitmq/821f5ee7b040.tar.bz2) = c1b36ea13f83943d4d661b6ad71972b0
XSHA256 (rabbitmq/821f5ee7b040.tar.bz2) = f7eb8f69f3b3e3a176d77d1fc6d228a10ce58be6d7ed420ba9946720b4155344
XSIZE (rabbitmq/821f5ee7b040.tar.bz2) = 13229
c01204ba065fbd7a30cc10fb4fb0b3d7
echo x - rabbitmq-c/pkg-descr
sed 's/^X//' >rabbitmq-c/pkg-descr << 'cf91adae7243728322f6ef04ca73dd6e'
XThis is a C-language AMQP client library for use with AMQP servers
Xspeaking protocol versions 0-8 and 0-9-1. This port only speaks the
X0-8 protocol version, for 0-9-1 use net/rabbitmq-c-devel.
X
X - <http://www.rabbitmq.com/>
X - <http://www.amqp.org/>
X - <http://hg.rabbitmq.com/rabbitmq-c>
X
XWWW: http://hg.rabbitmq.com/rabbitmq-c
cf91adae7243728322f6ef04ca73dd6e
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list