39 lines
813 B
Makefile
39 lines
813 B
Makefile
# Created by: Will Andrews <andrews@technologist.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= httperf
|
|
PORTVERSION= 0.9.0
|
|
CATEGORIES= benchmarks www
|
|
MASTER_SITES= GOOGLE_CODE
|
|
|
|
MAINTAINER= jlaffaye@FreeBSD.org
|
|
COMMENT= A tool for measuring webserver performance
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake
|
|
MAKE_ARGS= LIBUTIL_OBJS=ssl_writev.o \
|
|
exec_prefix=${PREFIX}
|
|
|
|
PLIST_FILES= bin/httperf
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= ChangeLog NEWS README TODO
|
|
.endif
|
|
MAN1= httperf.1
|
|
|
|
NO_STAGE= yes
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
do-install:
|
|
@${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|