freebsd-ports/www/gatling/Makefile
Kirill Ponomarev 6753d290bb - Correct the return code given for successful FTP CWD requests
- Bump PORTREVISION

PR:		ports/64309
Submitted by:	maintainer
2004-03-15 20:09:18 +00:00

56 lines
1.4 KiB
Makefile

# Ports collection Makefile for: gatling
# Date created: Feb 21, 2004
# Whom: Thomas-Martin Seck <tmseck@netcologne.de>
#
# $FreeBSD$
#
PORTNAME= gatling
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= www benchmarks
MASTER_SITES= http://dl.fefe.de/
MAINTAINER= tmseck@netcologne.de
COMMENT= A high performance webserver with scalability benchmark tools
BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat
USE_BZIP2= yes
MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lowfat" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
bin= dl gatling
examples= run-gatling
examplesdir= ${EXAMPLESDIR:S,^${PREFIX}/,,}
.if !defined(NOPORTDOCS)
PORTDOCS= CHANGES README README.ftp README.http README.performance \
README.prefetch
.endif
OPTIONS= BENCHMARKS "Install system benchmark programs" on
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_BENCHMARKS)
PORTDOCS+= README.bindbench README.forkbench README.httpbench \
README.manymapbench README.mmapbench
bin+= bindbench forkbench forksbench httpbench ioerr manymapbench \
mktestdata mmapbench pthreadbench
examples+= prep run-bench
.endif
PLIST_DIRS= ${examplesdir}
PLIST_FILES= ${bin:S,^,bin/,} ${examples:S,^,${examplesdir}/,}
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${examples} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>