2011-06-02 09:41:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2011/06/02 13:41:41 ajacoutot Exp $
|
2009-02-09 09:54:40 -05:00
|
|
|
# $RuOBSD: Makefile,v 1.4 2009/02/07 10:28:55 form Exp $
|
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
|
|
|
|
|
|
COMMENT= thorough, stand alone memory test
|
2011-03-10 03:02:36 -05:00
|
|
|
VERSION= 4.20
|
2009-02-09 09:54:40 -05:00
|
|
|
DISTNAME= memtest86+-${VERSION}
|
|
|
|
CATEGORIES= sysutils
|
2011-06-02 09:41:36 -04:00
|
|
|
REVISION= 0
|
2009-02-09 09:54:40 -05:00
|
|
|
|
2010-11-07 13:29:54 -05:00
|
|
|
HOMEPAGE= http://www.memtest.org/
|
2009-02-09 09:54:40 -05:00
|
|
|
|
|
|
|
MAINTAINER= Oleg Safiullin <form@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/${VERSION}/
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2010-05-31 03:35:55 -04:00
|
|
|
MAKE_ENV= V=${VERSION}
|
|
|
|
|
2009-02-09 09:54:40 -05:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKBUILD} && sh ${WRKDIST}/makeiso.sh
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/memtest86+
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/memtest86+
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/memtest ${PREFIX}/share/memtest86+
|
|
|
|
${INSTALL_DATA} ${WRKBUILD}/memtest_s \
|
|
|
|
${PREFIX}/share/memtest86+/memtest-serial
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/memtest.bin \
|
|
|
|
${PREFIX}/share/memtest86+/memtest.floppy
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/memtest_s.bin \
|
|
|
|
${PREFIX}/share/memtest86+/memtest-serial.floppy
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/memtest.iso ${PREFIX}/share/memtest86+
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/memtest_s.iso \
|
|
|
|
${PREFIX}/share/memtest86+/memtest-serial.iso
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|