aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/memtest86/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-12 02:21:27 +0800
committerkrion <krion@FreeBSD.org>2004-12-12 02:21:27 +0800
commitf6bdd65030c60fa946ec7479dff3665fdc3a0dd9 (patch)
treebc72a5f42e1345e89af1467ed6b350eb3f275fef /sysutils/memtest86/Makefile
parentd3beb673fa70a5571b33d548ebcefbff509a0c4d (diff)
downloadfreebsd-ports-gnome-f6bdd65030c60fa946ec7479dff3665fdc3a0dd9.tar.gz
freebsd-ports-gnome-f6bdd65030c60fa946ec7479dff3665fdc3a0dd9.tar.zst
freebsd-ports-gnome-f6bdd65030c60fa946ec7479dff3665fdc3a0dd9.zip
Update to version 3.2
PR: ports/74951 Submitted by: Ports Fury
Diffstat (limited to 'sysutils/memtest86/Makefile')
-rw-r--r--sysutils/memtest86/Makefile29
1 files changed, 18 insertions, 11 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>