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> |