aboutsummaryrefslogtreecommitdiff
path: root/sysutils/lttng-tools/Makefile
blob: e5bc35e49cb677dd4d1e87d645121e51c597d2ac (plain) (blame)
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
# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$

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

MAINTAINER=	mmokhi@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

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>