aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/polygraph/Makefile41
-rw-r--r--benchmarks/polygraph/distinfo2
-rw-r--r--benchmarks/polygraph/pkg-plist7
-rw-r--r--benchmarks/polygraph31/Makefile41
-rw-r--r--benchmarks/polygraph31/distinfo2
-rw-r--r--benchmarks/polygraph31/pkg-plist7
6 files changed, 58 insertions, 42 deletions
diff --git a/benchmarks/polygraph/Makefile b/benchmarks/polygraph/Makefile
index 9fea2d398fd6..5ef901f32ee1 100644
--- a/benchmarks/polygraph/Makefile
+++ b/benchmarks/polygraph/Makefile
@@ -1,42 +1,43 @@
# New ports collection makefile for: polygraph
-# Version required: 1.2.0
+# Version required: 2.2.7
# Date created: 3 March 1999
# Whom: Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#
-DISTNAME= polygraph-1.2.0-src
-PKGNAME= polygraph-1.2.0
+DISTNAME= polygraph-2.2.7-src
+PKGNAME= polygraph-2.2.7
CATEGORIES= benchmarks www
-MASTER_SITES= http://polygraph.ircache.net/sources/ \
+MASTER_SITES= http://polygraph.ircache.net/sources/tars/ \
http://www.chg.ru/~dima/
MAINTAINER= dima@Chg.RU
-WRKSRC= ${WRKDIR}/polygraph/src
+WRKSRC= ${WRKDIR}/polygraph
+
+GNU_CONFIGURE= YES
post-patch:
- @ ${MV} ${WRKSRC}/exprep.pl ${WRKSRC}/exprep.pl.pre_sed
- @ ${SED} -e 's#/usr/local/bin/perl#${PERL5}#' \
- ${WRKSRC}/exprep.pl.pre_sed > ${WRKSRC}/exprep.pl
- @ ${MV} ${WRKSRC}/../tools/BB/bb.pl ${WRKSRC}/../tools/BB/bb.pl.pre_sed1
- @ ${SED} -e 's#/usr/local/bin/perl#${PERL5}#' \
- ${WRKSRC}/../tools/BB/bb.pl.pre_sed1> ${WRKSRC}/../tools/BB/bb.pl.pre_sed
- @ ${SED} -e 's#/usr/people/bakeoff/BB#${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph#' \
- ${WRKSRC}/../tools/BB/bb.pl.pre_sed> ${WRKSRC}/../tools/BB/bb.pl
+ @ ${MV} ${WRKSRC}/src/exprep.pl ${WRKSRC}/src/exprep.pl.pre_sed
+ @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \
+ ${WRKSRC}/src/exprep.pl.pre_sed > ${WRKSRC}/src/exprep.pl
+ @ ${MV} ${WRKSRC}/tools/BB/bb.pl ${WRKSRC}/tools/BB/bb.pl.pre_sed
+ @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \
+ -e 's#/usr/people/bakeoff/BB#${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph#' \
+ ${WRKSRC}/tools/BB/bb.pl.pre_sed> ${WRKSRC}/tools/BB/bb.pl
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/polyclt ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/polysrv ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/lr ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/lx ${PREFIX}/bin
- @ ${INSTALL_SCRIPT} ${WRKSRC}/exprep.pl ${PREFIX}/bin/exprep
- @ ${INSTALL_SCRIPT} ${WRKSRC}/../tools/BB/bb.pl ${PREFIX}/bin
+.for file in polyclt polysrv lr lx distr_test pop_test rng_test aka piper polymon
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/src/$(file) ${PREFIX}/bin
+.endfor
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/src/udp2tcpd ${PREFIX}/sbin
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/src/exprep.pl ${PREFIX}/bin/exprep
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/bb.pl ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
.for file in Blob.pm Executer.pm Tools.pm Command.pm Logger.pm
- @ ${INSTALL_SCRIPT} ${WRKSRC}/../tools/BB/$(file) \
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/$(file) \
${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
.endfor
diff --git a/benchmarks/polygraph/distinfo b/benchmarks/polygraph/distinfo
index a70696cdf86a..e2eec64ca173 100644
--- a/benchmarks/polygraph/distinfo
+++ b/benchmarks/polygraph/distinfo
@@ -1 +1 @@
-MD5 (polygraph-1.2.0-src.tar.gz) = 093634d5ba9d73d8db9047ea35e7f02c
+MD5 (polygraph-2.2.7-src.tar.gz) = 3c7451c35ccff4ef67ab2896030870e4
diff --git a/benchmarks/polygraph/pkg-plist b/benchmarks/polygraph/pkg-plist
index b9ef2ab8de26..61341d561c09 100644
--- a/benchmarks/polygraph/pkg-plist
+++ b/benchmarks/polygraph/pkg-plist
@@ -2,6 +2,13 @@ bin/polyclt
bin/polysrv
bin/lr
bin/lx
+bin/distr_test
+bin/pop_test
+bin/rng_test
+bin/aka
+bin/piper
+bin/polymon
+sbin/udp2tcpd
bin/exprep
bin/bb.pl
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Blob.pm
diff --git a/benchmarks/polygraph31/Makefile b/benchmarks/polygraph31/Makefile
index 9fea2d398fd6..5ef901f32ee1 100644
--- a/benchmarks/polygraph31/Makefile
+++ b/benchmarks/polygraph31/Makefile
@@ -1,42 +1,43 @@
# New ports collection makefile for: polygraph
-# Version required: 1.2.0
+# Version required: 2.2.7
# Date created: 3 March 1999
# Whom: Dima Sivachenko <dima@chg.ru>
#
# $FreeBSD$
#
-DISTNAME= polygraph-1.2.0-src
-PKGNAME= polygraph-1.2.0
+DISTNAME= polygraph-2.2.7-src
+PKGNAME= polygraph-2.2.7
CATEGORIES= benchmarks www
-MASTER_SITES= http://polygraph.ircache.net/sources/ \
+MASTER_SITES= http://polygraph.ircache.net/sources/tars/ \
http://www.chg.ru/~dima/
MAINTAINER= dima@Chg.RU
-WRKSRC= ${WRKDIR}/polygraph/src
+WRKSRC= ${WRKDIR}/polygraph
+
+GNU_CONFIGURE= YES
post-patch:
- @ ${MV} ${WRKSRC}/exprep.pl ${WRKSRC}/exprep.pl.pre_sed
- @ ${SED} -e 's#/usr/local/bin/perl#${PERL5}#' \
- ${WRKSRC}/exprep.pl.pre_sed > ${WRKSRC}/exprep.pl
- @ ${MV} ${WRKSRC}/../tools/BB/bb.pl ${WRKSRC}/../tools/BB/bb.pl.pre_sed1
- @ ${SED} -e 's#/usr/local/bin/perl#${PERL5}#' \
- ${WRKSRC}/../tools/BB/bb.pl.pre_sed1> ${WRKSRC}/../tools/BB/bb.pl.pre_sed
- @ ${SED} -e 's#/usr/people/bakeoff/BB#${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph#' \
- ${WRKSRC}/../tools/BB/bb.pl.pre_sed> ${WRKSRC}/../tools/BB/bb.pl
+ @ ${MV} ${WRKSRC}/src/exprep.pl ${WRKSRC}/src/exprep.pl.pre_sed
+ @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \
+ ${WRKSRC}/src/exprep.pl.pre_sed > ${WRKSRC}/src/exprep.pl
+ @ ${MV} ${WRKSRC}/tools/BB/bb.pl ${WRKSRC}/tools/BB/bb.pl.pre_sed
+ @ ${SED} -e 's#/usr/bin/perl#${PERL5}#' \
+ -e 's#/usr/people/bakeoff/BB#${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph#' \
+ ${WRKSRC}/tools/BB/bb.pl.pre_sed> ${WRKSRC}/tools/BB/bb.pl
do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/polyclt ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/polysrv ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/lr ${PREFIX}/bin
- @ ${INSTALL_PROGRAM} ${WRKSRC}/lx ${PREFIX}/bin
- @ ${INSTALL_SCRIPT} ${WRKSRC}/exprep.pl ${PREFIX}/bin/exprep
- @ ${INSTALL_SCRIPT} ${WRKSRC}/../tools/BB/bb.pl ${PREFIX}/bin
+.for file in polyclt polysrv lr lx distr_test pop_test rng_test aka piper polymon
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/src/$(file) ${PREFIX}/bin
+.endfor
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/src/udp2tcpd ${PREFIX}/sbin
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/src/exprep.pl ${PREFIX}/bin/exprep
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/bb.pl ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
.for file in Blob.pm Executer.pm Tools.pm Command.pm Logger.pm
- @ ${INSTALL_SCRIPT} ${WRKSRC}/../tools/BB/$(file) \
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/$(file) \
${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
.endfor
diff --git a/benchmarks/polygraph31/distinfo b/benchmarks/polygraph31/distinfo
index a70696cdf86a..e2eec64ca173 100644
--- a/benchmarks/polygraph31/distinfo
+++ b/benchmarks/polygraph31/distinfo
@@ -1 +1 @@
-MD5 (polygraph-1.2.0-src.tar.gz) = 093634d5ba9d73d8db9047ea35e7f02c
+MD5 (polygraph-2.2.7-src.tar.gz) = 3c7451c35ccff4ef67ab2896030870e4
diff --git a/benchmarks/polygraph31/pkg-plist b/benchmarks/polygraph31/pkg-plist
index b9ef2ab8de26..61341d561c09 100644
--- a/benchmarks/polygraph31/pkg-plist
+++ b/benchmarks/polygraph31/pkg-plist
@@ -2,6 +2,13 @@ bin/polyclt
bin/polysrv
bin/lr
bin/lx
+bin/distr_test
+bin/pop_test
+bin/rng_test
+bin/aka
+bin/piper
+bin/polymon
+sbin/udp2tcpd
bin/exprep
bin/bb.pl
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/polygraph/Blob.pm