From owner-svn-ports-all@FreeBSD.ORG Mon Sep 30 16:47:57 2013 Return-Path: Delivered-To: svn-ports-all@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 ESMTP id 10257345; Mon, 30 Sep 2013 16:47:57 +0000 (UTC) (envelope-from naddy@FreeBSD.org) 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 F22FB24C7; Mon, 30 Sep 2013 16:47:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8UGluFN088446; Mon, 30 Sep 2013 16:47:56 GMT (envelope-from naddy@svn.freebsd.org) Received: (from naddy@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8UGluFt088444; Mon, 30 Sep 2013 16:47:56 GMT (envelope-from naddy@svn.freebsd.org) Message-Id: <201309301647.r8UGluFt088444@svn.freebsd.org> From: Christian Weisgerber Date: Mon, 30 Sep 2013 16:47:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328832 - head/games/xsoldier X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2013 16:47:57 -0000 Author: naddy Date: Mon Sep 30 16:47:56 2013 New Revision: 328832 URL: http://svnweb.freebsd.org/changeset/ports/328832 Log: Support staging. Modified: head/games/xsoldier/Makefile head/games/xsoldier/pkg-plist Modified: head/games/xsoldier/Makefile ============================================================================== --- head/games/xsoldier/Makefile Mon Sep 30 16:44:41 2013 (r328831) +++ head/games/xsoldier/Makefile Mon Sep 30 16:47:56 2013 (r328832) @@ -9,22 +9,18 @@ MASTER_SITES= http://www.interq.or.jp/li MAINTAINER= naddy@FreeBSD.org COMMENT= Space-based shoot-em up game for X11 +USE_XORG= x11 ice sm xpm GNU_CONFIGURE= yes CONFIGURE_ARGS= --localstatedir=/var MAKE_ARGS= CC_OPTIMIZE="${CFLAGS}" -USE_XORG= x11 ice sm xpm -MAN6= xsoldier.6 - SCOREFILE= /var/games/xsoldier.scores PLIST_SUB= SCOREFILE=${SCOREFILE} -NO_STAGE= yes +NEED_ROOT= yes + post-install: - ${CHGRP} games ${PREFIX}/bin/xsoldier - ${CHMOD} g+s ${PREFIX}/bin/xsoldier - ${CP} ${EXAMPLESDIR}/xsoldier.scores ${SCOREFILE} - ${CHGRP} games ${SCOREFILE} - ${CHMOD} 664 ${SCOREFILE} + ${CHGRP} games ${STAGEDIR}${PREFIX}/bin/xsoldier + ${CHMOD} g+s ${STAGEDIR}${PREFIX}/bin/xsoldier .include Modified: head/games/xsoldier/pkg-plist ============================================================================== --- head/games/xsoldier/pkg-plist Mon Sep 30 16:44:41 2013 (r328831) +++ head/games/xsoldier/pkg-plist Mon Sep 30 16:47:56 2013 (r328832) @@ -1,5 +1,6 @@ @comment $FreeBSD$ bin/xsoldier +man/man6/xsoldier.6.gz share/examples/xsoldier/xsoldier.scores @exec cp %D/share/examples/xsoldier/xsoldier.scores %%SCOREFILE%% && chgrp games %%SCOREFILE%% && chmod 664 %%SCOREFILE%% @unexec rm -f %%SCOREFILE%%