freebsd-ports/benchmarks/httperf/Makefile
Alexey Dokuchaev 35f74fbe2e - Convert to option helper install target (add OPTIONS_DEFINE=DOCS
when it was missing)
- Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN
- Fix some whitespace and formatting bugs along the way
2018-01-11 18:09:00 +00:00

35 lines
811 B
Makefile

# Created by: Will Andrews <andrews@technologist.com>
# $FreeBSD$
PORTNAME= httperf
PORTVERSION= 0.9.0.1
CATEGORIES= benchmarks www
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Tool for measuring webserver performance
LICENSE= GPLv2
GNU_CONFIGURE= yes
USES= autoreconf gmake libtool ssl
USE_GITHUB= yes
GH_TAGNAME= dcfb746
MAKE_ARGS= LIBUTIL_OBJS=ssl_writev.o \
exec_prefix=${PREFIX}
PLIST_FILES= bin/httperf \
man/man1/httperf.1.gz
PORTDOCS= ChangeLog NEWS README TODO
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>