head	1.50;
access;
symbols
	pkgsrc-2026Q1:1.50.0.4
	pkgsrc-2026Q1-base:1.50
	pkgsrc-2025Q4:1.50.0.2
	pkgsrc-2025Q4-base:1.50
	pkgsrc-2025Q3:1.49.0.26
	pkgsrc-2025Q3-base:1.49
	pkgsrc-2025Q2:1.49.0.24
	pkgsrc-2025Q2-base:1.49
	pkgsrc-2025Q1:1.49.0.22
	pkgsrc-2025Q1-base:1.49
	pkgsrc-2024Q4:1.49.0.20
	pkgsrc-2024Q4-base:1.49
	pkgsrc-2024Q3:1.49.0.18
	pkgsrc-2024Q3-base:1.49
	pkgsrc-2024Q2:1.49.0.16
	pkgsrc-2024Q2-base:1.49
	pkgsrc-2024Q1:1.49.0.14
	pkgsrc-2024Q1-base:1.49
	pkgsrc-2023Q4:1.49.0.12
	pkgsrc-2023Q4-base:1.49
	pkgsrc-2023Q3:1.49.0.10
	pkgsrc-2023Q3-base:1.49
	pkgsrc-2023Q2:1.49.0.8
	pkgsrc-2023Q2-base:1.49
	pkgsrc-2023Q1:1.49.0.6
	pkgsrc-2023Q1-base:1.49
	pkgsrc-2022Q4:1.49.0.4
	pkgsrc-2022Q4-base:1.49
	pkgsrc-2022Q3:1.49.0.2
	pkgsrc-2022Q3-base:1.49
	pkgsrc-2022Q2:1.48.0.10
	pkgsrc-2022Q2-base:1.48
	pkgsrc-2022Q1:1.48.0.8
	pkgsrc-2022Q1-base:1.48
	pkgsrc-2021Q4:1.48.0.6
	pkgsrc-2021Q4-base:1.48
	pkgsrc-2021Q3:1.48.0.4
	pkgsrc-2021Q3-base:1.48
	pkgsrc-2021Q2:1.48.0.2
	pkgsrc-2021Q2-base:1.48
	pkgsrc-2021Q1:1.47.0.6
	pkgsrc-2021Q1-base:1.47
	pkgsrc-2020Q4:1.47.0.4
	pkgsrc-2020Q4-base:1.47
	pkgsrc-2020Q3:1.47.0.2
	pkgsrc-2020Q3-base:1.47
	pkgsrc-2020Q2:1.46.0.4
	pkgsrc-2020Q2-base:1.46
	pkgsrc-2020Q1:1.46.0.2
	pkgsrc-2020Q1-base:1.46
	pkgsrc-2019Q4:1.44.0.6
	pkgsrc-2019Q4-base:1.44
	pkgsrc-2019Q3:1.44.0.2
	pkgsrc-2019Q3-base:1.44
	pkgsrc-2019Q2:1.43.0.8
	pkgsrc-2019Q2-base:1.43
	pkgsrc-2019Q1:1.43.0.6
	pkgsrc-2019Q1-base:1.43
	pkgsrc-2018Q4:1.43.0.4
	pkgsrc-2018Q4-base:1.43
	pkgsrc-2018Q3:1.43.0.2
	pkgsrc-2018Q3-base:1.43
	pkgsrc-2018Q2:1.42.0.18
	pkgsrc-2018Q2-base:1.42
	pkgsrc-2018Q1:1.42.0.16
	pkgsrc-2018Q1-base:1.42
	pkgsrc-2017Q4:1.42.0.14
	pkgsrc-2017Q4-base:1.42
	pkgsrc-2017Q3:1.42.0.12
	pkgsrc-2017Q3-base:1.42
	pkgsrc-2017Q2:1.42.0.8
	pkgsrc-2017Q2-base:1.42
	pkgsrc-2017Q1:1.42.0.6
	pkgsrc-2017Q1-base:1.42
	pkgsrc-2016Q4:1.42.0.4
	pkgsrc-2016Q4-base:1.42
	pkgsrc-2016Q3:1.42.0.2
	pkgsrc-2016Q3-base:1.42
	pkgsrc-2016Q2:1.41.0.10
	pkgsrc-2016Q2-base:1.41
	pkgsrc-2016Q1:1.41.0.8
	pkgsrc-2016Q1-base:1.41
	pkgsrc-2015Q4:1.41.0.6
	pkgsrc-2015Q4-base:1.41
	pkgsrc-2015Q3:1.41.0.4
	pkgsrc-2015Q3-base:1.41
	pkgsrc-2015Q2:1.41.0.2
	pkgsrc-2015Q2-base:1.41
	pkgsrc-2015Q1:1.40.0.4
	pkgsrc-2015Q1-base:1.40
	pkgsrc-2014Q4:1.40.0.2
	pkgsrc-2014Q4-base:1.40
	pkgsrc-2014Q3:1.39.0.4
	pkgsrc-2014Q3-base:1.39
	pkgsrc-2014Q2:1.39.0.2
	pkgsrc-2014Q2-base:1.39
	pkgsrc-2014Q1:1.38.0.8
	pkgsrc-2014Q1-base:1.38
	pkgsrc-2013Q4:1.38.0.6
	pkgsrc-2013Q4-base:1.38
	pkgsrc-2013Q3:1.38.0.4
	pkgsrc-2013Q3-base:1.38
	pkgsrc-2013Q2:1.38.0.2
	pkgsrc-2013Q2-base:1.38
	pkgsrc-2013Q1:1.37.0.4
	pkgsrc-2013Q1-base:1.37
	pkgsrc-2012Q4:1.37.0.2
	pkgsrc-2012Q4-base:1.37
	pkgsrc-2012Q3:1.36.0.2
	pkgsrc-2012Q3-base:1.36
	pkgsrc-2012Q2:1.35.0.12
	pkgsrc-2012Q2-base:1.35
	pkgsrc-2012Q1:1.35.0.10
	pkgsrc-2012Q1-base:1.35
	pkgsrc-2011Q4:1.35.0.8
	pkgsrc-2011Q4-base:1.35
	pkgsrc-2011Q3:1.35.0.6
	pkgsrc-2011Q3-base:1.35
	pkgsrc-2011Q2:1.35.0.4
	pkgsrc-2011Q2-base:1.35
	pkgsrc-2011Q1:1.35.0.2
	pkgsrc-2011Q1-base:1.35
	pkgsrc-2010Q4:1.34.0.12
	pkgsrc-2010Q4-base:1.34
	pkgsrc-2010Q3:1.34.0.10
	pkgsrc-2010Q3-base:1.34
	pkgsrc-2010Q2:1.34.0.8
	pkgsrc-2010Q2-base:1.34
	pkgsrc-2010Q1:1.34.0.6
	pkgsrc-2010Q1-base:1.34
	pkgsrc-2009Q4:1.34.0.4
	pkgsrc-2009Q4-base:1.34
	pkgsrc-2009Q3:1.34.0.2
	pkgsrc-2009Q3-base:1.34
	pkgsrc-2009Q2:1.32.0.2
	pkgsrc-2009Q2-base:1.32
	pkgsrc-2009Q1:1.31.0.14
	pkgsrc-2009Q1-base:1.31
	pkgsrc-2008Q4:1.31.0.12
	pkgsrc-2008Q4-base:1.31
	pkgsrc-2008Q3:1.31.0.10
	pkgsrc-2008Q3-base:1.31
	cube-native-xorg:1.31.0.8
	cube-native-xorg-base:1.31
	pkgsrc-2008Q2:1.31.0.6
	pkgsrc-2008Q2-base:1.31
	cwrapper:1.31.0.4
	pkgsrc-2008Q1:1.31.0.2
	pkgsrc-2008Q1-base:1.31
	pkgsrc-2007Q4:1.30.0.12
	pkgsrc-2007Q4-base:1.30
	pkgsrc-2007Q3:1.30.0.10
	pkgsrc-2007Q3-base:1.30
	pkgsrc-2007Q2:1.30.0.8
	pkgsrc-2007Q2-base:1.30
	pkgsrc-2007Q1:1.30.0.6
	pkgsrc-2007Q1-base:1.30
	pkgsrc-2006Q4:1.30.0.4
	pkgsrc-2006Q4-base:1.30
	pkgsrc-2006Q3:1.30.0.2
	pkgsrc-2006Q3-base:1.30
	pkgsrc-2006Q2:1.28.0.2
	pkgsrc-2006Q2-base:1.28
	pkgsrc-2006Q1:1.25.0.2
	pkgsrc-2006Q1-base:1.25
	pkgsrc-2005Q4:1.24.0.2
	pkgsrc-2005Q4-base:1.24
	pkgsrc-2005Q3:1.23.0.2
	pkgsrc-2005Q3-base:1.23
	pkgsrc-2005Q2:1.22.0.2
	pkgsrc-2005Q2-base:1.22
	pkgsrc-2005Q1:1.20.0.4
	pkgsrc-2005Q1-base:1.20
	pkgsrc-2004Q4:1.20.0.2
	pkgsrc-2004Q4-base:1.20
	pkgsrc-2004Q3:1.19.0.2
	pkgsrc-2004Q3-base:1.19
	pkgsrc-2004Q2:1.18.0.2
	pkgsrc-2004Q2-base:1.18
	pkgsrc-2004Q1:1.16.0.2
	pkgsrc-2004Q1-base:1.16
	pkgsrc-2003Q4:1.15.0.4
	pkgsrc-2003Q4-base:1.15
	netbsd-1-6-1:1.15.0.2
	netbsd-1-6-1-base:1.15
	netbsd-1-6:1.14.0.8
	netbsd-1-6-RELEASE-base:1.14
	pkgviews:1.14.0.4
	pkgviews-base:1.14
	buildlink2:1.14.0.2
	buildlink2-base:1.14
	netbsd-1-5-PATCH003:1.14
	netbsd-1-5-PATCH001:1.12
	netbsd-1-5-RELEASE:1.8
	netbsd-1-4-PATCH003:1.8
	netbsd-1-4-PATCH002:1.7
	comdex-fall-1999:1.5
	netbsd-1-4-PATCH001:1.5
	netbsd-1-4-RELEASE:1.5
	netbsd-1-3-PATCH003:1.2;
