openbsd-ports/benchmarks/bytebench/Makefile

41 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.13 2001/06/27 20:56:24 pvalchev Exp $
1997-12-01 20:41:23 -05:00
COMMENT= "BYTE magazine benchmark suite"
1997-12-01 20:41:23 -05:00
DISTNAME= bytebench-3.1
CATEGORIES= benchmarks
NEED_VERSION= 1.250
1997-12-01 20:41:23 -05:00
2000-10-22 10:02:46 -04:00
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
1997-12-01 20:41:23 -05:00
# License: NONE
PERMIT_PACKAGE_CDROM= "no license"
PERMIT_PACKAGE_FTP= "no license"
PERMIT_DISTFILES_CDROM= "no license"
PERMIT_DISTFILES_FTP= "no license"
2000-02-12 03:41:07 -05:00
1998-10-07 00:28:28 -04:00
MASTER_SITES= ftp://ftp.inria.fr/system/benchmark/
EXTRACT_SUFX= .tar.Z
1997-12-01 20:41:23 -05:00
do-install:
-${INSTALL_DATA_DIR} ${PREFIX}/lib/bytebench
1997-12-01 20:41:23 -05:00
for f in Makefile README Run doc pgms results testdir; \
do cp -R $(WRKSRC)/$$f $(PREFIX)/lib/bytebench; done
1997-12-01 20:41:23 -05: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 $(TRUEPREFIX)/lib/bytebench" >> $(PREFIX)/bin/bytebench
1997-12-01 20:41:23 -05:00
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/*
rm -f $(PREFIX)/lib/bytebench/pgms/*.orig
1997-12-01 20:41:23 -05:00
chmod 755 $(PREFIX)/lib/bytebench/results
chmod 755 $(PREFIX)/lib/bytebench/testdir
.include <bsd.port.mk>