Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 16:47:56 +0000 (UTC)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328832 - head/games/xsoldier
Message-ID:  <201309301647.r8UGluFt088444@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309301647.r8UGluFt088444>