aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ltrace/Makefile
blob: 1397aff2e2237009b97d68bf4388cbff9c7251f5 (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
PORTNAME=	ltrace
PORTVERSION=	0.6.0
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	LOCAL/sbz \
		http://www.zonov.org/${PORTNAME}/

MAINTAINER=	sbz@FreeBSD.org
COMMENT=	Track runtime library calls in dynamically linked programs
WWW=		https://ltrace.org/

LICENSE=	GPLv2

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
CONFIGURE_ARGS=	--disable-werror
CONFIGURE_ARGS+=	--without-libunwind # fix build: configure is looking for and finds libunwind.h, but the C code later doesn't find libunwind-ptrace.h and breaks
ONLY_FOR_ARCHS=	amd64

OPTIONS_DEFINE=	DOCS

PORTDOCS=	BUGS COPYING ChangeLog README TODO

post-install:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>