Date: Sat, 5 Apr 2014 19:05:59 +0000 (UTC) From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350258 - head/benchmarks/scimark2 Message-ID: <201404051905.s35J5xGG036988@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thierry Date: Sat Apr 5 19:05:58 2014 New Revision: 350258 URL: http://svnweb.freebsd.org/changeset/ports/350258 QAT: https://qat.redports.org/buildarchive/r350258/ Log: Stagify. Modified: head/benchmarks/scimark2/Makefile Modified: head/benchmarks/scimark2/Makefile ============================================================================== --- head/benchmarks/scimark2/Makefile Sat Apr 5 18:41:33 2014 (r350257) +++ head/benchmarks/scimark2/Makefile Sat Apr 5 19:05:58 2014 (r350258) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404051905.s35J5xGG036988>