1996-01-02 23:08:59 +00:00
|
|
|
# New ports collection makefile for: bytebench
|
1996-01-01 22:57:36 +00:00
|
|
|
# Date created: 28 December 1995
|
|
|
|
# Whom: se
|
|
|
|
#
|
1999-08-25 04:58:03 +00:00
|
|
|
# $FreeBSD$
|
1996-01-01 22:57:36 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= bytebench
|
|
|
|
PORTVERSION= 3.1
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= benchmarks
|
2000-04-16 21:04:59 +00:00
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
|
1996-11-18 11:44:27 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1996-01-01 22:57:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
|
|
|
|
1996-01-02 23:08:59 +00:00
|
|
|
do-install:
|
1999-07-18 06:02:56 +00:00
|
|
|
-${MKDIR} $(PREFIX)/lib/bytebench
|
|
|
|
for f in Makefile README Run doc pgms results testdir; \
|
|
|
|
do ${CP} -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
|
|
|
|
${ECHO} "#!/bin/sh" > $(PREFIX)/bin/bytebench
|
|
|
|
${ECHO} "TMPDIR=\$${TMPDIR-/var/tmp}" >> $(PREFIX)/bin/bytebench
|
|
|
|
${ECHO} "RESULTDIR=/tmp" >> $(PREFIX)/bin/bytebench
|
|
|
|
${ECHO} "export TMPDIR RESULTDIR" >> $(PREFIX)/bin/bytebench
|
|
|
|
${ECHO} "cd $(PREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
|
|
|
|
${ECHO} "exec ./Run \"\$$@\"" >> $(PREFIX)/bin/bytebench
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHMOD} 755 $(PREFIX)/bin/bytebench
|
1999-08-22 21:16:33 +00:00
|
|
|
${CHMOD} 644 $(PREFIX)/lib/bytebench/Makefile
|
|
|
|
${CHMOD} 644 $(PREFIX)/lib/bytebench/README
|
|
|
|
${CHMOD} 755 $(PREFIX)/lib/bytebench/Run
|
|
|
|
${CHMOD} 755 $(PREFIX)/lib/bytebench/doc
|
|
|
|
${CHMOD} 755 $(PREFIX)/lib/bytebench/pgms
|
|
|
|
${CHMOD} 755 $(PREFIX)/lib/bytebench/pgms/*
|
|
|
|
${CHMOD} 755 $(PREFIX)/lib/bytebench/results
|
|
|
|
${CHMOD} 755 $(PREFIX)/lib/bytebench/testdir
|
1999-08-28 02:42:41 +00:00
|
|
|
@${RM} -f ${PREFIX}/lib/bytebench/pgms/*.orig
|
1996-01-01 22:57:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|