From owner-svn-ports-all@FreeBSD.ORG Mon Nov 18 15:31:03 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 ESMTPS id 31028F64; Mon, 18 Nov 2013 15:31:03 +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 072DD221A; Mon, 18 Nov 2013 15:31:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAIFV2pq054939; Mon, 18 Nov 2013 15:31:02 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAIFV2lA054936; Mon, 18 Nov 2013 15:31:02 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311181531.rAIFV2lA054936@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Mon, 18 Nov 2013 15:31:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334209 - head/games/sxsame 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.16 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, 18 Nov 2013 15:31:03 -0000 Author: danilo Date: Mon Nov 18 15:31:02 2013 New Revision: 334209 URL: http://svnweb.freebsd.org/changeset/ports/334209 Log: - Add stage support Modified: head/games/sxsame/Makefile head/games/sxsame/pkg-plist Modified: head/games/sxsame/Makefile ============================================================================== --- head/games/sxsame/Makefile Mon Nov 18 15:13:06 2013 (r334208) +++ head/games/sxsame/Makefile Mon Nov 18 15:31:02 2013 (r334209) @@ -20,20 +20,16 @@ COMMENT= Tile-removing puzzle game for t USES= imake USE_XORG= xpm INSTALL_TARGET= install install.dir -BINOWN= root -BINGRP= games -BINMODE= 2755 -MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE} -NO_STAGE= yes -.include - -post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sxsame ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/sxsame + (cd ${WRKSRC}/contrib ; ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/X11/sxsame) + ${TOUCH} ${STAGEDIR}${PREFIX}/lib/X11/sxsame/hiscore + @${CHMOD} 664 ${STAGEDIR}${PREFIX}/lib/X11/sxsame/hiscore + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in INSTALL.jp README.jp - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include Modified: head/games/sxsame/pkg-plist ============================================================================== --- head/games/sxsame/pkg-plist Mon Nov 18 15:13:06 2013 (r334208) +++ head/games/sxsame/pkg-plist Mon Nov 18 15:31:02 2013 (r334209) @@ -1,4 +1,8 @@ +@group games +@mode 2755 bin/sxsame +@mode +@group lib/X11/sxsame/bomb/blun.xpm lib/X11/sxsame/bomb/blus.xpm lib/X11/sxsame/bomb/cyan.xpm @@ -28,6 +32,8 @@ lib/X11/sxsame/snake.bmp %%PORTDOCS%%%%DOCSDIR%%/INSTALL.jp %%PORTDOCS%%%%DOCSDIR%%/README.jp %%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry lib/X11/sxsame/mono1 +@dirrmtry lib/X11/sxsame/bomb +@dirrmtry lib/X11/sxsame @exec mkdir -p %D/lib/X11/sxsame -@exec chmod 2775 %D/lib/X11/sxsame -@unexec rm -rf %D/lib/X11/sxsame +@exec chmod 2775 %D/lib/X11/sxsame ; chown -R root:games %D/lib/X11/sxsame