aboutsummaryrefslogtreecommitdiff
path: root/sysutils/memtester/Makefile
blob: d705d29f6c493972d1ddc9ca64331e3a71744a49 (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
# Created by: Mario S F Ferreira <lioux@linf.unb.br> et al.

PORTNAME=	memtester
PORTVERSION=	4.5.1
CATEGORIES=	sysutils
MASTER_SITES=	http://pyropus.ca/software/${PORTNAME}/old-versions/

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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cpe
CPE_VENDOR=	pryopus

PLIST_FILES=	bin/${PORTNAME} man/man8/${PORTNAME}.8.gz

post-patch:
	@${REINPLACE_CMD} -e 's|cc|${CC}|' \
		${WRKSRC}/conf-*
	@${REINPLACE_CMD} -e 's|_SC_PAGE_SIZE|_SC_PAGESIZE|' \
		${WRKSRC}/${PORTNAME}.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>