diff options
author | thierry <thierry@FreeBSD.org> | 2014-04-06 03:05:58 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2014-04-06 03:05:58 +0800 |
commit | 0d57fbcde48624a0310288d0d1031e707da13b49 (patch) | |
tree | 30a150a74c31092e7a9d7c48ad2ad7df5e7a5ff1 /benchmarks | |
parent | be6f961060bd7cd91ee35bc91f16d708cf193a5e (diff) | |
download | freebsd-ports-gnome-0d57fbcde48624a0310288d0d1031e707da13b49.tar.gz freebsd-ports-gnome-0d57fbcde48624a0310288d0d1031e707da13b49.tar.zst freebsd-ports-gnome-0d57fbcde48624a0310288d0d1031e707da13b49.zip |
Stagify.
Diffstat (limited to 'benchmarks')
-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> |