summaryrefslogtreecommitdiff
path: root/devel/libqb/Makefile
blob: 2079fd51ec837d9eabe7551944b2fa8af39f09cc (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
# Created by: dpejesh@yahoo.com
# $FreeBSD$

PORTNAME=	libqb
PORTVERSION=	0.17.2
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	https://github.com/ClusterLabs/libqb/releases/download/v${PORTVERSION}/

MAINTAINER=	dpejesh@yahoo.com
COMMENT=	High performance logging, tracing, ipc, and polling library

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

GROUPS=		haclient

QB_SOCKET_DIR?=	/var/run/qb
PLIST_SUB+=	QB_SOCKET_DIR=${QB_SOCKET_DIR}

USE_LDCONFIG=	yes
USES=		gmake libtool pathfix pkgconfig tar:xz
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-silent-rules --with-socket-dir=${QB_SOCKET_DIR}
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	DOXYGEN
OPTIONS_SUB=	yes
DOXYGEN_BUILD_DEPENDS=	doxygen:${PORTSDIR}/devel/doxygen

post-install:
	${MKDIR} ${STAGEDIR}${QB_SOCKET_DIR}

.include <bsd.port.mk>