diff options
author | sem <sem@FreeBSD.org> | 2004-08-13 00:13:10 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-08-13 00:13:10 +0800 |
commit | 163715f50e4654b0b79f7f352c447874e83b1aa4 (patch) | |
tree | bfa8dfad1d83fa3b2f0014f966edd0d66392ea60 /www | |
parent | 2987037723cc1ea0483900513e4bb8c53547a95e (diff) | |
download | freebsd-ports-gnome-163715f50e4654b0b79f7f352c447874e83b1aa4.tar.gz freebsd-ports-gnome-163715f50e4654b0b79f7f352c447874e83b1aa4.tar.zst freebsd-ports-gnome-163715f50e4654b0b79f7f352c447874e83b1aa4.zip |
Fix a manpage install
Fix build on 4.x
PR: ports/70111
Submitted by: maintainer
Diffstat (limited to 'www')
-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/ |