locks; strict;
comment	@# @;


1.50
date	2025.11.17.11.00.24;	author wiz;	state Exp;
branches;
next	1.49;
commitid	riyAI0LyQsKiDTiG;

1.49
date	2022.06.28.11.30.59;	author wiz;	state Exp;
branches;
next	1.48;
commitid	D2UoJrTHpoHEANJD;

1.48
date	2021.05.24.19.49.09;	author wiz;	state Exp;
branches;
next	1.47;
commitid	qokaiStTApGMcrUC;

1.47
date	2020.08.31.18.06.38;	author wiz;	state Exp;
branches;
next	1.46;
commitid	7zxRbfOkDOoxbfmC;

1.46
date	2020.01.26.05.26.14;	author rillig;	state Exp;
branches;
next	1.45;
commitid	uxXvYG0sFCxwZ9UB;

1.45
date	2020.01.18.23.30.08;	author rillig;	state Exp;
branches;
next	1.44;
commitid	shGUwZfkr7sleeTB;

1.44
date	2019.08.11.13.17.59;	author wiz;	state Exp;
branches;
next	1.43;
commitid	Ifet9Pg6Qt99ZByB;

1.43
date	2018.08.22.09.42.58;	author wiz;	state Exp;
branches;
next	1.42;
commitid	YLub8g3ofvFGb6PA;

