Index: head/benchmarks/dhrystone/Makefile =================================================================== --- head/benchmarks/dhrystone/Makefile (revision 377170) +++ head/benchmarks/dhrystone/Makefile (revision 377171) @@ -1,43 +1,31 @@ # Created by: Radim Kolar # $FreeBSD$ PORTNAME= dhrystone PORTVERSION= 2.1 +PORTREVISION= 1 CATEGORIES= benchmarks -MASTER_SITES= ${MASTER_SITE_NETLIB} -MASTER_SITE_SUBDIR=benchmark +MASTER_SITES= NETLIB/benchmark DISTNAME= dhry-c EXTRACT_SUFX= MAINTAINER= hsn@sendmail.cz COMMENT= Computing benchmark for integer operations LICENSE= BSD2CLAUSE -EXTRACT_CMD= ${MKDIR} ${WRKSRC};cd ${WRKSRC} && ${SH} +EXTRACT_CMD= ${SH} +NO_WRKSUBDIR= yes PLIST_FILES= bin/dhry OPTIONS_DEFINE= DOCS -.include - -.if ${PORT_OPTIONS:MDOCS} PORTDOCS= RATIONALE submit.frm README_C VARIATIONS -.endif -do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -c dhry_1.c && \ - ${CC} ${CFLAGS} -c dhry_2.c && \ - ${CC} -o dhry *.o - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dhry ${STAGEDIR}${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} -.endfor -.endif + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include Index: head/benchmarks/dhrystone/files/patch-Makefile =================================================================== --- head/benchmarks/dhrystone/files/patch-Makefile (nonexistent) +++ head/benchmarks/dhrystone/files/patch-Makefile (revision 377171) @@ -0,0 +1,12 @@ +--- Makefile.orig 2015-01-16 10:40:03.233485586 +0000 ++++ Makefile 2015-01-16 10:50:21.034404184 +0000 +@@ -0,0 +1,9 @@ ++OBJ= dhry_1.o dhry_2.o ++ ++all: dhry ++ ++dhry: $(OBJ) ++ $(CC) $(LDFLAGS) $(OBJ) -o $@ ++ ++%.o: %.c ++ $(CC) -o $@ $< $(CFLAGS) Property changes on: head/benchmarks/dhrystone/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/benchmarks/dhrystone/pkg-descr =================================================================== --- head/benchmarks/dhrystone/pkg-descr (revision 377170) +++ head/benchmarks/dhrystone/pkg-descr (revision 377171) @@ -1,12 +1,10 @@ -Dhrystone benchmark - Dhrystone is a synthetic computing benchmark program developed in 1984 by Reinhold P. Weicker intended to be representative of system (integer) programming. The Dhrystone grew to become representative of general processor (CPU) performance. DMIPS value is result of dhrystone test divided by 1757, results are often -reported in DMIPS/Mhz. For more information, see -http://en.wikipedia.org/wiki/Dhrystone +reported in DMIPS/MHz. For more information, see +http://en.wikipedia.org/wiki/Dhrystone. WWW: http://www.netlib.org/benchmark/