1999-04-14 16:31:57 -04:00
|
|
|
# New ports collection makefile for: polygraph
|
|
|
|
# Date created: 3 March 1999
|
|
|
|
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
|
|
#
|
1999-08-25 00:58:03 -04:00
|
|
|
# $FreeBSD$
|
1999-04-14 16:31:57 -04:00
|
|
|
#
|
|
|
|
|
2000-04-08 18:04:57 -04:00
|
|
|
PORTNAME= polygraph
|
|
|
|
PORTVERSION= 2.2.7
|
1999-04-14 16:31:57 -04:00
|
|
|
CATEGORIES= benchmarks www
|
1999-12-30 18:56:02 -05:00
|
|
|
MASTER_SITES= http://polygraph.ircache.net/sources/tars/ \
|
1999-04-14 16:31:57 -04:00
|
|
|
http://www.chg.ru/~dima/
|
2000-04-08 18:04:57 -04:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
1999-04-14 16:31:57 -04:00
|
|
|
|
2000-11-13 07:45:40 -05:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
1999-04-14 16:31:57 -04:00
|
|
|
|
1999-12-30 18:56:02 -05:00
|
|
|
WRKSRC= ${WRKDIR}/polygraph
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
1999-04-14 16:31:57 -04:00
|
|
|
|
1999-04-26 14:21:27 -04:00
|
|
|
post-patch:
|
1999-12-30 18:56:02 -05:00
|
|
|
@ ${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
|
1999-04-26 14:21:27 -04:00
|
|
|
|
1999-04-14 16:31:57 -04:00
|
|
|
do-install:
|
|
|
|
|
1999-12-30 18:56:02 -05:00
|
|
|
.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
|
1999-04-26 14:21:27 -04:00
|
|
|
@ ${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
|
|
|
|
.for file in Blob.pm Executer.pm Tools.pm Command.pm Logger.pm
|
1999-12-30 18:56:02 -05:00
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/tools/BB/$(file) \
|
1999-04-26 14:21:27 -04:00
|
|
|
${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
|
|
|
|
.endfor
|
1999-04-14 16:31:57 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|