1.42
date	2016.07.09.06.37.50;	author wiz;	state Exp;
branches;
next	1.41;
commitid	dlqnocGpOoXV2Cdz;

1.41
date	2015.06.12.10.48.25;	author wiz;	state Exp;
branches;
next	1.40;
commitid	B4JmCfaVUbiY38py;

1.40
date	2014.10.09.14.05.59;	author wiz;	state Exp;
branches;
next	1.39;
commitid	fBDATFVmQ3454xTx;

1.39
date	2014.05.29.23.35.16;	author wiz;	state Exp;
branches;
next	1.38;
commitid	laryHfkCalgYtuCx;

1.38
date	2013.05.31.12.39.38;	author wiz;	state Exp;
branches;
next	1.37;
commitid	hIeXGcx6VfKHwMRw;

1.37
date	2012.10.03.21.53.58;	author wiz;	state Exp;
branches;
next	1.36;

1.36
date	2012.09.11.22.37.13;	author asau;	state Exp;
branches;
next	1.35;

1.35
date	2011.03.11.10.32.20;	author zafer;	state Exp;
branches;
next	1.34;

1.34
date	2009.08.30.10.33.52;	author wiz;	state Exp;
branches;
next	1.33;

1.33
date	2009.07.08.14.23.23;	author joerg;	state Exp;
branches;
next	1.32;

