1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/benchmarks/unixbench/Makefile

38 lines
1.3 KiB
Makefile
Raw Normal View History

1996-01-02 23:08:59 +00:00
# New ports collection makefile for: bytebench
# Version required:
# Date created: 28 December 1995
# Whom: se
#
# $Id: Makefile,v 1.6 1996/11/20 01:59:19 obrien Exp $
#
DISTNAME= bytebench-3.1
CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
EXTRACT_SUFX= .tar.Z
MAINTAINER= se@FreeBSD.org
1996-01-02 23:08:59 +00:00
do-install:
-${MKDIR} $(PREFIX)/lib/bytebench
1996-01-02 23:08:59 +00:00
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
1996-01-02 23:08:59 +00:00
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
@rm -f ${PREFIX}/lib/bytebench/pgms/*.orig
.include <bsd.port.mk>