aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/siege
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-09-23 06:00:51 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-09-23 06:00:51 +0000
commit493b54d7ae50549bf337bb6333fa6cfdff9b2ec6 (patch)
treea640ac493eb63a521bd968960489d7e30e38873b /benchmarks/siege
parentcf001a2025ebe11596924cd5cdc60ab66213d651 (diff)
downloadports-493b54d7ae50549bf337bb6333fa6cfdff9b2ec6.tar.gz
ports-493b54d7ae50549bf337bb6333fa6cfdff9b2ec6.zip
Notes
Diffstat (limited to 'benchmarks/siege')
-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%%