Files
ports/sysutils/lttng-ust/Makefile
T
Alexey Dokuchaev 815aec4ad2 Address some problems with this port:
- Install more complete set of manual pages
- Do not patch+sed(1) the script, just put in on SHEBANG_FILES
- Remove patches which apparently were to avoid dependency on
  GNU make, but they are incomplete and did not do the job well
  (e.g., tests were broken due to circular dependencies)
- Unbreak the tests by calling /bin/sh rather than /bin/bash
2021-02-09 08:04:00 +00:00

40 lines
1013 B
Makefile

# Created by: Mahdi Mokhtari <mokhi64@gmail.com>
# $FreeBSD$
PORTNAME= lttng-ust
PORTVERSION= 2.9.0
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://lttng.org/files/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Libraries to instrument and trace user applications
LICENSE= LGPL21 MIT GPLv2
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
LICENSE_FILE_MIT= ${WRKSRC}/COPYING
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
BUILD_DEPENDS= asciidoc:textproc/asciidoc \
xmlto:textproc/xmlto
LIB_DEPENDS= liburcu.so:sysutils/liburcu
USES= autoreconf gmake libtool localbase pathfix python \
shebangfix tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
# XXX: build fails if cmake is detected, see PR 253327
CONFIGURE_ENV= ac_cv_prog_HAVE_CMAKE=no
INSTALL_TARGET= install-strip
SHEBANG_FILES= tools/lttng-gen-tp
TEST_TARGET= check
OPTIONS_DEFINE= DOCS
post-patch:
@${GREP} -Rl --null '#!/bin/bash' ${WRKSRC}/tests | ${XARGS} -0 \
${REINPLACE_CMD} -e '/#!/s,bash,sh,'
.include <bsd.port.mk>