View | Details | Raw Unified | Return to bug 185958
Collapse All | Expand All

(-)Makefile (-9 / +8 lines)
Lines 6-13 Link Here
6
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
7
MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/ \
7
MASTER_SITES=	http://www.bayofrum.net/dist/${PORTNAME}/ \
8
		http://atarininja.org/distfiles/ \
8
		http://atarininja.org/distfiles/ \
9
		${MASTER_SITE_LOCAL}
9
		LOCAL/avg
10
MASTER_SITE_SUBDIR=	avg
11
DISTNAME=	cpuburn_${DISTVERSION}
10
DISTNAME=	cpuburn_${DISTVERSION}
12
EXTRACT_SUFX=	_tar.gz
11
EXTRACT_SUFX=	_tar.gz
13
12
Lines 20-27 Link Here
20
PORTDOCS=	README Design
19
PORTDOCS=	README Design
21
CPUS=		BX K6 K7 MMX P5 P6
20
CPUS=		BX K6 K7 MMX P5 P6
22
PLIST_FILES=	${CPUS:S+^+bin/burn+}
21
PLIST_FILES=	${CPUS:S+^+bin/burn+}
22
USE_GCC=	yes
23
23
24
NO_STAGE=	yes
24
OPTIONS_DEFINE=	DOCS
25
25
do-build:
26
do-build:
26
.for CPU in ${CPUS}
27
.for CPU in ${CPUS}
27
	${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
28
	${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
Lines 29-40 Link Here
29
30
30
do-install:
31
do-install:
31
.for CPU in ${CPUS}
32
.for CPU in ${CPUS}
32
	${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin
33
	${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${STAGEDIR}${PREFIX}/bin/
33
.endfor
34
.endfor
34
.if !defined(NOPORTDOCS)
35
	${MKDIR} ${STAGEDIR}${DOCSDIR}
35
	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
36
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
36
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
37
	${INSTALL_DATA} ${WRKSRC}/Design ${STAGEDIR}${DOCSDIR}/
37
	${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR}
38
.endif
39
38
40
.include <bsd.port.mk>
39
.include <bsd.port.mk>

Return to bug 185958