ports/net/rabbitmq-c/Makefile
Daniel Engberg c67a6464ad net/rabbitmq-c: Update to 0.11.0
- Update to 0.11.0

And while here, also:
- Rearrage Makefile to Porter's Handbooks guidelines
- Remove unneeded Python dependency
- Make static library options
- Add support for "make test"

PR:		256842
Approved by:	dch (maintainer)
2021-06-30 22:06:02 +02:00

31 lines
547 B
Makefile

# Created by: Geoff Garside
PORTNAME= rabbitmq-c
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.0
CATEGORIES= net
MAINTAINER= dch@FreeBSD.org
COMMENT= RabbitMQ C AMQP client library
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE-MIT
LIB_DEPENDS= libpopt.so:devel/popt
USES= cmake localbase ssl
USE_GITHUB= yes
GH_ACCOUNT= alanxz
USE_LDCONFIG= yes
CMAKE_OFF= BUILD_EXAMPLES
TEST_TARGET= test
OPTIONS_DEFINE= STATIC TEST
OPTIONS_SUB= yes
STATIC_CMAKE_BOOL= BUILD_STATIC_LIBS
TEST_IMPLIES= STATIC
TEST_CMAKE_BOOL= BUILD_TESTS
.include <bsd.port.mk>