View | Details | Raw Unified | Return to bug 186690 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/home/pi/myp/net/rabbitmq-c-devel/Makefile (-25 / +11 lines)
Lines 2-42 Link Here
2
# $FreeBSD: head/net/rabbitmq-c-devel/Makefile 362050 2014-07-16 08:26:25Z bapt $
2
# $FreeBSD: head/net/rabbitmq-c-devel/Makefile 362050 2014-07-16 08:26:25Z bapt $
3
3
4
PORTNAME=	rabbitmq-c
4
PORTNAME=	rabbitmq-c
5
PORTVERSION=	0.0.1
5
PORTVERSION=	0.5.1
6
PORTREVISION=	2
7
CATEGORIES=	net
6
CATEGORIES=	net
8
MASTER_SITES=	http://hg.rabbitmq.com/rabbitmq-c/archive/:c \
9
		http://hg.rabbitmq.com/rabbitmq-codegen/archive/:codegen
10
PKGNAMESUFFIX=	-devel
7
PKGNAMESUFFIX=	-devel
11
DISTNAME=	${PORTNAME}-cbeb2f3c3e6d
12
DISTFILES=	cbeb2f3c3e6d.tar.bz2:c \
13
		df43f2bfcf0e.tar.bz2:codegen
14
DIST_SUBDIR=	rabbitmq
15
8
16
MAINTAINER=	rabbitmq@geoffgarside.co.uk
9
MAINTAINER=	rabbitmq@geoffgarside.co.uk
17
COMMENT=	RabbitMQ C AMQP client library
10
COMMENT=	RabbitMQ C AMQP client library
18
11
19
LICENSE=		GPLv2 MPL
12
LICENSE=	GPLv2 MPL
20
LICENSE_COMB=		dual
13
LICENSE_COMB=	dual
21
14
22
BUILD_DEPENDS=	python:${PORTSDIR}/lang/python \
15
BUILD_DEPENDS=	python:${PORTSDIR}/lang/python \
23
		${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson
16
		${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson
24
17
25
CONFLICTS=	rabbitmq-c-[0-9]*
18
CONFLICTS=	rabbitmq-c-[0-9]*
26
19
27
USES=		gmake tar:bzip2
20
USES=		cmake tar:bzip2 libtool python
28
USE_PYTHON=	yes
21
USE_GITHUB=	yes
29
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
30
GNU_CONFIGURE=	yes
23
GH_ACCOUNT=	alanxz
31
USE_AUTOTOOLS=	aclocal autoconf automake autoheader libtool
24
GH_COMMIT=	e554ca7
32
AUTOMAKE_ARGS=	-i --add-missing
25
GH_TAGNAME=	v${PORTVERSION}
33
ACLOCAL_ARGS=	-I . -I ${LOCALBASE}/share/aclocal
34
26
35
OPTIONS_DEFINE=	64BIT POPT
27
OPTIONS_DEFINE=	64BIT POPT
36
64BIT_DESC=	Produce 64-bit library
28
64BIT_DESC=	Produce 64-bit library
37
POPT_DESC=	Popt support in tools
29
POPT_DESC=	Popt support in tools
38
30
39
NO_STAGE=	yes
40
.include <bsd.port.options.mk>
31
.include <bsd.port.options.mk>
41
32
42
.if ${PORT_OPTIONS:M64BIT}
33
.if ${PORT_OPTIONS:M64BIT}
Lines 49-60 Link Here
49
LIB_DEPENDS+=	libpopt.so:${PORTSDIR}/devel/popt
40
LIB_DEPENDS+=	libpopt.so:${PORTSDIR}/devel/popt
50
CFLAGS+=	-I${LOCALBASE}/include
41
CFLAGS+=	-I${LOCALBASE}/include
51
LDFLAGS+=	-L${LOCALBASE}/lib
42
LDFLAGS+=	-L${LOCALBASE}/lib
52
53
PLIST_SUB+=		POPT=''
54
CONFIGURE_ARGS+=	--with-popt
55
.else
56
PLIST_SUB+=		POPT='@comment '
57
CONFIGURE_ARGS+=	--without-popt
58
.endif
43
.endif
59
44
60
post-patch:
45
post-patch:
Lines 63-69 Link Here
63
pre-configure:
48
pre-configure:
64
	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE})
49
	@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${LIBTOOLIZE})
