1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/benchmarks/bytebench/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: 3.1
# Date created: 28 December 1995
# Whom: se
#
1999-08-22 21:16:33 +00:00
# $Id: Makefile,v 1.9 1999/08/22 18:57:21 mharo 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
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
@rm -f ${PREFIX}/lib/bytebench/pgms/*.orig
.include <bsd.port.mk>