1999-04-14 20:31:57 +00:00
|
|
|
# New ports collection makefile for: polygraph
|
|
|
|
# Version required: 1.0p6
|
|
|
|
# Date created: 3 March 1999
|
|
|
|
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
|
|
#
|
1999-04-26 18:21:27 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1999/04/14 20:31:57 billf Exp $
|
1999-04-14 20:31:57 +00:00
|
|
|
#
|
|
|
|
|
1999-04-26 18:21:27 +00:00
|
|
|
DISTNAME= polygraph-1.1p0-src
|
|
|
|
PKGNAME= polygraph-1.1p0
|
1999-04-14 20:31:57 +00:00
|
|
|
CATEGORIES= benchmarks www
|
|
|
|
MASTER_SITES= http://polygraph.ircache.net/sources/ \
|
|
|
|
http://www.chg.ru/~dima/
|
|
|
|
|
|
|
|
MAINTAINER= dima@Chg.RU
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/polygraph/src
|
|
|
|
|
1999-04-26 18:21:27 +00:00
|
|
|
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
|
|
|
|
|
1999-04-14 20:31:57 +00:00
|
|
|
do-install:
|
|
|
|
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/polyclt ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/polysrv ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/lr ${PREFIX}/bin
|
1999-04-26 18:21:27 +00:00
|
|
|
@ ${INSTALL_PROGRAM} ${WRKSRC}/lx ${PREFIX}/bin
|
|
|
|
@ ${INSTALL_SCRIPT} ${WRKSRC}/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) \
|
|
|
|
${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/polygraph
|
|
|
|
.endfor
|
1999-04-14 20:31:57 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|