1.32
date	2009.05.16.20.38.39;	author zafer;	state Exp;
branches;
next	1.31;

1.31
date	2008.01.19.09.16.18;	author wiz;	state Exp;
branches;
next	1.30;

1.30
date	2006.08.31.18.04.08;	author rillig;	state Exp;
branches;
next	1.29;

1.29
date	2006.07.02.20.25.34;	author rillig;	state Exp;
branches;
next	1.28;

1.28
date	2006.06.30.11.33.13;	author joerg;	state Exp;
branches;
next	1.27;

1.27
date	2006.06.24.08.44.33;	author rillig;	state Exp;
branches;
next	1.26;

1.26
date	2006.06.08.14.58.38;	author rillig;	state Exp;
branches;
next	1.25;

1.25
date	2006.02.05.23.08.19;	author joerg;	state Exp;
branches;
next	1.24;

1.24
date	2005.12.05.20.49.51;	author rillig;	state Exp;
branches;
next	1.23;

1.23
date	2005.07.16.19.10.38;	author jlam;	state Exp;
branches;
next	1.22;

1.22
date	2005.05.22.20.07.40;	author jlam;	state Exp;
branches;
next	1.21;

1.21
date	2005.04.11.21.45.00;	author tv;	state Exp;
branches;
next	1.20;

1.20
date	2004.12.03.15.14.51;	author wiz;	state Exp;
branches;
next	1.19;

1.19
date	2004.07.30.15.50.37;	author minskim;	state Exp;
branches;
next	1.18;

1.18
date	2004.05.07.15.25.13;	author cjep;	state Exp;
branches;
next	1.17;

1.17
date	2004.04.11.03.42.21;	author snj;	state Exp;
branches;
next	1.16;

1.16
date	2004.01.22.07.19.25;	author grant;	state Exp;
branches;
next	1.15;

1.15
date	2002.11.14.23.08.51;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2001.11.28.05.20.38;	author jlam;	state Exp;
branches;
next	1.13;

1.13
date	2001.10.26.12.56.21;	author agc;	state Exp;
branches;
next	1.12;

1.12
date	2001.04.09.11.45.38;	author wiz;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.16.13.37.55;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.16.02.32.17;	author wiz;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.08.10.13.40;	author abs;	state Exp;
branches;
next	1.8;

1.8
date	2000.03.16.12.16.53;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2000.01.05.11.42.49;	author agc;	state Exp;
branches;
next	1.6;

1.6
date	99.12.28.04.26.18;	author wiz;	state Exp;
branches;
next	1.5;

1.5
date	99.01.02.02.26.34;	author hubertf;	state Exp;
branches;
next	1.4;

1.4
date	98.12.26.15.59.56;	author garbled;	state Exp;
branches;
next	1.3;

1.3
date	98.12.03.01.27.05;	author hubertf;	state Exp;
branches;
next	1.2;

