freebsd-ports/devel/strace/Makefile
2014-02-08 22:08:12 +00:00

40 lines
923 B
Makefile

# Created by: Alex Semenyaka <alex@rinet.ru>
# $FreeBSD$
PORTNAME= strace
PORTVERSION= 4.5.18
PORTREVISION= 1
CATEGORIES= devel sysutils
MASTER_SITES= SF
MAINTAINER= sbz@FreeBSD.org
COMMENT= System call tracer
LICENSE= BSD3CLAUSE
USES= shebangfix perl5 # perl5 for strace-graph
USE_BZIP2= yes
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
SHEBANG_FILES= strace-graph
PLIST_FILES= bin/strace bin/strace-graph man/man1/strace.1.gz
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
PORTDOCS= AUTHORS COPYRIGHT CREDITS ChangeLog NEWS PORTING \
README README-freebsd README-svr4 TODO
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/strace ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/strace.1 ${STAGEDIR}${MANPREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>