36 lines
798 B
Makefile
36 lines
798 B
Makefile
# New ports collection makefile for: httperf
|
|
# Date created: 28 Jul 1999
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= httperf
|
|
PORTVERSION= 0.8
|
|
CATEGORIES= www
|
|
MASTER_SITES= ftp://ftp.hpl.hp.com/pub/httperf/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A tool for measuring webserver performance
|
|
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
MAN1= httperf.1
|
|
|
|
.if !exists(/usr/include/getopt.h)
|
|
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ChangeLog NEWS README TODO
|
|
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|