blob: 61549aa3428d277a7232602e155d5ed193a4c56b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Geoff Garside
# $FreeBSD$
PORTNAME= rabbitmq-c
PORTVERSION= 0.5.2
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:${PORTSDIR}/lang/python \
${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>
|