aboutsummaryrefslogtreecommitdiff
path: root/sysutils/memtest86
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-28 01:48:40 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-28 01:48:40 +0000
commite0eee5508b7768b76eb14ffae2be62cd16ab1a41 (patch)
treeab2b8fb49a0c2cfdb6b203cb84428fc81b693bb7 /sysutils/memtest86
parent5bab9055099765018132a79fa7c296c79f72668e (diff)
downloadports-e0eee5508b7768b76eb14ffae2be62cd16ab1a41.tar.gz
ports-e0eee5508b7768b76eb14ffae2be62cd16ab1a41.zip
Notes
Diffstat (limited to 'sysutils/memtest86')
-rw-r--r--sysutils/memtest86/Makefile39
-rw-r--r--sysutils/memtest86/distinfo2
-rw-r--r--sysutils/memtest86/files/pkg-message.in7
-rw-r--r--sysutils/memtest86/pkg-descr7
4 files changed, 55 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>
diff --git a/sysutils/memtest86/distinfo b/sysutils/memtest86/distinfo
new file mode 100644
index 000000000000..0648cf6ef97e
--- /dev/null
+++ b/sysutils/memtest86/distinfo
@@ -0,0 +1,2 @@
+MD5 (memtest86-3.1a.tar.gz) = 6c43d4aba3fdfa135c462a02b3ae5b39
+SIZE (memtest86-3.1a.tar.gz) = 142729
diff --git a/sysutils/memtest86/files/pkg-message.in b/sysutils/memtest86/files/pkg-message.in
new file mode 100644
index 000000000000..8205d411c35e
--- /dev/null
+++ b/sysutils/memtest86/files/pkg-message.in
@@ -0,0 +1,7 @@
+*
+* Usage:
+*
+* 1) Insert blank floppy
+* 2) dd if=%%DATADIR%%/floppy.bin of=/dev/fd0
+* 3) Boot the floppy
+*
diff --git a/sysutils/memtest86/pkg-descr b/sysutils/memtest86/pkg-descr
new file mode 100644
index 000000000000..6abf3612b10a
--- /dev/null
+++ b/sysutils/memtest86/pkg-descr
@@ -0,0 +1,7 @@
+Memtest86 - A Stand-alone Memory Diagnostic
+
+Memtest86 is 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.
+
+WWW: http://www.memtest86.com/