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