cf118ccf87
Reported by: lwhsu
27 lines
619 B
Makefile
27 lines
619 B
Makefile
PORTNAME= tarantool-c
|
|
PORTVERSION= 1.0.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= C client for Tarantool 1.6+
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libmsgpuck.so:devel/msgpuck
|
|
|
|
USES= cmake compiler:c11
|
|
|
|
CMAKE_OFF= ENABLE_BUNDLED_DOCS ENABLE_BUNDLED_MSGPUCK
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= tarantool
|
|
GH_TAGNAME= 0ab37e8
|
|
|
|
post-patch:
|
|
@${GREP} -lr 'msgpuck/msgpuck.h' ${WRKSRC}/ | ${XARGS} ${REINPLACE_CMD} -e 's|msgpuck/msgpuck.h|msgpuck.h|'
|
|
@${REINPLACE_CMD} -e 's|libmsgpuck.a|libmsgpuck.so|' ${WRKSRC}/cmake/FindMsgPuck.cmake
|
|
|
|
.include <bsd.port.mk>
|