pkgsrc-wip/apachebench2/Makefile
Tobias Nygren d2ab3469b0 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 04:30:10 +00:00

33 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2008/01/18 04:30:11 tnn2 Exp $
# XXX This uses the version of apache2 distfile instead of
# XXX the AP_AB_BASEREVISION from the support/ab.c source.
PKGNAME= apachebench2-${APACHE_VERSION}
PKGREVISION= 1
CATEGORIES= benchmarks www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://httpd.apache.org/
COMMENT= Apache HTTP (Web) server benchmarking tool
BUILD_DEFS+= IPV6_READY
#USE_LIBTOOL= YES
GNU_CONFIGURE= YES
BUILD_TARGET= ab
CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --enable-static-ab
do-build:
cd ${WRKSRC}/srclib/pcre && ${SETENV} ${MAKE_ENV} ${MAKE}
cd ${WRKSRC}/srclib/apr-util && ${SETENV} ${MAKE_ENV} ${MAKE}
cd ${WRKSRC}/srclib/apr && ${SETENV} ${MAKE_ENV} ${MAKE}
cd ${WRKSRC}/support && ${SETENV} ${MAKE_ENV} ${MAKE} ab
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/support/ab ${PREFIX}/sbin/apachebench2
${INSTALL_MAN} ${WRKSRC}/docs/man/ab.8 ${PREFIX}/${PKGMANDIR}/man8/apachebench2.8
.include "../../www/apache2/Makefile.common"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"