1.2
date	98.09.24.08.45.00;	author agc;	state Exp;
branches;
next	1.1;

1.1
date	98.08.30.17.46.25;	author garbled;	state Exp;
branches;
next	;


desc
@@


1.50
log
@*: switch all sourceforge HOMEPAGEs to https
@
text
@# $NetBSD: Makefile,v 1.49 2022/06/28 11:30:59 wiz Exp $

DISTNAME=		lmbench-2alpha11
PKGNAME=		lmbench-2.11a
PKGREVISION=		13
CATEGORIES=		benchmarks
MASTER_SITES=		# ftp://ftp.kreonet.re.kr/tools/benchmark/lmbench/old/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://lmbench.sourceforge.net/
COMMENT=		Complete benchmark that gives a large amount of information

USE_TOOLS+=		gmake perl:run
BUILD_TARGET=		build
MAKE_ENV+=		MACHINE_ARCH=${MACHINE_ARCH:Q}

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man8

post-extract:
	${INSTALL_SCRIPT} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/scripts/gnu-os

post-configure:
	cd ${WRKSRC};						\
	for f in src/Makefile; do				\
		${SED} -e "s|^\\(CC.*\\)|#\\1|g" $$f > $$f.new;	\
		${MV} -f $$f.new $$f;				\
	done
	cd ${WRKSRC};						\
	for f in scripts/os scripts/results scripts/config-run	\
		 scripts/lmbench results/Makefile; do		\
		${SED} -e 's|@@PREFIX@@|${PREFIX}|g' $$f > $$f.new; \
		${MV} -f $$f.new $$f;				\
	done
	${CHMOD} 0755 ${WRKSRC}/scripts/config-run
	${CHMOD} 0755 ${WRKSRC}/scripts/os
	${CHMOD} 0755 ${WRKSRC}/scripts/results
	${CHMOD} 0755 ${WRKSRC}/scripts/lmbench

do-install:
	${SETENV} ${MAKE_ENV} DESTDIR=${DESTDIR} PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
		INSTALL_PROGRAM=${INSTALL:Q} ${FILESDIR}/do-install

.include "../../mk/bsd.prefs.mk"
benchmark:
	if [ ! -f ${PREFIX}/libexec/lmbench/hello ]; then		\
		${ECHO} "*** This benchmark must be installed to run";	\
		exit 1;							\
	fi
.if defined(BATCH)
	@@${ECHO} "*** This benchmark should only be run in non-batch mode" ; \
	if [ `id -u` != 0 ]; then ${ECHO} "This benchmark must be run as root!" ; exit 1 ; fi ; \
	${SED} -e 's|@@wrksrc@@|${WRKSRC}|' < ${FILESDIR}/setup.answers | \
	(cd ${WRKSRC}/src; ${GMAKE} results)
.else
	@@if [ `id -u` != 0 ]; then ${ECHO} "This benchmark must be run as root!" ; exit 1 ; fi
	@@cd ${WRKSRC}/src; ${GMAKE} results
.endif

results:
	@@${MKDIR} /tmp/benches/`domainname`
	cd ${PREFIX}/share/lmbench					\
	&& ${TAR} -cf /tmp/benches/`domainname`/lmbench.`uname`-`uname -m`-`uname -r`.`hostname`.tar results

.include "../../mk/bsd.pkg.mk"
@


1.49
log
@*: recursive bump for perl 5.36
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2021/05/24 19:49:09 wiz Exp $
d11 1
a11 1
HOMEPAGE=		http://lmbench.sourceforge.net/
@


1.48
log
@*: recursive bump for perl 5.34
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2020/08/31 18:06:38 wiz Exp $
d5 1
a5 1
PKGREVISION=		12
@


1.47
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2020/01/26 05:26:14 rillig Exp $
d5 1
a5 1
PKGREVISION=		11
@


1.46
log
@all: migrate some SourceForge homepage URLs back from https to http

https://mail-index.netbsd.org/pkgsrc-changes/2020/01/18/msg205146.html

