freebsd-ports/sysutils/memtest86/Makefile
Sylvio Cesar Teixeira ba072d1713 - Update my mail address to FreeBSD
Approved by:	miwi (mentor)
2009-11-27 22:52:30 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: memtest86
# Date created: 27 Mar 2004
# Whom: Radim Kolar
#
# $FreeBSD$
#
PORTNAME= memtest86
PORTVERSION= 3.5
CATEGORIES= sysutils
MASTER_SITES= http://www.memtest86.com/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.iso.zip
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Stand alone memory test for x86 architecture computers
EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
PORTDOCS= README
PLIST_FILES= %%DATADIR%%/floppy.bin %%DATADIR%%/Memtest86_3.5.iso
PLIST_DIRS= %%DATADIR%%
SUB_FILES= pkg-message
post-extract:
@${UNZIP_CMD} -qo ${DISTDIR}/${DISTNAME}.iso.zip -d ${WRKSRC}
do-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/precomp.bin ${DATADIR}/floppy.bin
${INSTALL_DATA} ${WRKSRC}/Memtest86_${PORTVERSION}.iso \
${DATADIR}/Memtest86_${PORTVERSION}.iso
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>