1999-08-17 22:06:26 -04:00
|
|
|
# $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
|
1998-10-07 00:43:01 -04:00
|
|
|
|
1999-08-17 22:06:26 -04:00
|
|
|
BROKEN= "version changed; different distributions/directories"
|
1999-03-31 21:57:50 -05:00
|
|
|
MAINTAINER= ports@openbsd.org
|
1998-10-07 00:43:01 -04:00
|
|
|
|
|
|
|
# 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)
|
|
|
|
|
1998-03-01 03:28:33 -05:00
|
|
|
# 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>
|