Support staging

This commit is contained in:
Emanuel Haupt 2014-02-08 22:08:12 +00:00
parent 5a2fd4a19f
commit a50759fb24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343399

View file

@ -10,7 +10,7 @@ MASTER_SITES= SF
MAINTAINER= sbz@FreeBSD.org
COMMENT= System call tracer
LICENSE= BSD
LICENSE= BSD3CLAUSE
USES= shebangfix perl5 # perl5 for strace-graph
USE_BZIP2= yes
@ -19,26 +19,22 @@ ONLY_FOR_ARCHS= i386
SHEBANG_FILES= strace-graph
MAN1= strace.1
PLIST_FILES= bin/strace bin/strace-graph
PLIST_FILES= bin/strace bin/strace-graph man/man1/strace.1.gz
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= AUTHORS COPYRIGHT CREDITS ChangeLog NEWS PORTING \
README README-freebsd README-svr4 TODO
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/strace ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/strace ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/strace.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/strace.1 ${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>