summaryrefslogtreecommitdiff
path: root/sysutils/memtestplus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/memtestplus/Makefile')
-rw-r--r--sysutils/memtestplus/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/memtestplus/Makefile b/sysutils/memtestplus/Makefile
new file mode 100644
index 00000000000..e1709db3adf
--- /dev/null
+++ b/sysutils/memtestplus/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2006/10/24 18:00:05 smb Exp $
+#
+
+DISTNAME= memtest86+-1.65
+PKGNAME= memtestplus-1.65
+CATEGORIES= sysutils
+MASTER_SITES= http://www.memtest.org/download/1.65/
+
+MAINTAINER= smb@NetBSD.org
+HOMEPAGE= http://www.memtest.org/
+COMMENT= Thorough, stand alone memory test for x86 arch
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386
+
+USE_TOOLS+= gmake
+
+SUBST_CLASSES+= delcr
+SUBST_STAGE.delcr= post-build
+SUBST_MESSAGE.delcr= Deleting CRs
+SUBST_FILES.delcr= README
+SUBST_SED.delcr= -e 's/.$$//g'
+
+.include "options.mk"
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/mdec
+ ${INSTALL_DATA} ${WRKSRC}/memtest.bin ${PREFIX}/mdec/memtestplus.bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/memtestplus
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/memtestplus
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/memtestplus
+.if !empty(PKG_OPTIONS:Mmemtesplus-iso)
+ ${INSTALL_DATA} ${WRKSRC}/memtest.iso ${PREFIX}/mdec/memtestplus.iso
+.endif
+
+.include "../../devel/binutils/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"