summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/httperf/Makefile15
-rw-r--r--benchmarks/httperf/pkg-plist12
-rw-r--r--www/httperf/Makefile15
-rw-r--r--www/httperf/pkg-plist12
4 files changed, 28 insertions, 26 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile
index f2b6b5b4083c..a6f86ad2ed45 100644
--- a/benchmarks/httperf/Makefile
+++ b/benchmarks/httperf/Makefile
@@ -14,20 +14,21 @@ MAINTAINER= will@FreeBSD.org
WRKSRC= ${WRKDIR}/${PKGNAME}
USE_GMAKE= yes
+MAN1= httperf.1
# there is no "install" target in the Makefile.
-# also, installing relevant help files, as there is no manpage yet.
# chmod'ing httperf as it could be exploited by normal users to overload
# a webserver, instead of for its actual purpose.
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/httperf ${PREFIX}/bin
${CHMOD} 750 ${PREFIX}/bin/httperf
- @${MKDIR} ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/httperf
+ @${INSTALL_MAN} ${WRKSRC}/httperf.man ${PREFIX}/man/man1/httperf.1
+ @${MKDIR} ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/httperf
.include <bsd.port.mk>
diff --git a/benchmarks/httperf/pkg-plist b/benchmarks/httperf/pkg-plist
index 44293eefe78c..3499d90afdba 100644
--- a/benchmarks/httperf/pkg-plist
+++ b/benchmarks/httperf/pkg-plist
@@ -1,7 +1,7 @@
bin/httperf
-share/httperf/COPYRIGHT
-share/httperf/ChangeLog
-share/httperf/NEWS
-share/httperf/README
-share/httperf/TODO
-@dirrm share/httperf
+share/doc/httperf/COPYRIGHT
+share/doc/httperf/ChangeLog
+share/doc/httperf/NEWS
+share/doc/httperf/README
+share/doc/httperf/TODO
+@dirrm share/doc/httperf
diff --git a/www/httperf/Makefile b/www/httperf/Makefile
index f2b6b5b4083c..a6f86ad2ed45 100644
--- a/www/httperf/Makefile
+++ b/www/httperf/Makefile
@@ -14,20 +14,21 @@ MAINTAINER= will@FreeBSD.org
WRKSRC= ${WRKDIR}/${PKGNAME}
USE_GMAKE= yes
+MAN1= httperf.1
# there is no "install" target in the Makefile.
-# also, installing relevant help files, as there is no manpage yet.
# chmod'ing httperf as it could be exploited by normal users to overload
# a webserver, instead of for its actual purpose.
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/httperf ${PREFIX}/bin
${CHMOD} 750 ${PREFIX}/bin/httperf
- @${MKDIR} ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/httperf
- @${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/httperf
+ @${INSTALL_MAN} ${WRKSRC}/httperf.man ${PREFIX}/man/man1/httperf.1
+ @${MKDIR} ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/NEWS ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/TODO ${PREFIX}/share/doc/httperf
+ @${INSTALL_MAN} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/httperf
.include <bsd.port.mk>
diff --git a/www/httperf/pkg-plist b/www/httperf/pkg-plist
index 44293eefe78c..3499d90afdba 100644
--- a/www/httperf/pkg-plist
+++ b/www/httperf/pkg-plist
@@ -1,7 +1,7 @@
bin/httperf
-share/httperf/COPYRIGHT
-share/httperf/ChangeLog
-share/httperf/NEWS
-share/httperf/README
-share/httperf/TODO
-@dirrm share/httperf
+share/doc/httperf/COPYRIGHT
+share/doc/httperf/ChangeLog
+share/doc/httperf/NEWS
+share/doc/httperf/README
+share/doc/httperf/TODO
+@dirrm share/doc/httperf