summaryrefslogtreecommitdiffstats
path: root/sysutils/memtest/Makefile
blob: 8e51cff03cd482c1c82a121da972ac1a7985916b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# New ports collection makefile for:    memtest
# Date created:         18 Jun 2000
# Whom:			Mario S F Ferreira <lioux@linf.unb.br> et al.
#
# $FreeBSD$
#

PORTNAME=	memtest
PORTVERSION=	4.0.5
CATEGORIES=	sysutils
MASTER_SITES=	http://pyropus.ca/software/${PORTNAME}er/
DISTNAME=	${PORTNAME}er-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility to test for faulty memory subsystem

USE_REINPLACE=	yes

MAN8=		${PORTNAME}.8
PLIST_FILES=	bin/memtest

post-patch:
	@${REINPLACE_CMD} -e 's|cc|${CC}|' \
		${WRKSRC}/conf-cc

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}er ${PREFIX}/bin/${PORTNAME}
	@${INSTALL_MAN} ${WRKSRC}/${MAN8:S/./er./g} ${PREFIX}/man/man8/${MAN8}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud