1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Support stage

This commit is contained in:
Baptiste Daroussin 2014-01-05 00:35:05 +00:00
parent 7caed251d8
commit e9782e8ecf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338715

View File

@ -12,27 +12,16 @@ COMMENT= Simple forking web benchmark
MAKE_ARGS+= CFLAGS="${CPPFLAGS} ${CFLAGS}"
.if !defined(NO_INSTALL_MANPAGES)
MAN1= webbench.1
.endif
PORTDOCS= copyright changelog
PLIST_FILES= bin/webbench
NO_STAGE= yes
.include <bsd.port.options.mk>
PLIST_FILES= bin/webbench \
man/man1/webbench.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/webbench ${PREFIX}/bin
.if !defined(NO_INSTALL_MANPAGES)
${INSTALL_MAN} ${WRKSRC}/webbench.1 ${MAN1PREFIX}/man/man1
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/copyright ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/webbench ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/webbench.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>