openbsd-ports/benchmarks/lmbench/Makefile
espie a813079932 Kill a large set of deprecated variables.
Thoroughly unsubtle, most mkdir -p should probably be INSTALL* at
*install stage, and echo/ECHO_MSG is somewhat unsorted.

It's quite possible I missed a few automated changes...
2000-02-11 01:09:59 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2000/02/11 01:10:00 espie Exp $
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
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-
pre-install:
[ -d ${PREFIX}/lib/lmbench ] || mkdir -p ${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>