summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-03-23 02:21:52 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-03-23 02:21:52 +0000
commitcc75cd9ec32e3bf9e9bc5294faa1a57e07899a89 (patch)
tree077176aeba9251d515792c139ca72ce4cd80d55a /www
parentMark FORBIDDEN due to local root compromise (see bugtraq) (diff)
* Install the new manpage.
* install docs into share/docs/ rather than just share/ Approved by: maintainer
Notes
Notes: svn path=/head/; revision=26972
Diffstat (limited to 'www')
-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