summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:49:24 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-05 01:49:24 +0000
commit6839f858ab9bb3bccd3affc0fbd09a14a227c501 (patch)
tree50b02bbbcd3ed5917c18f79b733f64c31b300f0a
parentSupport stage (diff)
Support stage
Notes
Notes: svn path=/head/; revision=338742
-rw-r--r--benchmarks/httperf/Makefile24
1 files changed, 8 insertions, 16 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
index bb058ec3ffde..8ff658f28b71 100644
--- a/benchmarks/httperf/Makefile
+++ b/benchmarks/httperf/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= benchmarks www
MASTER_SITES= GOOGLE_CODE
MAINTAINER= jlaffaye@FreeBSD.org
-COMMENT= A tool for measuring webserver performance
+COMMENT= Tool for measuring webserver performance
LICENSE= GPLv2
@@ -17,24 +17,16 @@ USES= gmake
MAKE_ARGS= LIBUTIL_OBJS=ssl_writev.o \
exec_prefix=${PREFIX}
-PLIST_FILES= bin/httperf
+PLIST_FILES= bin/httperf \
+ man/man1/httperf.1.gz
PORTDOCS= ChangeLog NEWS README TODO
-MAN1= httperf.1
-NO_STAGE= yes
-
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+do-install:
+ ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
-
-do-install:
- @${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
- @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/
.include <bsd.port.mk>