Date: Mon, 26 May 2014 08:47:52 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355289 - in head/benchmarks/nbench: . files Message-ID: <201405260847.s4Q8lqBW081776@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Mon May 26 08:47:51 2014 New Revision: 355289 URL: http://svnweb.freebsd.org/changeset/ports/355289 QAT: https://qat.redports.org/buildarchive/r355289/ Log: - Fix parallel builds (-jX) and remove MAKE_JOBS_UNSAFE - Utilize PLIST_FILES and PORTDOCS instead of pkg-plist - Reword port description a bit; fix Makefile header Deleted: head/benchmarks/nbench/pkg-plist Modified: head/benchmarks/nbench/Makefile head/benchmarks/nbench/files/patch-ad head/benchmarks/nbench/pkg-descr Modified: head/benchmarks/nbench/Makefile ============================================================================== --- head/benchmarks/nbench/Makefile Mon May 26 08:44:34 2014 (r355288) +++ head/benchmarks/nbench/Makefile Mon May 26 08:47:51 2014 (r355289) @@ -1,4 +1,4 @@ -# Created by: Andrey Zakhvatov +# Created by: Andrey Zakhvatov <andy@FreeBSD.org> # $FreeBSD$ PORTNAME= nbench @@ -11,15 +11,17 @@ MAINTAINER= ports@FreeBSD.org COMMENT= BYTE Magazine's native benchmarks ALL_TARGET= # empty -MAKE_JOBS_UNSAFE= yes + +PLIST_FILES= bin/nbench share/nbench/NNET.DAT +PORTDOCS= README README.submit RESULTS bdoc.txt + +OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/NNET.DAT ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in README README.submit RESULTS bdoc.txt - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/benchmarks/nbench/files/patch-ad ============================================================================== --- head/benchmarks/nbench/files/patch-ad Mon May 26 08:44:34 2014 (r355288) +++ head/benchmarks/nbench/files/patch-ad Mon May 26 08:47:51 2014 (r355289) @@ -1,6 +1,6 @@ --- Makefile.orig Mon Oct 18 00:07:05 2004 +++ Makefile Mon Oct 18 00:07:51 2004 -@@ -19,10 +19,10 @@ +@@ -19,10 +19,10 @@ default: nbench # You should leave -static in the CFLAGS so that your sysinfo can be # compiled into the executable. @@ -13,3 +13,12 @@ # if your gcc lets you do it, then try this one #CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops +@@ -126,7 +126,7 @@ pointer.h: pointer Makefile + if [ "4" = `./pointer` ] ; then touch pointer.h ;\ + else echo "#define LONG64" >pointer.h ; fi + +-misc.o: misc.h misc.c Makefile ++misc.o: misc.h misc.c nmglobal.h pointer.h Makefile + $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\ + -c misc.c + Modified: head/benchmarks/nbench/pkg-descr ============================================================================== --- head/benchmarks/nbench/pkg-descr Mon May 26 08:44:34 2014 (r355288) +++ head/benchmarks/nbench/pkg-descr Mon May 26 08:47:51 2014 (r355289) @@ -1,5 +1,5 @@ -BYTE Magazine's native benchmarks (also called BYTEmark), which are -designed to expose the capabilities of a system's CPU, FPU, and memory -system. +This is a Linux/Unix port of release 2 of BYTE Magazine's BYTEmark benchmark +program (previously known as BYTE's Native Mode Benchmarks). It is designed +to expose the capabilities of a system's CPU, FPU, and memory system. WWW: http://www.tux.org/~mayer/linux/bmark.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405260847.s4Q8lqBW081776>