openbsd-ports/benchmarks/lmbench/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.6 1999/08/18 02:06:26 angelos Exp $
1997-11-27 12:42:23 -05:00
DISTNAME= lmbench
PKGNAME= lmbench-1.1
CATEGORIES= benchmarks
BROKEN= "version changed; different distributions/directories"
MAINTAINER= ports@openbsd.org
# this is the new home site
#
MASTER_SITES= ftp://ftp.bitmover.com/lmbench/
EXTRACT_SUFX= .tar.Z
1997-11-27 12:42:23 -05:00
ALL_TARGET= build
MAKE_ENV= PATH=${PATH}:${WRKSRC}/scripts
test: build
@(cd ${WRKSRC}; make results)
retest: build
@(cd ${WRKSRC}; make rerun)
# This package comes with its own RCS directory which confuses patch.
# Move it so patch doesn't get confused.
#
pre-patch:
@${MV} ${WRKSRC}/src/RCS ${WRKSRC}/src/RCS-
1997-11-27 12:42:23 -05:00
pre-install:
[ -d ${PREFIX}/lib/lmbench ] || ${MKDIR} ${PREFIX}/lib/lmbench
do-install:
${CP} ${FILESDIR}/Makefile ${PREFIX}/lib/lmbench
tar -C ${WRKSRC} -cf - Results bin scripts | \
tar -C ${PREFIX}/lib/lmbench -xf -
.for man in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/doc/${man} ${PREFIX}/man/man1
.endfor
.for man in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/doc/${man} ${PREFIX}/man/man8
.endfor
.include <bsd.port.mk>