aboutsummaryrefslogtreecommitdiffstats
path: root/www/httperf
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-03-23 10:21:52 +0800
committerobrien <obrien@FreeBSD.org>2000-03-23 10:21:52 +0800
commitbd248c47022f72ebb646ba9e1fc4db11b9b92362 (patch)
tree96531fdf04684ef407a3418246c225a4d8f113b1 /www/httperf
parent430a07833f89e1795fc5b0c6f3023d24a4cfcd10 (diff)
downloadfreebsd-ports-gnome-bd248c47022f72ebb646ba9e1fc4db11b9b92362.tar.gz
freebsd-ports-gnome-bd248c47022f72ebb646ba9e1fc4db11b9b92362.tar.zst
freebsd-ports-gnome-bd248c47022f72ebb646ba9e1fc4db11b9b92362.zip
* Install the new manpage.
* install docs into share/docs/ rather than just share/ Approved by: maintainer
Diffstat (limited to 'www/httperf')
-rw-r--r--www/httperf/Makefile15
-rw-r--r--www/httperf/pkg-plist12
2 files changed, 14 insertions, 13 deletions
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