2001-04-07 08:05:55 +02:00
|
|
|
# New ports collection makefile for: cpuburn
|
|
|
|
# Date created: Apr 1, 2001
|
|
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cpuburn
|
2001-07-13 06:42:55 +02:00
|
|
|
PORTVERSION= 1.4
|
2001-04-07 08:05:55 +02:00
|
|
|
CATEGORIES= sysutils
|
2004-12-16 11:58:29 +01:00
|
|
|
MASTER_SITES= http://pages.sbcglobal.net/redelm/
|
2001-04-07 08:05:55 +02:00
|
|
|
DISTNAME= cpuburn_${PORTVERSION:S/./_/g}
|
|
|
|
EXTRACT_SUFX= _tar.gz
|
|
|
|
|
2001-06-08 07:36:46 +02:00
|
|
|
MAINTAINER= markp@FreeBSD.org
|
2003-02-22 18:14:31 +01:00
|
|
|
COMMENT= CPU/memory stress testing utilities
|
2001-04-07 08:05:55 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-04-15 06:07:50 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2004-12-16 11:58:29 +01:00
|
|
|
PORTDOCS= README Design
|
|
|
|
CPUS= BX K6 K7 MMX P5 P6
|
|
|
|
PLIST_FILES= ${CPUS:C+^+bin/burn+g}
|
|
|
|
|
2001-04-07 08:05:55 +02:00
|
|
|
do-build:
|
2004-12-16 11:58:29 +01:00
|
|
|
.for CPU in ${CPUS}
|
2001-07-13 06:42:55 +02:00
|
|
|
${CC} -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
|
|
|
|
.endfor
|
2001-04-07 08:05:55 +02:00
|
|
|
|
|
|
|
do-install:
|
2004-12-16 11:58:29 +01:00
|
|
|
.for CPU in ${CPUS}
|
2001-07-13 06:42:55 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin
|
|
|
|
.endfor
|
2001-04-07 08:05:55 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
2004-12-16 11:58:29 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR}
|
2001-04-07 08:05:55 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|