summaryrefslogtreecommitdiff
path: root/sysutils/lttng-tools/Makefile
blob: 746d387046c88ce114a2a707ec8aae04f69b3606 (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
35
36
37
38
39
40
41
# Created by: Mahdi Mokhtari <mokhi64@gmail.com>

PORTNAME=	lttng-tools
PORTVERSION=	2.9.3
PORTREVISION=	6
CATEGORIES=	sysutils
MASTER_SITES=	http://lttng.org/files/${PORTNAME}/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Set of tools to control LTTng tracing

LICENSE=		LGPL21 GPLv2
LICENSE_COMB=		dual
LICENSE_FILE_LGPL21=	${WRKSRC}/lgpl-2.1.txt
LICENSE_FILE_GPLv2=	${WRKSRC}/gpl-2.0.txt

BROKEN_FreeBSD_13=	ld: error: duplicate symbol: mi_lttng_element_load_override_url
BROKEN_FreeBSD_14=	ld: error: duplicate symbol: mi_lttng_element_load_override_url

LIB_DEPENDS=	libpopt.so:devel/popt \
		liburcu.so:sysutils/liburcu \
		liblttng-ust-ctl.so:sysutils/lttng-ust

USES=		autoreconf bison compiler:c11 gnome libtool localbase pathfix \
		pkgconfig shebangfix tar:bzip2
USE_LDCONFIG=	yes
USE_GNOME=	libxml2

GNU_CONFIGURE=		yes
CONFIGURE_ARGS=	--with-lttng-ust-prefix=${LOCALBASE} \
		--disable-maintainer-mode
INSTALL_TARGET=		install-strip

OPTIONS_DEFINE=	DOCS

post-install:
	${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/
	${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${STAGEDIR}${MANPREFIX}/man/man3/
	${INSTALL_MAN} ${WRKSRC}/doc/man/*.8 ${STAGEDIR}${MANPREFIX}/man/man8/

.include <bsd.port.mk>