2001-06-27 16:56:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2001/06/27 20:56:24 pvalchev Exp $
|
1997-12-01 20:41:23 -05:00
|
|
|
|
2001-05-05 17:59:24 -04:00
|
|
|
COMMENT= "BYTE magazine benchmark suite"
|
1997-12-01 20:41:23 -05:00
|
|
|
DISTNAME= bytebench-3.1
|
|
|
|
CATEGORIES= benchmarks
|
2000-04-08 16:37:23 -04:00
|
|
|
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
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: NONE
|
2001-06-27 16:56:24 -04:00
|
|
|
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:
|
2000-04-08 16:37:23 -04:00
|
|
|
-${INSTALL_DATA_DIR} ${PREFIX}/lib/bytebench
|
1997-12-01 20:41:23 -05:00
|
|
|
for f in Makefile README Run doc pgms results testdir; \
|
2000-02-10 20:09:59 -05:00
|
|
|
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
|
2000-04-08 16:37:23 -04:00
|
|
|
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/*
|
2000-02-10 20:09:59 -05:00
|
|
|
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>
|