In the above commit, the homepage URLs were migrated from http to https,
assuming that SourceForge would use the same host names for both http and
https connections. This assumption was wrong. Their documentation at
https://sourceforge.net/p/forge/documentation/Custom%20VHOSTs/ states
that the https URLs use the domain sourceforge.io instead.

To make the homepages from the above commit reachable again, pkglint has
been extended to check for reachable homepages. This check is only
enabled when the --network command line option is given.

Each of the homepages that referred to https://$project.sourceforge.net
before was migrated to https://$project.sourceforge.io (27), and if that
was not reachable, to the fallback URL http://$project.sourceforge.net
(163).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2020/01/18 23:30:08 rillig Exp $
d5 1
a5 1
PKGREVISION=		10
@


1.45
log
@all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2019/08/11 13:17:59 wiz Exp $
d11 1
a11 1
HOMEPAGE=		https://lmbench.sourceforge.net/
@


1.44
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2018/08/22 09:42:58 wiz Exp $
d11 1
a11 1
HOMEPAGE=		http://lmbench.sourceforge.net/
@


1.43
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2016/07/09 06:37:50 wiz Exp $
d5 1
a5 1
PKGREVISION=		9
@


1.42
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2015/06/12 10:48:25 wiz Exp $
d5 1
a5 1
PKGREVISION=		8
@


1.41
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2014/10/09 14:05:59 wiz Exp $
d5 1
a5 1
PKGREVISION=		7
@


1.40
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2014/05/29 23:35:16 wiz Exp $
d5 1
a5 1
PKGREVISION=		6
@


1.39
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2013/05/31 12:39:38 wiz Exp $
a13 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.38
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2012/10/03 21:53:58 wiz Exp $
d5 1
a5 1
PKGREVISION=		5
@


1.37
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2012/09/11 22:37:13 asau Exp $
d5 1
a5 1
PKGREVISION=		4
@


1.36
log
@"user-destdir" is default these days
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2011/03/11 10:32:20 zafer Exp $
d5 1
a5 1
PKGREVISION=		3
@


1.35
log
@service discontinued. prevent time out. fetch from backup.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2009/08/30 10:33:52 wiz Exp $
a14 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.34
log
@Update HOMEPAGE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2009/07/08 14:23:23 joerg Exp $
d7 1
a7 1
MASTER_SITES=		ftp://ftp.kreonet.re.kr/tools/benchmark/lmbench/old/
@


1.33
log
@user-destdir support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2009/05/16 20:38:39 zafer Exp $
d11 1
a11 1
HOMEPAGE=		http://www.bitmover.com/lm/lmbench/
@


