freebsd-ports/sysutils/lttng-tools/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$
PORTNAME= lttng-tools
PORTVERSION= 2.9.3
PORTREVISION= 1
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
BROKEN_powerpc64= fails to compile: cc: Internal error: Segmentation fault (program ld)
USES= autoreconf bison 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>