Date: Tue, 21 Jan 2014 16:57:11 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340621 - head/sysutils/cpuburn Message-ID: <201401211657.s0LGvBCs057969@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jan 21 16:57:11 2014 New Revision: 340621 URL: http://svnweb.freebsd.org/changeset/ports/340621 QAT: https://qat.redports.org/buildarchive/r340621/ Log: - Fix build on 10.x - Support staging - Convert NOPORTDOCS to OPTIONS PR: 185958 Submitted by: amdmi3 Approved by: avg (maintainer) Modified: head/sysutils/cpuburn/Makefile Modified: head/sysutils/cpuburn/Makefile ============================================================================== --- head/sysutils/cpuburn/Makefile Tue Jan 21 16:43:00 2014 (r340620) +++ head/sysutils/cpuburn/Makefile Tue Jan 21 16:57:11 2014 (r340621) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401211657.s0LGvBCs057969>