mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
0505bd6d08
- fix a bug in the align-to-page logic which may have prevented memtester from mlock()ing the memory it was trying to test on some systems. Thanks: Baif Chen. PR: ports/113660 Submitted by: maintainer (Linh Pham)
30 lines
764 B
Makefile
30 lines
764 B
Makefile
# 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.7
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://pyropus.ca/software/${PORTNAME}er/old-versions/ \
|
|
http://mirrors.closedsrc.org/memtester/
|
|
DISTNAME= ${PORTNAME}er-${PORTVERSION}
|
|
|
|
MAINTAINER= question+fbsdports@closedsrc.org
|
|
COMMENT= Utility to test for faulty memory subsystem
|
|
|
|
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>
|