aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-09-23 14:00:51 +0800
committerbapt <bapt@FreeBSD.org>2013-09-23 14:00:51 +0800
commit627e43643364f6d9e641f478c6d30d96fd8c7484 (patch)
treea640ac493eb63a521bd968960489d7e30e38873b /benchmarks
parent3819360468e05c8e7c7933af00e1ac79a2631cd5 (diff)
downloadfreebsd-ports-gnome-627e43643364f6d9e641f478c6d30d96fd8c7484.tar.gz
freebsd-ports-gnome-627e43643364f6d9e641f478c6d30d96fd8c7484.tar.zst
freebsd-ports-gnome-627e43643364f6d9e641f478c6d30d96fd8c7484.zip
Use stage, while here fix some shebang
Bump port revision
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/siege/Makefile22
-rw-r--r--benchmarks/siege/pkg-plist12
2 files changed, 14 insertions, 20 deletions
diff --git a/benchmarks/siege/Makefile b/benchmarks/siege/Makefile
index 045ebe62368b..19a25a7dc905 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 <bsd.port.mk>
diff --git a/benchmarks/siege/pkg-plist b/benchmarks/siege/pkg-plist
index 9124676195d2..e40ecf9679d7 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%%