aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-01-22 00:57:11 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-01-22 00:57:11 +0800
commitb101a81335890d4643f69a27cc1902af4cf5e126 (patch)
tree2309632b8b3eab8ea85baf157a82f24613234749 /sysutils
parentf153ec62952412e6a74e652f26e2156ef8a71914 (diff)
downloadfreebsd-ports-gnome-b101a81335890d4643f69a27cc1902af4cf5e126.tar.gz
freebsd-ports-gnome-b101a81335890d4643f69a27cc1902af4cf5e126.tar.zst
freebsd-ports-gnome-b101a81335890d4643f69a27cc1902af4cf5e126.zip
- Fix build on 10.x
- Support staging - Convert NOPORTDOCS to OPTIONS PR: 185958 Submitted by: amdmi3 Approved by: avg (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cpuburn/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/sysutils/cpuburn/Makefile b/sysutils/cpuburn/Makefile
index 78a39d9f7ef9..c186b2dc13f0 100644
--- a/sysutils/cpuburn/Makefile
+++ b/sysutils/cpuburn/Makefile
@@ -6,8 +6,7 @@ DISTVERSION= 1_4
CATEGORIES= sysutils
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/ \
http://atarininja.org/distfiles/ \
- ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= avg
+ LOCAL/avg
DISTNAME= cpuburn_${DISTVERSION}
EXTRACT_SUFX= _tar.gz
@@ -20,8 +19,10 @@ ONLY_FOR_ARCHS= i386 amd64
PORTDOCS= README Design
CPUS= BX K6 K7 MMX P5 P6
PLIST_FILES= ${CPUS:S+^+bin/burn+}
+USE_GCC= yes
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-build:
.for CPU in ${CPUS}
${CC} -m32 -s -nostdlib -o ${WRKSRC}/burn${CPU} ${WRKSRC}/burn${CPU}.S
@@ -29,12 +30,10 @@ do-build:
do-install:
.for CPU in ${CPUS}
- ${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/burn${CPU} ${STAGEDIR}${PREFIX}/bin/
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Design ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/Design ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>