1.32
log
@update master site.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2008/01/19 09:16:18 wiz Exp $
d15 1
d21 1
a21 1
INSTALLATION_DIRS=	${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man8
d44 1
a44 1
	${SETENV} ${MAKE_ENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
@


1.31
log
@Reset maintainer on his request.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/08/31 18:04:08 rillig Exp $
d7 1
a7 1
MASTER_SITES=		ftp://ftp.bitmover.com/lmbench/
@


1.30
log
@Moved the helper binaries from bin/lmbench/ to libexec/lmbench. Bumped
PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/07/02 20:25:34 rillig Exp $
d10 1
a10 1
MAINTAINER=		root@@garbled.net
@


1.29
log
@Fixed unprivileged builds: ${CP} cannot overwrite read-only files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2006/06/30 11:33:13 joerg Exp $
d5 1
a5 1
PKGREVISION=		2
d20 1
a20 1
INSTALLATION_DIRS=	man/man1 man/man3 man/man8
d48 1
a48 1
	if [ ! -f ${PREFIX}/bin/lmbench/hello ]; then			\
@


1.28
log
@Override ancient config.guess script to unbreak lmbench installation
after rillig added set -e to do-install script.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2006/06/24 08:44:33 rillig Exp $
d23 1
a23 1
	${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}/scripts/gnu-os
@


1.27
log
@Fixed unprivileged builds. Added basic error checking. Bumped PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2006/06/08 14:58:38 rillig Exp $
d22 3
@


1.26
log
@Fixed some pkglint warnings. Among others, the "@@" character is only
valid at the beginning of a shell command in a Makefile. In the middle
of such a line, the "@@" character does not have any special meaning.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2006/02/05 23:08:19 joerg Exp $
d5 1
a5 1
PKGREVISION=		1
d40 1
a40 1
	${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
@


1.25
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2005/12/05 20:49:51 rillig Exp $
d23 1
a23 1
	@@cd ${WRKSRC};						\
d25 1
a25 1
		${SED} -e "s|^\(CC.*\)|#\1|g" $$f > $$f.new;	\
d28 1
a28 1
	@@cd ${WRKSRC};						\
d34 4
a37 4
	@@${CHMOD} 0755 ${WRKSRC}/scripts/config-run
	@@${CHMOD} 0755 ${WRKSRC}/scripts/os
	@@${CHMOD} 0755 ${WRKSRC}/scripts/results
	@@${CHMOD} 0755 ${WRKSRC}/scripts/lmbench
d40 2
a41 2
	@@${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
		INSTALL_PROGRAM=${INSTALL} ${FILESDIR}/do-install
d45 3
a47 3
	if [ ! -f ${PREFIX}/bin/lmbench/hello ]; then \
		@@${ECHO} "*** This benchmark must be installed to run" ; \
		exit 1 ; \
d52 1
a52 1
	@@${SED} -e 's|@@wrksrc@@|${WRKSRC}|' < ${FILESDIR}/setup.answers | \
d61 2
a62 2
	-@@cd ${PREFIX}/share/lmbench ; \
	tar -cf /tmp/benches/`domainname`/lmbench.`uname`-`uname -m`-`uname -r`.`hostname`.tar results
@


1.24
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2005/07/16 19:10:38 jlam Exp $
d5 1
@


1.23
log
@Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk.  These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2005/05/22 20:07:40 jlam Exp $
d17 1
a17 1
MAKE_ENV+=		MACHINE_ARCH=${MACHINE_ARCH}
@


1.22
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2005/04/11 21:45:00 tv Exp $
d15 1
a15 1
USE_TOOLS+=		gmake
a62 1
.include "../../lang/perl5/buildlink3.mk"
@


1.21
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2004/12/03 15:14:51 wiz Exp $
d15 1
a15 1
USE_GNU_TOOLS+=		make
@


1.20
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2004/07/30 15:50:37 minskim Exp $
a14 1
USE_BUILDLINK3=		YES
@


1.19
log
@Enable pkgviews installation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2004/05/07 15:25:13 cjep Exp $
d17 1
a17 1
ALL_TARGET=		build
@


1.18
log
@whitespace nits
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2004/04/11 03:42:21 snj Exp $
d13 2
d20 2
@


1.17
log
@Convert to buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2004/01/22 07:19:25 grant Exp $
d39 1
a39 1
.include "../../mk/bsd.prefs.mk" 
@


1.16
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2002/11/14 23:08:51 jlam Exp $
d13 1
a13 1
USE_BUILDLINK2=		YES
d39 1
a39 2
.include "../../mk/bsd.prefs.mk"

d60 1
a60 1
.include "../../lang/perl5/buildlink2.mk"
@


1.15
log
@Workaround problem with passing CC to submakes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/11/28 05:20:38 jlam Exp $
d14 1
a14 1
USE_GMAKE=		YES
@


1.14
log
@Buildlinkify.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/10/26 12:56:21 agc Exp $
d13 1
a13 1
USE_BUILDLINK_ONLY=	YES
d20 5
d27 2
a28 2
		${MV} $$f $$f.in;				\
		${SED} -e 's|@@PREFIX@@|${PREFIX}|g' $$f.in > $$f; \
d61 1
a61 1
.include "../../lang/perl5/buildlink.mk"
@


1.13
log
@As this script is called directly by the package Makefile, move it out
of the scripts directory, so that we don't confuse it with one of the
automatically called scripts in bsd.pkg.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/04/09 11:45:38 wiz Exp $
d13 2
a15 2
USE_GMAKE=		yes
USE_PERL5=		yes
d56 1
@


1.12
log
@Remove unneeded '-' before ${MKDIR} or ${INSTALL_DATA_DIR}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2001/02/16 13:37:55 wiz Exp $
d32 1
a32 1
		INSTALL_PROGRAM=${INSTALL} ${SCRIPTDIR}/do-install
@


1.11
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/11/16 02:32:17 wiz Exp $
d52 1
a52 1
	-@@${MKDIR} /tmp/benches/`domainname`
@


1.10
log
@$() -> ${}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/11/08 10:13:40 abs Exp $
d11 1
@


1.9
log
@Work around gcc codegen bug that results in infinite loop compiling mhz.c -O
on arm32
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/03/16 12:16:53 wiz Exp $
d15 1
a15 1
MAKE_ENV+=		MACHINE_ARCH=$(MACHINE_ARCH)
@


1.8
log
@cp -> ${CP}, chmod -> ${CHMOD}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/01/05 11:42:49 agc Exp $
d15 1
@


1.7
log
@Make this install properly on Solaris.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/12/28 04:26:18 wiz Exp $
d23 4
a26 4
	@@chmod 0755 ${WRKSRC}/scripts/config-run
	@@chmod 0755 ${WRKSRC}/scripts/os
	@@chmod 0755 ${WRKSRC}/scripts/results
	@@chmod 0755 ${WRKSRC}/scripts/lmbench
@


1.6
log
@replaced some commands by their ${COMMAND} counterparts
one RCS tag added
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1999/01/02 02:26:34 hubertf Exp $
d29 2
a30 1
	@@${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} ${SCRIPTDIR}/do-install
@


1.5
log
@work around PREFIX not being defined for exist()
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/12/26 15:59:56 garbled Exp $
d40 1
a40 1
	if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi ; \
d44 1
a44 1
	@@if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi
@


1.4
log
@Fix all the benchmark targets so they work properly, and work with the
package uninstalled, with the exceptionof lmbench.  Make non-batch
targets for all the benchmarks, and create a results target which
places all the results in /tmp for easier collection.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/12/03 01:27:05 hubertf Exp $
d34 4
a37 1
.if exists(${PREFIX}/bin/lmbench/hello)
a45 4
.endif
.else
	@@${ECHO} "*** This benchmark must be installed to run" ; \
	exit 1
@


1.3
log
@make aware of BATCH (if interactive), uid (if benchmark needs to be run as root)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/09/24 08:45:00 agc Exp $
d34 1
d36 4
a39 2
	@@${ECHO} "*** This benchmark may only be run in non-batch mode" ; \
	exit 1
d44 9
@


1.2
log
@+ Use @@PREFIX@@ as the pattern to substitute for ${PREFIX}
+ Cleanup the substitutions a bit.
+ Add a benchmark target to the package Makefile to enable the
benchmark to be run.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/08/30 17:46:25 garbled Exp $
d31 2
d34 5
d40 1
@


1.1
log
@Add new pkg for lmbench-2.11a
a complete benchmark that gives a large amount of information.
@
text
@d1 1
a1 1
# $NetBSD$
d17 6
a22 11
	@@${MV} ${WRKSRC}/scripts/os foo
	${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' < foo > ${WRKSRC}/scripts/os
	@@${MV} ${WRKSRC}/scripts/results foo
	${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' < foo > ${WRKSRC}/scripts/results
	@@${MV} ${WRKSRC}/scripts/config-run foo
	${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' < foo > ${WRKSRC}/scripts/config-run
	@@${MV} ${WRKSRC}/scripts/lmbench foo
	${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' < foo > ${WRKSRC}/scripts/lmbench
	@@${MV} ${WRKSRC}/results/Makefile foo
	${SED} -e 's@@XXXPREFIXXXX@@${PREFIX}@@g' < foo > ${WRKSRC}/results/Makefile
	@@${RM} -f foo
d30 3
@
