diff options
author | pav <pav@FreeBSD.org> | 2004-03-28 09:48:40 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-03-28 09:48:40 +0800 |
commit | c0f0047c23f381954ac080c4f3e65b8e84dec0be (patch) | |
tree | 7defb18e8b2c02b39fe6c7ef7c5f7517ca1d2194 /sysutils/memtest86/Makefile | |
parent | 61148e868aa49fd793e77a00021297528ecc0dde (diff) | |
download | freebsd-ports-gnome-c0f0047c23f381954ac080c4f3e65b8e84dec0be.tar.gz freebsd-ports-gnome-c0f0047c23f381954ac080c4f3e65b8e84dec0be.tar.zst freebsd-ports-gnome-c0f0047c23f381954ac080c4f3e65b8e84dec0be.zip |
Add memtest86, a thorough, stand alone memory test for x86 architecture computers.
BIOS based memory tests are a quick, cursory check and often miss many of the
failures that are detected by Memtest86.
PR: ports/64818
Submitted by: Radim Kolar <hsn@netmag.cz>
Diffstat (limited to 'sysutils/memtest86/Makefile')
-rw-r--r-- | sysutils/memtest86/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/memtest86/Makefile b/sysutils/memtest86/Makefile new file mode 100644 index 000000000000..dd6f615f3921 --- /dev/null +++ b/sysutils/memtest86/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: memtest86 +# Date created: 27 Mar 2004 +# Whom: Radim Kolar +# +# $FreeBSD$ +# + +PORTNAME= memtest86 +PORTVERSION= 3.1a +CATEGORIES= sysutils +MASTER_SITES= http://www.memtest86.com/ + +MAINTAINER= ports@freebsd.org +COMMENT= Stand alone memory test for x86 architecture computers + +ONLY_FOR_ARCHS= i386 + +PKGMESSAGE= ${WRKDIR}/pkg-message +PORTDOCS= README +PLIST_FILES= share/${PORTNAME}/floppy.bin share/${PORTNAME}/memtest.iso.gz +PLIST_DIRS= share/${PORTNAME} + +do-build: + @${CAT} ${FILESDIR}/pkg-message.in | ${SED} 's|%%DATADIR%%|${DATADIR}|g' > ${WRKDIR}/pkg-message + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/precomp.bin ${DATADIR}/floppy.bin + ${INSTALL_DATA} ${WRKSRC}/memtest.iso ${DATADIR} + ${GZIP_CMD} ${DATADIR}/memtest.iso +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + ${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |