summaryrefslogtreecommitdiff
path: root/sysutils/memtest/Makefile
blob: 6c09f341fdcf885e50add164ec34b2ab1824d7f7 (plain) (blame)
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
31
32
33
34
35
# 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.2.2
CATEGORIES=	sysutils
MASTER_SITES=	http://pyropus.ca/software/${PORTNAME}er/old-versions/
DISTNAME=	${PORTNAME}er-${PORTVERSION}

MAINTAINER=	question+fbsdports@closedsrc.org
COMMENT=	Utility to test for faulty memory subsystem

LICENSE=	GPLv2

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

post-patch:
	@${REINPLACE_CMD} -e 's|cc|${CC}|' \
		${WRKSRC}/conf-*
	@${MV} ${WRKSRC}/${PORTNAME}er.8 ${WRKSRC}/${MAN8}
	@${REINPLACE_CMD} -e 's|${PORTNAME}er |${PORTNAME} |g' \
			  -e 's| ${PORTNAME}er| ${PORTNAME}|' \
			  -e "s|${PORTNAME}er's|${PORTNAME}'s|" \
		${WRKSRC}/${MAN8}

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

.include <bsd.port.mk>