diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-12 16:13:10 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-12 16:13:10 +0000 |
commit | efb357d4d1e699e27948a8aa6b7ee4337ead0767 (patch) | |
tree | b8a8a4092ce8724cff63cbdcc3410e1ff2a5c925 /www/gatling | |
parent | 0618ffc8feec942e2d35a6b1b7cc63e21917b639 (diff) | |
download | ports-efb357d4d1e699e27948a8aa6b7ee4337ead0767.tar.gz ports-efb357d4d1e699e27948a8aa6b7ee4337ead0767.zip |
Fix a manpage install
Fix build on 4.x
PR: ports/70111
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=116044
Diffstat (limited to 'www/gatling')
-rw-r--r-- | www/gatling/Makefile | 9 | ||||
-rw-r--r-- | www/gatling/files/patch-Makefile | 13 | ||||
-rw-r--r-- | www/gatling/pkg-descr | 2 |
3 files changed, 18 insertions, 6 deletions
diff --git a/www/gatling/Makefile b/www/gatling/Makefile index a502724a457c..7006f50977bb 100644 --- a/www/gatling/Makefile +++ b/www/gatling/Makefile @@ -7,7 +7,8 @@ PORTNAME= gatling PORTVERSION= 0.5 -CATEGORIES= www benchmarks +PORTREVISION= 1 +CATEGORIES= www benchmarks ftp ipv6 MASTER_SITES= http://dl.fefe.de/ MAINTAINER= tmseck@netcologne.de @@ -17,13 +18,13 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat USE_BZIP2= yes -CFLAGS+= -I${LOCALBASE}/include/libowfat MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lowfat" \ PTHREAD_LIBS="${PTHREAD_LIBS}" bin= dl gatling examples= run-gatling examplesdir= ${EXAMPLESDIR:S,^${PREFIX}/,,} +MAN8= gatling.8 .if !defined(NOPORTDOCS) PORTDOCS= CHANGES README README.ftp README.http README.performance \ README.prefetch README.proxy README.redirect @@ -44,10 +45,14 @@ examples+= prep run-bench PLIST_DIRS= ${examplesdir} PLIST_FILES= ${bin:S,^,bin/,} ${examples:S,^,${examplesdir}/,} +pre-install: + @cd ${WRKSRC} && ${CP} gatling.1 gatling.8 + do-install: cd ${WRKSRC} && ${INSTALL_PROGRAM} ${bin} ${PREFIX}/bin ${MKDIR} ${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_SCRIPT} ${examples} ${EXAMPLESDIR} + cd ${WRKSRC} && ${INSTALL_MAN} ${MAN8} ${MAN8PREFIX}/man/man8 .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} diff --git a/www/gatling/files/patch-Makefile b/www/gatling/files/patch-Makefile index 44aad7e04229..578efbf29c98 100644 --- a/www/gatling/files/patch-Makefile +++ b/www/gatling/files/patch-Makefile @@ -1,6 +1,13 @@ --- Makefile.orig Sat May 8 02:26:21 2004 -+++ Makefile Fri Jul 30 11:06:07 2004 -@@ -8,10 +8,6 @@ ++++ Makefile Thu Aug 12 11:37:25 2004 +@@ -2,16 +2,13 @@ + BINDIR=${prefix}/bin + MANDIR=${prefix}/man + man1dir=$(MANDIR)/man1 ++CFLAGS+=-I${LOCALBASE}/include/libowfat + + TARGET=gatling httpbench dl bindbench mmapbench forkbench pthreadbench \ + mktestdata manymapbench ioerr forksbench all: $(TARGET) @@ -11,7 +18,7 @@ gatling: gatling.o libsocket libiconv $(CC) -o $@ gatling.o $(LDFLAGS) `cat libsocket libiconv` -@@ -34,7 +30,7 @@ +@@ -34,7 +31,7 @@ $(CC) -static -o $@ forkbench.o $(LDFLAGS) pthreadbench: pthreadbench.o diff --git a/www/gatling/pkg-descr b/www/gatling/pkg-descr index ac2ccc76583f..0b9fe124fe3d 100644 --- a/www/gatling/pkg-descr +++ b/www/gatling/pkg-descr @@ -1,4 +1,4 @@ -gatling is a high-performance webserver. Some scalability benchmark +gatling is a high-performance HTTP and FTP server. Some scalability benchmark tests are included, too. WWW: http://www.fefe.de/gatling/ |