diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-21 14:28:04 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-08-21 14:28:04 +0000 |
commit | b2f60999b4ddd1a24a3527494b273bdd2d0ea429 (patch) | |
tree | 69c4dbc4e9506f1be3f9eb61bba62d85f784ad9b /benchmarks/scimark2 | |
parent | bf81bfacf5d4efc353e34e88c2c07aff91ae96e1 (diff) | |
download | ports-b2f60999b4ddd1a24a3527494b273bdd2d0ea429.tar.gz ports-b2f60999b4ddd1a24a3527494b273bdd2d0ea429.zip |
Notes
Diffstat (limited to 'benchmarks/scimark2')
-rw-r--r-- | benchmarks/scimark2/Makefile | 19 | ||||
-rw-r--r-- | benchmarks/scimark2/files/pkg-message.in | 9 |
2 files changed, 17 insertions, 11 deletions
diff --git a/benchmarks/scimark2/Makefile b/benchmarks/scimark2/Makefile index 86de039f9eae..042b4bd092aa 100644 --- a/benchmarks/scimark2/Makefile +++ b/benchmarks/scimark2/Makefile @@ -12,13 +12,14 @@ MASTER_SITES= http://math.nist.gov/scimark2/ PKGNAMESUFFIX= -java DISTNAME= ${PORTNAME}src -MAINTAINER= thierry@pompo.net +MAINTAINER= thierry@FreeBSD.org COMMENT= A Java benchmark for scientific and numerical computing WRKSRC= ${WRKDIR} USE_ZIP= yes -USE_JAVA= 1.2+ +USE_JAVA= yes +JAVA_VERSION= 1.2+ USE_JIKES= NO NEED_JAVAC= yes JAVAC_OPTS?= -O @@ -29,6 +30,7 @@ SMDIR= ${PREFIX}/${LSMDIR} SMSH= ${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB= SMDIR=${LSMDIR} +PKGMESSAGE= ${WRKSRC}/pkg-message do-build: cd ${WRKSRC} && ${JAVAC} ${JAVAC_OPTS} commandline.java @@ -36,20 +38,15 @@ do-build: do-install: @${MKDIR} ${SMDIR} - @${CP} -Rp ${WRKSRC}/jnt ${SMDIR} + @${CP} -R ${WRKSRC}/jnt ${SMDIR} @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${SMDIR} @${ECHO} "#!/bin/sh" > ${WRKSRC}/${SMSH} @${ECHO} "cd ${SMDIR} && ${JAVA} jnt.scimark2.commandline" '$$1' >> ${WRKSRC}/${SMSH} @${INSTALL_SCRIPT} ${WRKSRC}/${SMSH} ${PREFIX}/bin post-install: - @${ECHO} "*****************************************************************************" - @${ECHO} "" - @${ECHO} " Just run ${SMSH} or ${SMSH} -large" - @${ECHO} "" - @${ECHO} " The first SciMark number reported is the composite score, followed by the an" - @${ECHO} " approximate Mflop rate for each kernel." - @${ECHO} "" - @${ECHO} "*****************************************************************************" + @${SED} -e 's|%%SMSH%%|${SMSH}|g' ${FILESDIR}/pkg-message.in \ + > ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/benchmarks/scimark2/files/pkg-message.in b/benchmarks/scimark2/files/pkg-message.in new file mode 100644 index 000000000000..e79af7b87bde --- /dev/null +++ b/benchmarks/scimark2/files/pkg-message.in @@ -0,0 +1,9 @@ + +***************************************************************************** + + Just run %%SMSH%% or %%SMSH%% -large + The first SciMark number reported is the composite score, followed by the an + approximate Mflop rate for each kernel. + +***************************************************************************** + |