diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2014-04-05 19:05:58 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2014-04-05 19:05:58 +0000 |
commit | 3f57818e4e0dea78bd5ea8a62ee2377ba5816c3a (patch) | |
tree | 30a150a74c31092e7a9d7c48ad2ad7df5e7a5ff1 /benchmarks/scimark2 | |
parent | Deprecate: broken for more than 6 months (diff) |
Stagify.
Notes
Notes:
svn path=/head/; revision=350258
Diffstat (limited to 'benchmarks/scimark2')
-rw-r--r-- | benchmarks/scimark2/Makefile | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/benchmarks/scimark2/Makefile b/benchmarks/scimark2/Makefile index 00be7d1785ce..9a79167280da 100644 --- a/benchmarks/scimark2/Makefile +++ b/benchmarks/scimark2/Makefile @@ -26,24 +26,18 @@ SMDIR= ${PREFIX}/${LSMDIR} SMSH= ${PORTNAME}${PKGNAMESUFFIX} PLIST_SUB= SMDIR=${LSMDIR} -PKGMESSAGE= ${WRKSRC}/pkg-message +SUB_FILES= pkg-message +SUB_LIST= SMSH=${SMSH} -NO_STAGE= yes do-build: cd ${WRKSRC} && ${JAVAC} ${JAVAC_OPTS} commandline.java - @${CP} ${WRKSRC}/commandline.class ${WRKSRC}/jnt/scimark2 + ${CP} ${WRKSRC}/commandline.class ${WRKSRC}/jnt/scimark2 do-install: - @${MKDIR} ${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: - @${SED} -e 's|%%SMSH%%|${SMSH}|g' ${FILESDIR}/pkg-message.in \ - > ${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} + ${MKDIR} ${STAGEDIR}${SMDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} jnt ${STAGEDIR}${SMDIR}/ + ${ECHO_CMD} "#! /bin/sh" > ${WRKSRC}/${SMSH} + ${ECHO_CMD} "cd ${SMDIR} && ${JAVA} jnt.scimark2.commandline" '$$1' >> ${WRKSRC}/${SMSH} + ${INSTALL_SCRIPT} ${WRKSRC}/${SMSH} ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> |