summaryrefslogblamecommitdiff
path: root/benchmarks/bytebench/Makefile
blob: 200f088c714e3d93fd5650e2ed923721e982e2d1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
                           


                                        
           


                             
                          
                                                    
                      


                              
           








                                                                             
                                            







                                                     
                                                     

                      
# New ports collection makefile for:    bytebench
# Version required:    	3.1
# Date created:         28 December 1995
# Whom:                 se
#
# $FreeBSD$
#

DISTNAME=       bytebench-3.1
CATEGORIES=	benchmarks
MASTER_SITES=   ftp://ftp.inria.fr/system/benchmark/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	se@FreeBSD.org

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
	${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>