1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/sysutils/cpuburn/Makefile
Martin Wilke 3c0d4e5257 - Fix build with AMD64
PR:		119348
Submitted by:	Geoffrey Giesemann <geoffwa@idkfa.ath.cx>
2008-01-11 00:58:16 +00:00

41 lines
937 B
Makefile

# New ports collection makefile for: cpuburn
# Date created: Apr 1, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#
PORTNAME= cpuburn
PORTVERSION= 1.4
CATEGORIES= sysutils
MASTER_SITES= http://pages.sbcglobal.net/redelm/
DISTNAME= cpuburn_${PORTVERSION:S/./_/g}
EXTRACT_SUFX= _tar.gz
MAINTAINER= ports@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:C+^+bin/burn+g}
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>