1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/benchmarks/bytebench/Makefile
Stefan Eßer ac16c18c03 Make this run from a R/O /usr file system:
- Temporary files are written into $TMPDIR (default /var/tmp)
  (some 18MB of free space are required for the file system test).
- Results are stored into $RESULTDIR (default /tmp).
1996-01-05 16:38:12 +00:00

37 lines
1.2 KiB
Makefile

# New ports collection makefile for: bytebench
# Version required:
# Date created: 28 December 1995
# Whom: se
#
# $Id: Makefile,v 1.3 1996/01/03 00:06:21 se Exp $
#
DISTNAME= bytebench-3.1
EXTRACT_SUFX= .tar.Z
CATEGORIES+= benchmarks
MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
MAINTAINER= se@FreeBSD.org
do-install:
-mkdir -p $(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
chmod 755 $(PREFIX)/bin/bytebench
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
.include <bsd.port.mk>