aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cpuburn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cpuburn/Makefile')
-rw-r--r--sysutils/cpuburn/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/cpuburn/Makefile b/sysutils/cpuburn/Makefile
index 3d3a912aa0a5..b29490fa18e3 100644
--- a/sysutils/cpuburn/Makefile
+++ b/sysutils/cpuburn/Makefile
@@ -8,7 +8,7 @@
PORTNAME= cpuburn
PORTVERSION= 1.4
CATEGORIES= sysutils
-MASTER_SITES= http://users.ev1.net/~redelm/
+MASTER_SITES= http://pages.sbcglobal.net/redelm/
DISTNAME= cpuburn_${PORTVERSION:S/./_/g}
EXTRACT_SUFX= _tar.gz
@@ -18,19 +18,23 @@ COMMENT= CPU/memory stress testing utilities
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ONLY_FOR_ARCHS= i386
+PORTDOCS= README Design
+CPUS= BX K6 K7 MMX P5 P6
+PLIST_FILES= ${CPUS:C+^+bin/burn+g}
+
do-build:
-.for CPU in BX K6 K7 MMX P5 P6
+.for CPU in ${CPUS}
${CC} -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
.endfor
do-install:
-.for CPU in BX K6 K7 MMX P5 P6
+.for CPU in ${CPUS}
${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/Design ${PREFIX}/share/doc/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR}
.endif
.include <bsd.port.mk>