1996-01-02 23:08:59 +00:00
|
|
|
# New ports collection makefile for: bytebench
|
1996-01-01 22:57:36 +00:00
|
|
|
# Version required:
|
|
|
|
# Date created: 28 December 1995
|
|
|
|
# Whom: se
|
|
|
|
#
|
1998-09-26 23:46:08 +00:00
|
|
|
# $Id: Makefile,v 1.6 1996/11/20 01:59:19 obrien Exp $
|
1996-01-01 22:57:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= bytebench-3.1
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= benchmarks
|
1996-01-01 22:57:36 +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:
|
1996-11-20 01:59:27 +00:00
|
|
|
-${MKDIR} $(PREFIX)/lib/bytebench
|
1996-01-02 23:08:59 +00:00
|
|
|
for f in Makefile README Run doc pgms results testdir; \
|
1996-11-20 01:59:27 +00:00
|
|
|
do ${CP} -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
|
1996-01-05 16:38:12 +00:00
|
|
|
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
|
1996-01-02 23:08:59 +00:00
|
|
|
chmod 755 $(PREFIX)/bin/bytebench
|
1996-01-03 00:06:21 +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
|
1998-09-26 23:46:08 +00:00
|
|
|
@rm -f ${PREFIX}/lib/bytebench/pgms/*.orig
|
1996-01-01 22:57:36 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|