mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
42542fb076
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# New ports collection makefile for: bytebench
|
|
# Date created: 28 December 1995
|
|
# Whom: se
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= unixbench
|
|
PORTVERSION= 4.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://www.tux.org/pub/tux/benchmarks/System/unixbench/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
|
COMMENT= The BYTE magazine's Public Domain benchmark for UNIX
|
|
|
|
SUB_FILES= unixbench
|
|
|
|
post-extract:
|
|
${RM} -f ${WRKSRC}/pgms/select
|
|
|
|
do-install:
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|