From owner-svn-ports-head@FreeBSD.ORG Fri Jan 17 19:54:15 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F75C817; Fri, 17 Jan 2014 19:54:15 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 616F614C8; Fri, 17 Jan 2014 19:54:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0HJsFnb050667; Fri, 17 Jan 2014 19:54:15 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0HJsEsg050664; Fri, 17 Jan 2014 19:54:14 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201401171954.s0HJsEsg050664@svn.freebsd.org> From: Marcus von Appen Date: Fri, 17 Jan 2014 19:54:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340098 - in head/games/rt2-demo: . files 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: Fri, 17 Jan 2014 19:54:15 -0000 Author: mva Date: Fri Jan 17 19:54:14 2014 New Revision: 340098 URL: http://svnweb.freebsd.org/changeset/ports/340098 QAT: https://qat.redports.org/buildarchive/r340098/ Log: - Enable stagedir support Modified: head/games/rt2-demo/Makefile (contents, props changed) head/games/rt2-demo/files/do-install (contents, props changed) head/games/rt2-demo/pkg-plist (contents, props changed) Modified: head/games/rt2-demo/Makefile ============================================================================== --- head/games/rt2-demo/Makefile Fri Jan 17 19:48:56 2014 (r340097) +++ head/games/rt2-demo/Makefile Fri Jan 17 19:54:14 2014 (r340098) @@ -17,8 +17,7 @@ NO_WRKSUBDIR= yes NO_BUILD= yes USE_LINUX= yes -NO_STAGE= yes do-install: - @${SH} ${FILESDIR}/do-install ${PREFIX} ${DISTDIR} + @${SH} ${FILESDIR}/do-install ${STAGEDIR} ${PREFIX} ${DISTDIR} .include Modified: head/games/rt2-demo/files/do-install ============================================================================== --- head/games/rt2-demo/files/do-install Fri Jan 17 19:48:56 2014 (r340097) +++ head/games/rt2-demo/files/do-install Fri Jan 17 19:54:14 2014 (r340098) @@ -1,17 +1,18 @@ #!/bin/sh PATH=/bin:/usr/bin -PREFIX=$1 -DISTDIR=$2 -BINDIR=${PREFIX}/bin -LIBDIR=${PREFIX}/lib/rt2_demo +DESTDIR=$1 +PREFIX=$2 +DISTDIR=$3 +BINDIR=bin +LIBDIR=lib/rt2_demo set -e -mkdir -p ${LIBDIR}/ +mkdir -p ${DESTDIR}${PREFIX}/${LIBDIR}/ SKIP=`strings ${DISTDIR}/rt2-demo.run | head -10 | grep ^skip= | cut -d= -f2` tail +$SKIP ${DISTDIR}/rt2-demo.run | \ - tar -C ${LIBDIR}/ -xz -f - --exclude rt2_demo --exclude rt2_demo.ppc + tar -C ${DESTDIR}${PREFIX}/${LIBDIR}/ -xz -f - --exclude rt2_demo --exclude rt2_demo.ppc -brandelf -t Linux ${LIBDIR}/rt2_demo.x86 -ln -sf ${LIBDIR}/rt2_demo.x86 ${BINDIR}/rt2_demo +brandelf -t Linux ${DESTDIR}${PREFIX}/${LIBDIR}/rt2_demo.x86 +ln -sf ${PREFIX}/${LIBDIR}/rt2_demo.x86 ${DESTDIR}${PREFIX}/${BINDIR}/rt2_demo Modified: head/games/rt2-demo/pkg-plist ============================================================================== --- head/games/rt2-demo/pkg-plist Fri Jan 17 19:48:56 2014 (r340097) +++ head/games/rt2-demo/pkg-plist Fri Jan 17 19:54:14 2014 (r340098) @@ -1,3 +1,4 @@ +bin/rt2_demo lib/rt2_demo/Manual/Imagesm/C101_raise_lower.jpg lib/rt2_demo/Manual/Imagesm/C102_paint_terrain.jpg lib/rt2_demo/Manual/Imagesm/C103_fill_terrain.jpg