* Install the new manpage.

* install docs into share/docs/ rather than just share/

Approved by:	maintainer
This commit is contained in:
David E. O'Brien 2000-03-23 02:21:52 +00:00
parent 407d7a3dbe
commit cc75cd9ec3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26972
4 changed files with 28 additions and 26 deletions

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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