From owner-svn-ports-head@FreeBSD.ORG Sat Apr 5 19:05:59 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 688D1DEA; Sat, 5 Apr 2014 19:05:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 553991B0; Sat, 5 Apr 2014 19:05:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s35J5xjR036989; Sat, 5 Apr 2014 19:05:59 GMT (envelope-from thierry@svn.freebsd.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s35J5xGG036988; Sat, 5 Apr 2014 19:05:59 GMT (envelope-from thierry@svn.freebsd.org) Message-Id: <201404051905.s35J5xGG036988@svn.freebsd.org> From: Thierry Thomas Date: Sat, 5 Apr 2014 19:05:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350258 - head/benchmarks/scimark2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 19:05:59 -0000 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