From 627e43643364f6d9e641f478c6d30d96fd8c7484 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 23 Sep 2013 06:00:51 +0000 Subject: Use stage, while here fix some shebang Bump port revision --- benchmarks/siege/Makefile | 22 +++++----------------- benchmarks/siege/pkg-plist | 12 +++++++++--- 2 files changed, 14 insertions(+), 20 deletions(-) (limited to 'benchmarks') diff --git a/benchmarks/siege/Makefile b/benchmarks/siege/Makefile index 045ebe62368..19a25a7dc90 100644 --- a/benchmarks/siege/Makefile +++ b/benchmarks/siege/Makefile @@ -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 diff --git a/benchmarks/siege/pkg-plist b/benchmarks/siege/pkg-plist index 9124676195d..e40ecf9679d 100644 --- a/benchmarks/siege/pkg-plist +++ b/benchmarks/siege/pkg-plist @@ -1,6 +1,12 @@ -bin/siege +%%DATADIR%%/siegerc bin/bombardment -bin/siege2csv +bin/siege bin/siege.config -%%DATADIR%%/siegerc +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%% -- cgit