freebsd-ports/net/rabbitmq-c-devel/Makefile
Jimmy Olgeni 4a96edcd06 Upgrade to version 0.7.0.
PR:		201004
Submitted by:	olgeni
Approved by:	maintainer
2015-06-21 13:53:56 +00:00

37 lines
850 B
Makefile

# Created by: Geoff Garside
# $FreeBSD$
PORTNAME= rabbitmq-c
PORTVERSION= 0.7.0
DISTVERSIONPREFIX= v
CATEGORIES= net
PKGNAMESUFFIX= -devel
MAINTAINER= freebsd@geoffgarside.co.uk
COMMENT= RabbitMQ C AMQP client library
LICENSE= GPLv2 MPL
LICENSE_COMB= dual
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson
CONFLICTS= rabbitmq-c-[0-9]*
USES= cmake python tar:bzip2
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= alanxz
OPTIONS_DEFINE= POPT
OPTIONS_SUB= yes
POPT_DESC= Popt support in tools
POPT_LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
POPT_CFLAGS= -I${LOCALBASE}/include
POPT_LDFLAGS= -L${LOCALBASE}/lib
post-stage:
${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/librabbitmq.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/librabbitmq.pc
${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
.include <bsd.port.mk>