blob: 6fa1edab61d7e6d56aabeb0ab52a4d527e6b5ccf (
plain)
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
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.5 2007/02/22 19:27:11 wiz Exp $
#
DISTNAME= memtest86+-1.65
PKGNAME= memtestplus-1.65
PKGREVISION= 3
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 NetBSD-*-x86_64 Linux-*-x86_64
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} ${WRKSRC}/memtest ${PREFIX}/mdec/memtestplus
${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"
|