freebsd-ports/benchmarks/dbs/Makefile
Mathieu Arnold 7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00

48 lines
1.1 KiB
Makefile

# Created by: Joseph Koshy <jkoshy@FreeBSD.org>
# $FreeBSD$
PORTNAME= dbs
PORTVERSION= 1.1.5
PORTREVISION= 7
CATEGORIES= benchmarks
MASTER_SITES= http://www.kusa.ac.jp/~yukio-m/dbs/software1.1.5/ \
LOCAL/jkoshy
MAINTAINER= ports@FreeBSD.org
COMMENT= Distributed network benchmarking system
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
BUILD_WRKSRC= ${WRKSRC}/obj/${OPSYS}
INSTALL_WRKSRC= ${WRKSRC}/obj/${OPSYS}
USES= perl5
USE_PERL5= run
MAKEFILE= makefile
PLIST_FILES= bin/dbs_view bin/dbsc bin/dbsd
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
pre-build:
cd ${WRKSRC}/src; ${MAKE} dir
do-install:
.for bin in dbsc dbsd
${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${bin} ${STAGEDIR}${PREFIX}/bin
.endfor
.for bin in dbs_view
${INSTALL_SCRIPT} ${WRKSRC}/script/${bin} ${STAGEDIR}${PREFIX}/bin
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in Copyright dbs.man dbs.man.jis dbs_paper.ps
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for ex in TCP2.cmd TCPvsMPEG.cmd
${INSTALL_DATA} ${WRKSRC}/sample/${ex} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>