aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-11 18:21:27 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-11 18:21:27 +0000
commitd117f4dadf604953624a6e66f3153f988a50862b (patch)
tree19ec7bc2497fcca0d9abd1d51bcc42fae018c14b /sysutils
parent6236e5fa5b6fd2f20998d85d1f5d84ddf03a7e78 (diff)
downloadports-d117f4dadf604953624a6e66f3153f988a50862b.tar.gz
ports-d117f4dadf604953624a6e66f3153f988a50862b.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/memtest86/Makefile29
-rw-r--r--sysutils/memtest86/distinfo6
2 files changed, 22 insertions, 13 deletions
diff --git a/sysutils/memtest86/Makefile b/sysutils/memtest86/Makefile
index dd6f615f3921..df627e479f41 100644
--- a/sysutils/memtest86/Makefile
+++ b/sysutils/memtest86/Makefile
@@ -6,34 +6,41 @@
#
PORTNAME= memtest86
-PORTVERSION= 3.1a
+PORTVERSION= 3.2
CATEGORIES= sysutils
MASTER_SITES= http://www.memtest86.com/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}.iso.zip
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER= ports@freebsd.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Stand alone memory test for x86 architecture computers
+EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
ONLY_FOR_ARCHS= i386
-PKGMESSAGE= ${WRKDIR}/pkg-message
+NO_BUILD= yes
+
PORTDOCS= README
-PLIST_FILES= share/${PORTNAME}/floppy.bin share/${PORTNAME}/memtest.iso.gz
-PLIST_DIRS= share/${PORTNAME}
+PLIST_FILES= %%DATADIR%%/floppy.bin %%DATADIR%%/memtest.iso.gz
+PLIST_DIRS= %%DATADIR%%
+
+SUB_FILES= pkg-message
-do-build:
- @${CAT} ${FILESDIR}/pkg-message.in | ${SED} 's|%%DATADIR%%|${DATADIR}|g' > ${WRKDIR}/pkg-message
+post-extract:
+ @${UNZIP_CMD} -qo ${DISTDIR}/${DISTNAME}.iso.zip -d ${WRKSRC}
do-install:
- ${MKDIR} ${DATADIR}
+ @${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/precomp.bin ${DATADIR}/floppy.bin
- ${INSTALL_DATA} ${WRKSRC}/memtest.iso ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.iso ${DATADIR}/memtest.iso
${GZIP_CMD} ${DATADIR}/memtest.iso
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
- ${CAT} ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/memtest86/distinfo b/sysutils/memtest86/distinfo
index 0648cf6ef97e..93964a09f1d4 100644
--- a/sysutils/memtest86/distinfo
+++ b/sysutils/memtest86/distinfo
@@ -1,2 +1,4 @@
-MD5 (memtest86-3.1a.tar.gz) = 6c43d4aba3fdfa135c462a02b3ae5b39
-SIZE (memtest86-3.1a.tar.gz) = 142729
+MD5 (memtest86-3.2.tar.gz) = 46028d276c39c2eebe7759ba813f97df
+SIZE (memtest86-3.2.tar.gz) = 131309
+MD5 (memtest86-3.2.iso.zip) = 256c694047d7609400d44848367090b2
+SIZE (memtest86-3.2.iso.zip) = 39923