1996-01-03 00:08:59 +01:00
|
|
|
# New ports collection makefile for: bytebench
|
1996-01-01 23:57:36 +01:00
|
|
|
# Date created: 28 December 1995
|
|
|
|
# Whom: se
|
|
|
|
#
|
1999-08-25 06:58:03 +02:00
|
|
|
# $FreeBSD$
|
1996-01-01 23:57:36 +01:00
|
|
|
#
|
|
|
|
|
2005-01-08 23:10:44 +01:00
|
|
|
PORTNAME= unixbench
|
|
|
|
PORTVERSION= 4.1.0
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= benchmarks
|
2005-01-08 23:10:44 +01:00
|
|
|
MASTER_SITES= http://www.tux.org/pub/tux/benchmarks/System/unixbench/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1996-01-01 23:57:36 +01:00
|
|
|
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
2005-01-08 23:10:44 +01:00
|
|
|
COMMENT= The BYTE magazine's Public Domain benchmark for UNIX
|
|
|
|
|
|
|
|
SUB_FILES= unixbench
|
1996-01-01 23:57:36 +01:00
|
|
|
|
2005-01-11 21:17:30 +01:00
|
|
|
post-extract:
|
2005-01-18 17:11:21 +01:00
|
|
|
${RM} -f ${WRKSRC}/pgms/select
|
2005-01-11 21:17:30 +01:00
|
|
|
|
1996-01-03 00:08:59 +01:00
|
|
|
do-install:
|
2005-01-08 23:10:44 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/unixbench ${PREFIX}/bin/
|
|
|
|
-${MKDIR} ${PREFIX}/lib/unixbench
|
|
|
|
for f in Run ; do \
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$${f} ${PREFIX}/lib/unixbench/ ; \
|
|
|
|
done
|
|
|
|
for f in Makefile README ; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$${f} ${PREFIX}/lib/unixbench/ ; \
|
|
|
|
done
|
|
|
|
-${MKDIR} ${PREFIX}/lib/unixbench/pgms
|
|
|
|
for f in ${WRKSRC}/pgms/* ; do \
|
|
|
|
case $$f in \
|
|
|
|
*.awk|*.sh|*perlbench) \
|
|
|
|
${INSTALL_SCRIPT} $${f} ${PREFIX}/lib/unixbench/pgms/ ;; \
|
|
|
|
*.logo|*.base) \
|
|
|
|
${INSTALL_SCRIPT} $${f} ${PREFIX}/lib/unixbench/pgms/ ;; \
|
|
|
|
*.orig|*.rej|*~) \
|
|
|
|
;;\
|
|
|
|
*) \
|
|
|
|
${INSTALL_PROGRAM} $${f} ${PREFIX}/lib/unixbench/pgms/ ;; \
|
|
|
|
esac ; \
|
|
|
|
done
|
|
|
|
-${MKDIR} ${PREFIX}/lib/unixbench/results
|
|
|
|
# for f in ${WRKSRC}/results/* ; do \
|
|
|
|
# ${INSTALL_DATA} $${f} ${PREFIX}/lib/unixbench/results/ ; \
|
|
|
|
# done
|
|
|
|
-${MKDIR} ${PREFIX}/lib/unixbench/testdir
|
|
|
|
for f in ${WRKSRC}/testdir/* ; do \
|
|
|
|
${INSTALL_DATA} $${f} ${PREFIX}/lib/unixbench/testdir/ ; \
|
|
|
|
done
|
1996-01-01 23:57:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|