65
50
66
post-install:
51
post-stage:
67
	${STRIP_CMD} ${PREFIX}/lib/librabbitmq.so.0
52
	${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/librabbitmq.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/librabbitmq.pc
53
	${RMDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig
68
54
69
.include <bsd.port.mk>
55
.include <bsd.port.mk>
(-)/usr/home/pi/myp/net/rabbitmq-c-devel/distinfo (-4 / +2 lines)
Lines 1-4 Link Here
1
SHA256 (rabbitmq/cbeb2f3c3e6d.tar.bz2) = dcb7a8dd92b9323f4e343c2a0f0553da6a1cfa3a20d935df3e3d15c595d34669
1
SHA256 (rabbitmq-c-0.5.1.tar.bz2) = 23480c6fd9cc409d4974d850453b980b9038f9bed5c9bd68a85f160b66017544
2
SIZE (rabbitmq/cbeb2f3c3e6d.tar.bz2) = 62277
2
SIZE (rabbitmq-c-0.5.1.tar.bz2) = 142062
3
SHA256 (rabbitmq/df43f2bfcf0e.tar.bz2) = 535285def95c97ca6d697c4070a15042af35688cef1049c77c6ed64b78e972af
4
SIZE (rabbitmq/df43f2bfcf0e.tar.bz2) = 17370
(-)/usr/home/pi/myp/net/rabbitmq-c-devel/files/patch-configure.ac (-8 / +8 lines)
Lines 1-10 Link Here
1
--- configure.ac.orig	2011-09-06 09:43:42.000000000 +0100
1
--- configure.ac.orig  2014-02-12 13:50:04.000000000 +0000
2
+++ configure.ac	2011-11-17 15:12:38.567082237 +0000
2
+++ configure.ac       2014-02-12 13:51:38.000000000 +0000
3
@@ -14,6 +14,7 @@
3
@@ -39,6 +39,7 @@
4
 
4
 # Environment setup
5
 dnl Header-file checks
5
 AC_CANONICAL_HOST
6
 AC_HEADER_STDC
6
 AC_C_INLINE
7
+AC_CHECK_HEADERS([spawn.h])
7
+AC_CHECK_HEADERS([spawn.h])
8
 
8
 
9
 if test "x$GCC" = "xyes"; then
9
 # Set compiler flags
10
   dnl Only use -Wall if we have gcc
10
 AX_TRY_CFLAGS([-Wall], [AX_CFLAGS([-Wall])])
(-)/usr/home/pi/myp/net/rabbitmq-c-devel/pkg-descr (-5 / +3 lines)
Lines 2-9 Link Here
2
speaking protocol versions 0-8 and 0-9-1. This port only speaks the
2
speaking protocol versions 0-8 and 0-9-1. This port only speaks the
3
0-9-1 protocol version, for 0-8 use net/rabbitmq-c.
3
0-9-1 protocol version, for 0-8 use net/rabbitmq-c.
4
4
5
 - <http://www.rabbitmq.com/>
5
WWW: https://github.com/alanxz/rabbitmq-c
6
 - <http://www.amqp.org/>
6
WWW: http://www.rabbitmq.com/
7
 - <http://hg.rabbitmq.com/rabbitmq-c>
7
WWW: http://www.amqp.org/
8
9
WWW: http://hg.rabbitmq.com/rabbitmq-c
(-)/usr/home/pi/myp/net/rabbitmq-c-devel/pkg-plist (-8 / +10 lines)
Lines 1-11 Link Here
1
%%POPT%%bin/amqp-consume
1
bin/amqp-consume
2
%%POPT%%bin/amqp-declare-queue
2
bin/amqp-declare-queue
3
%%POPT%%bin/amqp-delete-queue
3
bin/amqp-delete-queue
4
%%POPT%%bin/amqp-get
4
bin/amqp-get
5
%%POPT%%bin/amqp-publish
5
bin/amqp-publish
6
include/amqp.h
6
include/amqp.h
7
include/amqp_framing.h
7
include/amqp_framing.h
8
lib/librabbitmq.a
8
include/amqp_ssl_socket.h
9
lib/librabbitmq.la
9
include/amqp_tcp_socket.h
10
lib/librabbitmq.so
10
lib/librabbitmq.so
11
lib/librabbitmq.so.0
11
lib/librabbitmq.so.1
12
lib/librabbitmq.so.1.2.1
13
libdata/pkgconfig/librabbitmq.pc

Return to bug 186690