1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/sysutils/cpuburn/Makefile
Wesley Shields 51b9bf4480 I'll also help out and host this distfile.
Feature safe:	yes
2011-11-17 03:02:10 +00:00

44 lines
1019 B
Makefile

# New ports collection makefile for: cpuburn
# Date created: Apr 1, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= cpuburn
DISTVERSION= 1_4
CATEGORIES= sysutils
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ \
http://atarininja.org/distfiles/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= avg
DISTNAME= cpuburn_${DISTVERSION}
EXTRACT_SUFX= _tar.gz
MAINTAINER= avg@FreeBSD.org
COMMENT= CPU/memory stress testing utilities
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
ONLY_FOR_ARCHS= i386 amd64
PORTDOCS= README Design
CPUS= BX K6 K7 MMX P5 P6
PLIST_FILES= ${CPUS:S+^+bin/burn+}
do-build:
.for CPU in ${CPUS}
${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
.endfor
do-install:
.for CPU in ${CPUS}
${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR}
.endif
.include <bsd.port.mk>