Use stage, while here fix some shebang

Bump port revision
This commit is contained in:
Baptiste Daroussin 2013-09-23 06:00:51 +00:00
parent cf001a2025
commit 493b54d7ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327912
2 changed files with 15 additions and 21 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= siege
PORTVERSION= 2.70
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= benchmarks
MASTER_SITES= ftp://sid.joedog.org/pub/siege/
@ -15,25 +15,13 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USES= perl5
USES= perl5 shebangfix
SHEBANG_FILES= utils/siege2csv.pl
CONFIGURE_ARGS= --with-ssl=${OPENSSLBASE} --disable-shared
MAN1= siege.1 siege.config.1 bombardment.1 siege2csv.1
MAN5= urls_txt.5
MAN7= layingsiege.7
NO_STAGE= yes
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/siege ${PREFIX}/bin/
@${INSTALL_SCRIPT} ${WRKSRC}/utils/bombardment ${PREFIX}/bin/
@${INSTALL_SCRIPT} ${WRKSRC}/utils/siege2csv.pl ${PREFIX}/bin/siege2csv
@${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/doc/,} ${MAN1PREFIX}/man/man1/
@${INSTALL_MAN} ${WRKSRC}/doc/${MAN5} ${MAN1PREFIX}/man/man5/
@${INSTALL_MAN} ${WRKSRC}/doc/${MAN7} ${MAN1PREFIX}/man/man7/
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/doc/siegerc ${DATADIR}/
@${SED} -e "s,%%DATADIR%%,${DATADIR}," ${FILESDIR}/siege.config.in > ${PREFIX}/bin/siege.config
@${CHMOD} 555 ${PREFIX}/bin/siege.config
@${MKDIR} ${STAGEDIR}${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/doc/siegerc ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>

View file

@ -1,6 +1,12 @@
bin/siege
bin/bombardment
bin/siege2csv
bin/siege.config
%%DATADIR%%/siegerc
bin/bombardment
bin/siege
bin/siege.config
bin/siege2csv.pl
man/man1/bombardment.1.gz
man/man1/siege.1.gz
man/man1/siege.config.1.gz
man/man1/siege2csv.1.gz
man/man5/urls_txt.5.gz
man/man7/layingsiege.7.gz
@dirrm %%DATADIR%%